Open LRW-Adolph opened 3 years ago
When I Inject forza horizon 4 the game crash?
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.
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).
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 https://github.com/araghon007/X1nput/issues/30#issuecomment-1053622914, 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? edit. I managed to inject the 3.1 dll without game crash using illegal things however still issue is the same as with the 2.0 version so no separate rumble for triggers
When I Inject forza horizon 4 the game crash?