On Sat Mar 28 01:36:30 2026 +0000, Brandow wrote:
Testing on commit `a31ec8da` confirms that the version resource heuristics are working as expected. I am now able to load a native `dinput8.dll` (ASI loader) without manual overrides. This commit causes a regression with Lethal Company when BepInEx is installed. The winmm.dll placed in the game directory gets picked up by the heuristic and results in "RegOpenKeyExW failed. Function result: 2 Error code 0" on startup.
`WINEDLLOVERRIDES="winmm=b"` works around the crash, but breaks BepInEx ingame since it relies on the native winmm.dll as its mod loader entry point. BepInEx also uses a native `winhttp.dll `as an entry point, but no regression was observed with this commit on that one. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6527#note_134231