http://bugs.winehq.org/show_bug.cgi?id=35123
Bug ID: 35123 Summary: Shattered Horizon requires d3dx10_43.dll.D3DX10CompileFromMemory Product: Wine Version: 1.7.8 Hardware: x86 OS: Linux Status: NEW Severity: minor Priority: P2 Component: directx-d3dx10 Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Classification: Unclassified
Created attachment 46852 --> http://bugs.winehq.org/attachment.cgi?id=46852 terminal output (built-in d3dx10)
The game requires Directx10 (or newer), it doesn't support DX9. The first problem when you start the game with built-in d3dx10 libraries seems to be the following unimplemented function: wine: Call from 0x7b83a38e to unimplemented function d3dx10_43.dll.D3DX10CompileFromMemory, aborting
After 'winetricks d3dx10 d3dcompiler_43' the game no longer complains about unimplemented stuff, but still fails to start, showing an error message:
ID3D10ReflectShader::GetDesc failed: The function called is not supported at this time (E_NOTIMPL)
http://bugs.winehq.org/show_bug.cgi?id=35123
--- Comment #1 from GyB gyebro69@gmail.com --- Created attachment 46853 --> http://bugs.winehq.org/attachment.cgi?id=46853 terminal output (native d3dx10)
http://bugs.winehq.org/show_bug.cgi?id=35123
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=35123
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 50841 --> https://bugs.winehq.org/attachment.cgi?id=50841 stub
Does this help?
https://bugs.winehq.org/show_bug.cgi?id=35123
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50841|0 |1 is obsolete| |
--- Comment #3 from Austin English austinenglish@gmail.com --- Created attachment 50842 --> https://bugs.winehq.org/attachment.cgi?id=50842 try 2
https://bugs.winehq.org/show_bug.cgi?id=35123
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 50851 --> https://bugs.winehq.org/attachment.cgi?id=50851 terminal output (Wine 1.7.37)
The game has been pulled from Steam Store, but it's not removed from my game library so I downloaded and tried in 1.7.37. The problem is that I can't reproduce the original problem either in 1.7.37 or in 1.7.8. The game does crash on startup but it's not due to the unimplemented function in d3dx10_43.dll.
Moreover, 'winedump -j import shattered_horizon.exe' says: offset 008da090 d3dx10_42.dll Hint/Name Table: 008DB880 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 00709AEC Ordn Name 66 D3DX10UnsetAllDeviceObjects 8e0728 75 D3DXFloat32To16Array 8e0746 3 D3DX10CompileFromMemory 8e075e 45 D3DX10CreateTextureFromMemory 8e06e8 53 D3DX10GetImageInfoFromMemory 8e0708
Looks like the current version I tried needs d3dx10_42 instead of d3dx10_43 (?)
https://bugs.winehq.org/show_bug.cgi?id=35123
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Béla Gyebrószki from comment #4)
Created attachment 50851 [details] terminal output (Wine 1.7.37)
The game has been pulled from Steam Store, but it's not removed from my game library so I downloaded and tried in 1.7.37. The problem is that I can't reproduce the original problem either in 1.7.37 or in 1.7.8. The game does crash on startup but it's not due to the unimplemented function in d3dx10_43.dll.
Moreover, 'winedump -j import shattered_horizon.exe' says: offset 008da090 d3dx10_42.dll Hint/Name Table: 008DB880 TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970) ForwarderChain: 00000000 First thunk RVA: 00709AEC Ordn Name 66 D3DX10UnsetAllDeviceObjects 8e0728 75 D3DXFloat32To16Array 8e0746 3 D3DX10CompileFromMemory 8e075e 45 D3DX10CreateTextureFromMemory 8e06e8 53 D3DX10GetImageInfoFromMemory 8e0708
Looks like the current version I tried needs d3dx10_42 instead of d3dx10_43 (?)
I'd say it's probably more likely that d3d10 support has improved enough that the result has changed.
What happens if you disable d3d10.dll in winecfg?
https://bugs.winehq.org/show_bug.cgi?id=35123
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Austin English from comment #5)
I'd say it's probably more likely that d3d10 support has improved enough that the result has changed.
What happens if you disable d3d10.dll in winecfg?
I get this: err:module:import_dll Library d3d10.dll (which is needed by L"C:\Program Files\Steam\steamapps\common\Shattered_Horizon\client_exe\shattered_horizon.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Steam\steamapps\common\Shattered_Horizon\client_exe\shattered_horizon.exe" failed, status c0000135
https://bugs.winehq.org/show_bug.cgi?id=35123
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
--- Comment #7 from Adam Bolte abolte@systemsaviour.com --- Created attachment 54951 --> https://bugs.winehq.org/attachment.cgi?id=54951 call_of_juarez-dx10_benchmark-1.9.13-35123_try_2.log
"Call of Juarez DX10 Benchmark does not start" (bug 23523) currently seems to be blocked by this bug, as per the updated stack trace attached over there.
I've tried Austin's patch against 1.9.13. It didn't apply cleanly so minor tweaking was required. The game still crashes, but the attached log is quite different to the result with 1.9.13 unpatched.
https://bugs.winehq.org/show_bug.cgi?id=35123
--- Comment #8 from Adam Bolte abolte@systemsaviour.com --- Created attachment 54952 --> https://bugs.winehq.org/attachment.cgi?id=54952 try_2-updated_for_1.9.13.patch
Here is the modified version of "try_2" I used to generate call_of_juarez-dx10_benchmark-1.9.13-35123_try_2.log (applies cleanly against 1.9.13).
https://bugs.winehq.org/show_bug.cgi?id=35123
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
--- Comment #9 from super_man@post.com --- I think this bug is actually fixed by patch id 123793.
https://source.winehq.org/patches/data/123793
https://bugs.winehq.org/show_bug.cgi?id=35123
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |40c2b7357314407c06ed76be3af | |1429cb5c36d1e Resolution|--- |FIXED
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to super_man from comment #9)
I think this bug is actually fixed by patch id 123793.
Marking fixed then. Now the game crashes in a different way, though.
https://bugs.winehq.org/show_bug.cgi?id=35123
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.14.
https://bugs.winehq.org/show_bug.cgi?id=35123
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |directx-d3d-util