https://bugs.winehq.org/show_bug.cgi?id=43190
Bug ID: 43190 Summary: Inconsistent behavior when removing dll overrides Product: Wine Version: 2.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Found when debugging Bug 43180, look there for a download link.
I have a game that needs a lot of dll overrides. Now, I was used to the fact that removing a dll override tells wine to use the builtin dll. In the case of d3drm, it doesn't though. I tested it like this:
game crashes due to broken directmusic
winetricks gmdls directmusic
game crashes due to broken d3drm
winetricks d3drm
game works now
winecfg -> remove d3drm dll override
game still works (why?)
winecfg -> remove directmusic dll overrides
game crashes due to broken directmusic
Note that when I set d3drm to builtin instead of removing the dll override, it crashes like expected.
I assume it shouldn't load the native dll without override, but I didn't really find documentation on that.
https://bugs.winehq.org/show_bug.cgi?id=43190
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID CC| |joseph.kucia@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- Native d3drm.dll is preferred. See DllMain() in dlls/d3drm/d3drm_main.c
https://bugs.winehq.org/show_bug.cgi?id=43190
--- Comment #2 from Fabian Maurer dark.shadow4@web.de ---
Native d3drm.dll is preferred. See DllMain() in dlls/d3drm/d3drm_main.c
I see. What's the reason behind this exception?
https://bugs.winehq.org/show_bug.cgi?id=43190
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Fabian Maurer from comment #2)
Native d3drm.dll is preferred. See DllMain() in dlls/d3drm/d3drm_main.c
I see. What's the reason behind this exception?
Generally it means that the builtin library isn't quite feature complete or otherwise up to the task.
There are more that do the same (e.g. d3dx9, d3dcompiler, dmusic, ...) and ideally they would switch to preferring builtin when they become good enough.
https://bugs.winehq.org/show_bug.cgi?id=43190
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.