geeky / dinput8wrapper

This is a DirectInput 8 (dinput8.dll) Wrapper, which internally uses Raw-Input instead of DirectInput
MIT License
42 stars 6 forks source link

[Request] Basic ASI/DLL loading? #5

Open cammy8580 opened 1 year ago

cammy8580 commented 1 year ago

Kane & Lynch Dead Men has an FOV fix in the form of an ASI, but the thing is, you cannot use it with this fix due to a conflict in the dinput8 file. If ASI loading was added, it could allow you to use said fix with the game, but its up to you.

geeky commented 12 months ago

It should be possible to take the "dinput8.dll" from https://github.com/ThirteenAG/Ultimate-ASI-Loader/ and rename it to "dsound.dll" before placing it as "dsound.dll" into the Kane&Lynch folder and you should be able to use dinput8.dll from here in parallel. kaneandlynch.exe should try to load both dinput8.dll and dsound.dll and the entry-point of the ASI-Loader should trigger.

Norok-The-Diablo commented 1 month ago

I know it's a year late, but I ended up naming this fix dinput8Hooked.dll and setting up Ultimate ASI Loader as usual. As it says on the Ultimate ASI Loader release page: "It is possible(and sometimes necessary) to load the original(or another) dll by renaming it to Hooked.dll, e.g. d3d12Hooked.dll. With binkw32.dll and vorbisFile.dll it is optional and you can simply replace the dll. Always make a backup before replacing any files."

Hope this helps

andlindt commented 6 days ago

I know it's a year late, but I ended up naming this fix dinput8Hooked.dll and setting up Ultimate ASI Loader as usual. As it says on the Ultimate ASI Loader release page: "It is possible(and sometimes necessary) to load the original(or another) dll by renaming it to Hooked.dll, e.g. d3d12Hooked.dll. With binkw32.dll and vorbisFile.dll it is optional and you can simply replace the dll. Always make a backup before replacing any files."

Hope this helps

I did that, but it doesn't work. I'm just using this fix then. FOV-thingy isn't that bad.