-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I Inject forza horizon 4 the game crash? #30
Comments
Forza Horizon 4, like many Microsoft Store games, makes use of Arxan Anti-Tamper DRM, which will not allow any injections (namely, games using it will crash if an injection is detected). Besides, Forza Horizon 4 already includes support for Impulse Triggers, so using X1nput with the game is not needed. |
Oh, thanks. I remember also trying it because of some other issue someone reported and I was wondering why it was crashing. I assumed it had some anti-tamper stuff, but wasn't sure what exactly. I think I managed to get it working by just copying the X1nput DLL into the game's directory and renaming it to one of the XAudio versions, but I can't remember which one. Has to be XAudio, since only one XInput DLL is loaded, and the way this code works, it requires a real XInput DLL to be loaded. Just check which DLLs get loaded by the game, and try renaming the X1nput DLL to one of them. I was thinking to doing this automatically as a way to allow automatically running it when you start the game, but I'm not sure what the best way would be. I could either create a sort of redirect thing, where XInput calls get redirected to a real XInput DLL and also keep the detour stuff, since that would be the easiest, or rewrite the XInput DLL from scratch, which would be way harder as I wasn't able to find any code for it, plus I don't think I'd be able to send a HID report as easily as I can now, because handles and stuff. |
FH4 natively supports impulse triggers, it doesn't require this tool. |
It only natively supports them only on the UWP version, doesn't it? |
Yes, it does support them natively on the Microsoft Store version.
…On Sun, Feb 27, 2022 at 6:27 PM araghon007 ***@***.***> wrote:
It only natively supports them only on the UWP version, doesn't it?
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWP3G2AEC7UFNRMXGRTB6BLU5JNI5ANCNFSM5HPFZFSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Right, but not the Steam version, which is what I assumed was talked about here, since to my knowledge it's pretty hard to even try to inject anything into UWP apps |
it natively uses them on both versions. |
Are you 100% sure? From what I've tested about a year ago, they didn't work. |
Still doesn't support impulse trigger on steam version, and apparently they're not gonna fix it. Add this in fh5 however. |
2.0 version works but copies rumble from gamepad to triggers. they aren't separate. anything above 2.0 crashes the game. is there anything that can be done? |
When I Inject forza horizon 4 the game crash?
The text was updated successfully, but these errors were encountered: