http://bugs.winehq.org/show_bug.cgi?id=31749
Bug #: 31749 Summary: King's Bounty: The Legend crashes when the spell "Poison Skull" is cast in combat Product: Wine Version: 1.5.13 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: juupelipeijakas+bugs.winehq@gmail.com Classification: Unclassified
Created attachment 41753 --> http://bugs.winehq.org/attachment.cgi?id=41753 Savegame to reproduce the crash
Steps to reproduce:
1. Download and install the demo from: http://www.gamershell.com/download_32652.shtml 2. Change to the game directory (containing kb.exe) and do: mkdir $save 3. Put the attached kb_crash.sav savefile to the $save directory 4. Run the game with "wine kb.exe", click "Load" and select the save from previous step. Left click on the nearby enemy unit to start combat. 5. Hit the 'b' key to cast a spell, click on the green skull image (Poison Skull), click on an enemy unit to target it.
The game crashes displaying an error box with the following message:
.\BMRender\rmode.cpp(3972): DirectX call failed: 64, 64 code=0x80004001 (-2147467263)
Workaround: "winetricks d3dx9"
I discovered the crash with the KB:TL bought from gog.com. Symptoms and workaround are identical except that the error message refers to rmode.cpp(3987).
Except for this crash, the game appears to run fine on plain wine 1.5.13.
http://bugs.winehq.org/show_bug.cgi?id=31749
--- Comment #1 from Juupeli juupelipeijakas+bugs.winehq@gmail.com 2012-09-20 13:19:16 CDT --- Created attachment 41755 --> http://bugs.winehq.org/attachment.cgi?id=41755 wine output when reproducing the crash
From the wine stderr, the culprit appears to be
fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Generation of mipmaps for compressed pixel formats is not implemented yet fixme:d3dx:D3DXLoadSurfaceFromMemory Format conversion missing 0x31545844 -> 0x31545844
http://bugs.winehq.org/show_bug.cgi?id=31749
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2012-09-20 14:50:17 CDT --- What video card and driver are you using?
I can't reproduce the crash here with a Nvidia 250 card and the proprietary driver 304.37 installed on Fedora 17.
fixme:d3dx:D3DXLoadSurfaceFromMemory Format conversion missing 0x31545844 ->
0x31545844 ^this line is not present in the terminal on my system. A +d3dx debug log would probably be helpful.
http://bugs.winehq.org/show_bug.cgi?id=31749
--- Comment #3 from Juupeli juupelipeijakas+bugs.winehq@gmail.com 2012-09-20 19:07:57 CDT --- Created attachment 41763 --> http://bugs.winehq.org/attachment.cgi?id=41763 first 4500 and last 500 lines from the +d3dx debug log
My video card is Nvidia GeForce GT 520 with the proprietary driver 295.71. The game won't run with nouveau driver (yet).
http://bugs.winehq.org/show_bug.cgi?id=31749
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.gamershell.com/d | |ownload_32652.shtml CC| |wine-bugs@winehq.org Component|-unknown |directx-d3dx9
http://bugs.winehq.org/show_bug.cgi?id=31749
--- Comment #4 from GyB gyebro69@gmail.com 2013-01-05 10:44:54 CST --- Is this still an issue with Wine 1.5.21 (or newer)? As far as I see the King's Bounty games run fine with the built-in d3dx libraries in recent Wine versions.
http://bugs.winehq.org/show_bug.cgi?id=31749
--- Comment #5 from Juupeli juupelipeijakas+bugs.winehq@gmail.com 2013-01-07 09:40:35 CST --- Haven't tried 1.5.21 yet, but I'm happy to report that I can no longer reproduce the crash with clean Wine 1.5.17. The nvidia video driver has also upgraded to 304.64. If memory serves, however, that alone didn't resolve the issue for the originally reported Wine version.
If so desired, I can test with a newer Wine later.
http://bugs.winehq.org/show_bug.cgi?id=31749
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Austin English austinenglish@gmail.com 2013-01-08 17:16:07 CST --- (In reply to comment #5)
Haven't tried 1.5.21 yet, but I'm happy to report that I can no longer reproduce the crash with clean Wine 1.5.17. The nvidia video driver has also upgraded to 304.64. If memory serves, however, that alone didn't resolve the issue for the originally reported Wine version.
If so desired, I can test with a newer Wine later.
Fixed.
http://bugs.winehq.org/show_bug.cgi?id=31749
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2013-01-18 14:56:37 CST --- Closing bugs fixed in 1.5.22.
http://bugs.winehq.org/show_bug.cgi?id=31749
aliengooberking@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aliengooberking@yahoo.com
--- Comment #8 from aliengooberking@yahoo.com 2013-01-20 09:50:18 CST --- As of wine 1.5.22 I still have this issue. It is identical in every respect to this bug report(same cause and error messages) and is 100% reproducible on my machine. The fix is also the same, install DircetX9 and the problem goes away.
I used both the 32 and 64-bit builds via Play on Linux with the same results.
http://bugs.winehq.org/show_bug.cgi?id=31749
--- Comment #9 from GyB gyebro69@gmail.com 2013-01-20 12:39:35 CST --- (In reply to comment #8)
As of wine 1.5.22 I still have this issue. It is identical in every respect to this bug report(same cause and error messages) and is 100% reproducible on my machine. The fix is also the same, install DircetX9 and the problem goes away.
I used both the 32 and 64-bit builds via Play on Linux with the same results.
Please open a new bug report about the problem as this one has been closed. But first try the game with pure Wine as PoL is not supported here.