rebtd7 / FF13Fix

Performance and bug fixes for the PC versions of FF13 and FF13-2
GNU General Public License v3.0
329 stars 22 forks source link

Use dinput8.dll to prevent crashes with new Steam update #103

Open Nucleoprotein opened 1 year ago

Nucleoprotein commented 1 year ago

Hello @rebtd7

New Steam update seems to cause crashes when using d3d9.dll, i need to debug this deeper but workaround for now is to just use dinput8.dll as it seems to work fine and we can use both same time and just rename dll file if needed as my multiwrapper idea i have used in OneTweakNG solves this. Yes - we will loose dxvk and reshade when using as dinput8.dll but... it works, for now.

PS: it seems now Steam GameOverlayRenderer.dll is loaded even if overlay is disabled in game properties...

Surihix commented 1 year ago

Hi, could you elaborate a bit on the crashing part ? Does the game crash randomly with latest d3d9.dll based version or is it a crash as soon as the game is launched with this version of the dll ?

Nucleoprotein commented 1 year ago

Random at launch. It seems some people already reported this in issues.

Surihix commented 1 year ago

This is quite worrying. I wonder what steam did on their end to cause this dll from suddenly working.

Also naming it to dinput8.dll might interfere with the hooking based layerdFS dll that we use in the modding community to sideload in loose game files. is there any other name that you guys can use instead of dinput8.dll ?

Nucleoprotein commented 1 year ago

Its because GameOverlayRenderer.dll is hooking same thing "we" are. We can use chainload like we done with dxvk/reshade.