CookiePLMonster / DXHRDC-GFX

A plugin for Deus Ex: Human Revolution Director's Cut, restoring the gold filter, post processing and shading from the original Deus Ex: Human Revolution
MIT License
104 stars 7 forks source link

Mod suddenly stopped working #14

Open MrHowlett opened 2 years ago

MrHowlett commented 2 years ago

I downloaded and extracted the files to the game folder as instructed and everything worked perfectly. After 4 days I came back to the game and suddenly the mod stopped working. The option to disable full screen optimizations is unchecked at the DXHRDC.exe, DirectX 11 is enabled in the game menu, not using any other mod besides DXHRDC-GFX and I am not using MSI Afterburner or RivaTuner. I've completely uninstalled the game, deleted the game registry, re-installed the game and mod and it's still not working. Nothing happens when I press F11 as it used to work before... :(

OS: Windows 10 Home x64 Build 19044.1348 GTX 1660 SUPER (Driver 497.09) Ryzen 5 3600 16GB DDR4 (2x8) 3600Mhz

CookiePLMonster commented 2 years ago

I was going to suggest FS optimizations but I see you already checked that - it's odd, I have no other ideas as to why it'd break. Is it possible for you to check if the ASI is even loaded in the game, either with a debugger or Process Explorer?

MrHowlett commented 2 years ago

Yea, it's possible. I just don't know how to check so maybe I need a little help with this.

CookiePLMonster commented 2 years ago

With Process Explorer (downloadable from sysinternals) you can find the game process much like in Task Manager, and then pressing Ctrl+D will bring up a DLLs view, so you can check if the mod's ASI is on that list: image

MrHowlett commented 2 years ago

Just checked here and theres no DXHRDC-GFX.asi in the list. I've tried also turning off Windows Defender real-time protection but still same... Screenshot .

CookiePLMonster commented 2 years ago

I see - what about winmm.dll? There should be two loaded - one from system32, one from the game directory.

MrHowlett commented 2 years ago

Theres only one winmm.dll being loaded and is the one from the SysWOW64 folder. Screenshot

CookiePLMonster commented 2 years ago

In that case this is the issue - you can check if it helps if you rename winmm.dll in the game directory to wininet.dll or version.dll. IIRC one of those is supported by the ASI Loader too.

MrHowlett commented 2 years ago

Renaming to wininet.dll made it to work again, thanks! Now I'm trying to find out why the mod was working with winmm.dll and stopped working a couple of days later.

CookiePLMonster commented 2 years ago

Please let me know if you find out! I have similar issues with winmm.dll with Far Cry and I've been unable to reproduce them, so it'd be good to know what can interfere.

Cimmerian-Iter commented 3 months ago

Hello, does this work on linux?

I have tried to use winmm.dll, wininet.dll and version.dll but neither of those 3 actually display the in game config pannel.

Is there any way I can debug this? Thanks

CookiePLMonster commented 3 months ago

It should work - but you need to follow some extra steps as outlined HERE.

Cimmerian-Iter commented 2 months ago

Thank you it works perfectly