https://bugs.winehq.org/show_bug.cgi?id=42919
Bug ID: 42919 Summary: Witcher Enhanced Edition Director's Cut crashes (purist) Product: Wine Version: 2.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
Created attachment 58062 --> https://bugs.winehq.org/attachment.cgi?id=58062 console log from wine-2.7
This used to be tracked in bug 25857, which is closed now. Game works fine, when d3dx9_35.dll is set to native.
In case d3dx9_35.dll is set to builtin in wine-2.7, lengthy intro works OK now, menu and menu's background images are also OK, but when entering game's world, Witcher crashes.
https://bugs.winehq.org/show_bug.cgi?id=42919
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian CC| |gofmanp@gmail.com
--- Comment #1 from Wylda wylda@volny.cz --- Filling some fields...
https://bugs.winehq.org/show_bug.cgi?id=42919
--- Comment #2 from Paul Gofman gofmanp@gmail.com --- Created attachment 58066 --> https://bugs.winehq.org/attachment.cgi?id=58066 Patch to implement strings setting in effects.
The log immediately shows 2 FIXMEs which potentially can be related: - unimplemented d3dx9_base_effect_set_string; - unsupported DXTn formats which causes failure in texture creation.
I am attaching a patch adding SetString support, is it possible to test with it if it makes any difference? Did you try to run it with Wine Staging (which has DXTn formats support)?
https://bugs.winehq.org/show_bug.cgi?id=42919
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #3 from Wylda wylda@volny.cz ---
Woo–hoo! You fix it :-))
Staging itself crashes the same way. I applied your patch on top of wine-staging-v2.7 and i was able to get into game a play it.
If it won't be polished till next Friday (release day) - any chance to let it bake in staging for easier testing?
Thank you!
https://bugs.winehq.org/show_bug.cgi?id=42919
--- Comment #4 from Paul Gofman gofmanp@gmail.com --- Thanks for testing it.
It is a straightforward and simple fix (apart from I managed to make it a bit buggy in this quick test patch), so I hope to suggest it (fixed) upstream somewhere soon. I just wanted to send a few other things first, like d3dx9_get_pass_desc shader returns which pops through a few bugs, they can't go all at once.
https://bugs.winehq.org/show_bug.cgi?id=42919
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #5 from winetest@luukku.com --- https://source.winehq.org/git/wine.git/commit/d1ac3b8e726d22bb842e6efedef03f...
https://bugs.winehq.org/show_bug.cgi?id=42919
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |d1ac3b8e726d22bb842e6efedef | |03f1cce4bee10
--- Comment #6 from Wylda wylda@volny.cz --- Thank you!
https://bugs.winehq.org/show_bug.cgi?id=42919
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.8.