http://bugs.winehq.org/show_bug.cgi?id=24725
Summary: King's Bounty fails to start Product: Wine Version: 1.3.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: xvachon@gmail.com
Created an attachment (id=31236) --> (http://bugs.winehq.org/attachment.cgi?id=31236) log +d3dx,+d3d
King's Bounty v1.7 fails to start and provides the following crash message:
".\BMRender\rmode.cpp(5151): DirectX call failed: -1, -1 code=0x80004001 (-2147467263)"
"sh winetricks d3dx9" is a workaround.
The log had lines about d3dx and d3d, hence I produced a new one with +d3dx,+d3d and tagged the component as d3d. Tell me if what I brought up is relevant, and if you need anything else, what channels would you need.
http://bugs.winehq.org/show_bug.cgi?id=24725
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com 2010-10-12 17:47:13 CDT --- This is very likely caused by:
fixme:d3dx:D3DXFilterTexture Implement volume and cube texture filtering
So the correct component is directx-d3dx9 (BTW, whenever "winetricks d3dx9" fixes a bug, you can be pretty sure d3dx9 is the culprit).
http://bugs.winehq.org/show_bug.cgi?id=24725
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org Component|directx-d3d |directx-d3dx9
http://bugs.winehq.org/show_bug.cgi?id=24725
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2010-10-13 09:53:23 CDT --- The same affects the sequel: King's Bounty-Armored Princess. A native d3dx9_36.dll, placed into the game's directory is sufficient to start the game properly.
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com 2010-10-13 10:15:22 CDT --- Created an attachment (id=31248) --> (http://bugs.winehq.org/attachment.cgi?id=31248) D3DXFilterTexture cube texture filtering
This patch makes the game go a bit further, just to exit with:
fixme:d3dx:D3DXGetImageInfoFromFileInMemory (0x69cf8d0, 1152, 0x33f5e8): partially implemented ... warn:wincodecs:ImagingFactory_CreateDecoderFromStream first 4 bytes of stream=44 44 53 20 ... fixme:d3dx:D3DXGetImageInfoFromFileInMemory Invalid or unsupported image file
which means DDS file support is the next issue. BTW, I tested this patch with the demo version of King's Bounty: The Legend.
http://bugs.winehq.org/show_bug.cgi?id=24725
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|King's Bounty fails to |King's Bounty needs |start |d3dx9_36
--- Comment #4 from Xavier Vachon xvachon@gmail.com 2010-10-27 23:48:28 CDT --- (In reply to comment #3)
Created an attachment (id=31248)
--> (http://bugs.winehq.org/attachment.cgi?id=31248) [details]
D3DXFilterTexture cube texture filtering
This patch makes the game go a bit further, just to exit with:
fixme:d3dx:D3DXGetImageInfoFromFileInMemory (0x69cf8d0, 1152, 0x33f5e8): partially implemented ... warn:wincodecs:ImagingFactory_CreateDecoderFromStream first 4 bytes of stream=44 44 53 20 ... fixme:d3dx:D3DXGetImageInfoFromFileInMemory Invalid or unsupported image file
which means DDS file support is the next issue. BTW, I tested this patch with the demo version of King's Bounty: The Legend.
Sweet. Let me know when the solution is ready to be tested. I can test this with the original game and its expansions.
http://bugs.winehq.org/show_bug.cgi?id=24725
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2011-01-11 14:06:15 CST --- Children of the nile demo needs DDS support too.
http://bugs.winehq.org/show_bug.cgi?id=24725
Andrew Millington andrew.millington@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.millington@gmail.com
--- Comment #6 from Andrew Millington andrew.millington@gmail.com 2011-03-09 00:51:11 CST --- KarBOOM has similar problem. http://sites.google.com/site/jibbsmart/karboom
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #7 from Artem S. Tashkinov t.artem@mailcity.com 2011-03-20 12:27:11 CDT --- I can confirm that KB:AP crashes when running with built-in d3dx9_36.dll.
It works (mostly) fine (albeit very slowly) with native d3dx9_36.dll.
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2011-04-25 18:48:00 CDT --- duplicate of bug 23356
http://bugs.winehq.org/show_bug.cgi?id=24725
runetmember@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |runetmember@gmail.com
--- Comment #9 from runetmember@gmail.com 2011-08-12 08:18:36 CDT --- WINE 1.3.26, still issue.
http://bugs.winehq.org/show_bug.cgi?id=24725
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #10 from Alexey Loukianov mooroon2@mail.ru 2011-09-10 17:48:40 CDT --- Bug still present with 1.3.28. Simply placing native d3dx9_36.dll into the game folder workarounds the problem. Winetricks d3dx9_36 works as well.
http://bugs.winehq.org/show_bug.cgi?id=24725
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from Alexey Loukianov mooroon2@mail.ru 2011-09-10 17:48:58 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #12 from Alexey Loukianov mooroon2@mail.ru 2011-09-22 19:28:44 CDT --- Had tested with todays git, still present. Actually the game wants d3dx9_33.dll and not d3dx9_36.dll, it is Wine's native implementation of d3dx9_33 that is de-facto wrapper for d3dx9_36. As it had been already reported crash happens on call to D3DXGetImageInfoFromFileInMemory over DDS texture file (textures.kfs is the ZIP archive the game stores textures at - looking inside it shows that about half of the game textures are in DDS format) which can't be handled by current Wine's D3D implementation.
http://bugs.winehq.org/show_bug.cgi?id=24725
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #13 from Józef Kucia joseph.kucia@gmail.com 2012-05-22 06:44:18 CDT --- http://source.winehq.org/patches/data/86488
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #14 from Józef Kucia joseph.kucia@gmail.com 2012-05-22 14:55:28 CDT --- Fixed by commit http://source.winehq.org/git/wine.git/commit/cd4b973d59f4d94c89b49805a73dbad...
http://bugs.winehq.org/show_bug.cgi?id=24725
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |wylda@volny.cz Resolution| |FIXED
--- Comment #15 from Wylda wylda@volny.cz 2012-05-22 22:05:59 CDT ---
Reported fixed :)
http://bugs.winehq.org/show_bug.cgi?id=24725
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cd4b973d59f4d94c89b49805a73 | |dbad4c807ca4c
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #16 from Alexey Loukianov mooroon2@mail.ru 2012-05-24 01:10:47 CDT --- I wouldn't call this one fixes, as game still needs native DLL to run properly. GetImageInfo for DDS support had been implemented, yeah, and it fixed part of this bug. What we face now is same error as in #23706 about game crashing on call to unimplemented func in d3dx9_36.dll (D3DXSaveSurfaceToFileInMemory).
I.e. is this bug is a generic about "game needs native DLL" - it shoudl be reopened. If no - it should be renamed to something like "KD crashes due to non-implemented DDS support" and left as RESOLVED FIXED.
http://bugs.winehq.org/show_bug.cgi?id=24725
--- Comment #17 from Austin English austinenglish@gmail.com 2012-05-24 01:17:51 CDT --- (In reply to comment #16)
I wouldn't call this one fixes, as game still needs native DLL to run properly. GetImageInfo for DDS support had been implemented, yeah, and it fixed part of this bug. What we face now is same error as in #23706 about game crashing on call to unimplemented func in d3dx9_36.dll (D3DXSaveSurfaceToFileInMemory).
I.e. is this bug is a generic about "game needs native DLL" - it shoudl be reopened. If no - it should be renamed to something like "KD crashes due to non-implemented DDS support" and left as RESOLVED FIXED.
This particular bug is fixed, d3dx9 has plenty of specific bugs, so please follow bug 23706 next :)
http://bugs.winehq.org/show_bug.cgi?id=24725
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|King's Bounty needs |King's Bounty needs DDS |d3dx9_36 |support
http://bugs.winehq.org/show_bug.cgi?id=24725
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2012-05-25 13:43:28 CDT --- Closing bugs fixed in 1.5.5.