http://bugs.winehq.org/show_bug.cgi?id=35213
Bug ID: 35213 Summary: Kane & Lynch: Dead Men demo needs native d3dx9_31 Product: Wine Version: 1.7.9 Hardware: x86 URL: http://www.gamefront.com/files/9394790/Kane___Lynch__D ead_Men_Demo OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com CC: wine-bugs@winehq.org Classification: Unclassified
First d3dx9_36 should be installed. Demo crashes with fixme:d3dx:D3DXCreateEffectEx (0x20f000, 0x1e71cb58, 45008, (nil), (nil), (nil), 0x10900, 0x1685a8, 0x1a99cf4, 0x1a99cec): semi-stub
after the same issue as for bug 35137, but this time should be d3dx9_31.
http://bugs.winehq.org/show_bug.cgi?id=35213
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=35213
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #1 from Jarkko K jarkko_korpi@hotmail.com --- I can confirm that it crashes 1.7.16, but didn't figure out yet what it needs to prevent crash.
All I have done so far --> crash.
I tried to override those libraries.
https://bugs.winehq.org/show_bug.cgi?id=35213
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Kane & Lynch: Dead Men demo |Kane & Lynch: Dead Men demo |needs native d3dx9_31 |needs native d3dx9_36
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- On 1.7.34 launches but hangs before entering the main menu with: fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported fixme:d3dx:d3dx9_effect_compiler_init Failed to parse effect, hr 0x8876086c.
Maybe something similar as bug 37676.
https://bugs.winehq.org/show_bug.cgi?id=35213
nallekarhu_80@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nallekarhu_80@luukku.com
--- Comment #3 from nallekarhu_80@luukku.com --- I started the demo with no overrides and played it shortly.
Then I set all dlls builtin via winetricks and retry.
it goes in a loop of spamming
fixme:d3dx:ID3DXEffectImpl_CommitChanges (0x12c2fbc8)->(): stub
It doesnt seem to go nowhere from that point. No crash but this definitely needs something fixed.
It shows a movie clip, but never has access to the game menu.
wine-1.7.47-196-g4e6e9a1
https://bugs.winehq.org/show_bug.cgi?id=35213
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Kane & Lynch: Dead Men demo |Kane & Lynch: Dead Men demo |needs native d3dx9_36 |needs native d3dx9_31 and | |d3dx9_34
https://bugs.winehq.org/show_bug.cgi?id=35213
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- I didnt test but, bug 25857 and bug 37676 most likely are related.
https://bugs.winehq.org/show_bug.cgi?id=35213
--- Comment #5 from Andrey Gusev andrey.goosev@gmail.com --- Created attachment 60751 --> https://bugs.winehq.org/attachment.cgi?id=60751 +d3dx
wine-3.3-235-g1c8c9308e7
https://bugs.winehq.org/show_bug.cgi?id=35213
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Andrey Gusev from comment #5)
Created attachment 60751 [details] +d3dx
wine-3.3-235-g1c8c9308e7
So, this is with builtin d3dx9 but native d3dcompiler_43.dll. Effect compilation still fails:
0030:trace:d3dx:d3dx9_base_effect_init HLSL ASCII effect, trying to compile it. 0030:warn:d3dx:d3dx9_base_effect_init Failed to compile ASCII effect. ... 0030:trace:d3dx:d3dx9_base_effect_init "(93,11): error X3003: redefinition of 'Ambient_Sprites_VS11_PS11'"
D3DCompile() should have been invoked with the D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag, given the d3dx9 versions mentioned in the bug subject. This probably means that it's not enough and the d3dcompiler_43.dll effect compiler is just incompatible with those older effects :/
I'll probably try to have a look myself at some point. The current URL does not work, does https://www.fileplanet.com/183621/180000/fileinfo/Kane-and-Lynch-Demo reproduce the issue?
https://bugs.winehq.org/show_bug.cgi?id=35213
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamefront.com/fi |https://www.fileplanet.com/ |les/9394790/Kane___Lynch__D |183621/180000/fileinfo/Kane |ead_Men_Demo |-and-Lynch-Demo
https://bugs.winehq.org/show_bug.cgi?id=35213
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es
https://bugs.winehq.org/show_bug.cgi?id=35213
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.fileplanet.com/ |https://web.archive.org/web |183621/180000/fileinfo/Kane |/20160120052504if_/http://m |-and-Lynch-Demo |edia1.gamefront.com/worthpl | |aying/kaneandlynch/Kane_and | |_Lynch_DeadMen_Demo.exe?b17 | |f4b620c6cf1393ffa644e1beea1 | |51f94cae2191c9049546c16a105 | |7c8cf2fd17b7f72b8c4f411b493 | |4a2cb7597966ead59bbb408ca84 | |0d9caa611de1dae24e838584b14 | |cbfae1a89c65fc2f159dcc004d6 | |06dd696eb4196cb7b88407386a4 | |4612478394040efe1b41910e120 | |51b4136de8cd295fa095c5f66b9 | |&ext=.exe
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- This bug seems to be fixed with wine-7.5. By default it loads native d3dx9_31 and d3dx9_34 dlls, so I had to set them to builtin. I also set d3dcompiler_43 and d3dcompiler_47 to builtin and while the demo seems to load d3dcompiler_47, +d3dcompiler yields no output at all.
Andrey, could you confirm?
I've added a stable download from the original download link.
$ sha1sum Kane_and_Lynch_DeadMen_Demo.exe c8994aa56249177cd0e0117c9a037afb01a3b671 Kane_and_Lynch_DeadMen_Demo.exe
$ du -sh Kane_and_Lynch_DeadMen_Demo.exe 595M Kane_and_Lynch_DeadMen_Demo.exe
https://bugs.winehq.org/show_bug.cgi?id=35213
--- Comment #8 from Andrey Gusev andrey.goosev@gmail.com --- It's just encounters bug 46779 now.
https://bugs.winehq.org/show_bug.cgi?id=35213
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Andrey Gusev from comment #8)
It's just encounters bug 46779 now.
You're right, it seems I messed something up as everything worked fine for me when previously testing, but now I can confirm a crash due to bug 46779.
That aside, what does that mean for this bug? Is bug 46779 just hiding this one?
https://bugs.winehq.org/show_bug.cgi?id=35213
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |46779
https://bugs.winehq.org/show_bug.cgi?id=35213
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch