master131 / ExtremeInjector

763 stars 175 forks source link

Alternative way to use ExtremeInjector #42

Open luca2125 opened 4 years ago

luca2125 commented 4 years ago

Hi,

I like to add the force feedback to a game that not support it.

I ask if theorically is possible proceed in this way:

1) Attach my DLL that contain the ffb code to game exe with ExtremeInjector. 2) Disassembly the exe (with IDA for example) and find the point that need the FFB. 3) Call my function stored inside my dll (ex. execute_ffb).

In short I like to know if with ExtremeInjector is possible call in assembly a function from an external dll.

thanks !

pythonmcpi commented 3 years ago

As far as I know, Extreme Injector only injects a DLL and calls the entry function. If you need to make the game call a function in the DLL, maybe you could try using Cheat Engine to add the assembly. However, the function called could mess with the registers and cause a crash.