https://bugs.winehq.org/show_bug.cgi?id=38583
Bug ID: 38583 Summary: Legions Overdrive: In-game textures black Product: Wine Version: 1.7.42 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: gaming4jc2@yahoo.com Distribution: ---
Created attachment 51481 --> https://bugs.winehq.org/attachment.cgi?id=51481 D3D fixmes
Since the entire world is black excepting the sky and some text, it is still not possible to play this in native wine without DLL overrides. I am attaching a bug report showing various D3D fixmes needed.
https://bugs.winehq.org/show_bug.cgi?id=38583
Luke gaming4jc2@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.legionsoverdrive | |.com/download/
https://bugs.winehq.org/show_bug.cgi?id=38583
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #1 from Sergey Isakov isakov-sl@bk.ru --- It is well known absent for DXTn support. More discussion here bug38274
https://bugs.winehq.org/show_bug.cgi?id=38583
--- Comment #2 from Sergey Isakov isakov-sl@bk.ru --- I confirm the native d3dx9_36.dll is a trick. Without it I have numerous --- fixme:d3dx:D3DXCreateTextureFromFileInMemoryEx Generation of mipmaps for compressed pixel formats is not implemented yet. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80004. err:d3dcompiler:compile_shader HLSL shader parsing failed. ---
https://bugs.winehq.org/show_bug.cgi?id=38583
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.17?
https://bugs.winehq.org/show_bug.cgi?id=38583
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.42 |1.6 Summary|Legions Overdrive: In-game |Legions Overdrive crashes |textures black |on start due to HLSL | |compilation failure Component|d3d-util |hlsl Status|UNCONFIRMED |NEW Product|Wine |vkd3d Ever confirmed|0 |1
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- For me the game crashes on launch with builtin d3dcompiler_47 and wine-8.0rc2. Let's make this bug about the HLSL compilation failure.
0120:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0120:err:d3dcompiler:D3DCompile2 Shader log: 0120:err:d3dcompiler:D3DCompile2 ../clipMap/atlas.h:2:1: W4300: Redefinition of IN_HLSL. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:3:1: W4300: Redefinition of VC_WORLD_PROJ. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:5:1: W4300: Redefinition of VC_TEX_TRANS1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:6:1: W4300: Redefinition of VC_LIGHT_TRANS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:7:1: W4300: Redefinition of VC_OBJ_TRANS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:9:1: W4300: Redefinition of VC_CUBE_TRANS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:10:1: W4300: Redefinition of VC_CUBE_EYE_POS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:11:1: W4300: Redefinition of VC_EYE_POS. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:12:1: W4300: Redefinition of VC_MAT_SPECPOWER. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:14:1: W4300: Redefinition of VC_FOGDATA. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:16:1: W4300: Redefinition of VC_LIGHT_POS1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:17:1: W4300: Redefinition of VC_LIGHT_DIR1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:18:1: W4300: Redefinition of VC_LIGHT_DIFFUSE1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:19:1: W4300: Redefinition of VC_LIGHT_SPEC1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:21:1: W4300: Redefinition of VC_LIGHT_POS2. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:25:1: W4300: Redefinition of VC_LIGHT_TRANS2. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:27:1: W4300: Redefinition of VC_RELATIVE_VELOCITY. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:34:1: W4300: Redefinition of VC_DETAIL_SCALE. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:35:1: W4300: Redefinition of VC_EYE_POS_WORLD. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:37:1: W4300: Redefinition of PC_MAT_SPECCOLOR. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:38:1: W4300: Redefinition of PC_MAT_SPECPOWER. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:39:1: W4300: Redefinition of PC_DIFF_COLOR. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:40:1: W4300: Redefinition of PC_AMBIENT_COLOR. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:41:1: W4300: Redefinition of PC_ACCUM_TIME. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:42:1: W4300: Redefinition of PC_DIFF_COLOR2. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:43:1: W4300: Redefinition of PC_VISIBILITY. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:44:1: W4300: Redefinition of PC_COLORMULTIPLY. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:46:1: W4300: Redefinition of PC_USERDEF1. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:48:1: W4300: Redefinition of PC_EYE_POS_WORLD. 0120:err:d3dcompiler:D3DCompile2 ../shdrConsts.h:49:1: W4300: Redefinition of PC_FOGDATA. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:200:24: E5000: syntax error, unexpected '[', expecting ')' 0120:err:d3dcompiler:D3DCompile2 0120:warn:d3dcompiler:hresult_from_vkd3d_result Invalid shader bytecode.
https://bugs.winehq.org/show_bug.cgi?id=38583
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- There is a number of issues here, covered by other bug reports potentially, or already fixed:
0cea4d352e5f04fe6837702b91ce993928a37566 c190c184ce88fb5f2ac5d4c289cbf5f1799e453b https://bugs.winehq.org/show_bug.cgi?id=54736 8d84e206ab17cd6d89249582cd5861f53e164d18 https://bugs.winehq.org/show_bug.cgi?id=55084
We'll need to retest after next import.
https://bugs.winehq.org/show_bug.cgi?id=38583
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #6 from temp82@luukku.com --- I haven't tried this before. I have wine 8.17 and it's running the launcher and downloading content with no issues.I was able to join a game, but the game content feels to be missing some content. . 0124:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5. 0124:err:d3dcompiler:D3DCompile2 Shader log: 0124:err:d3dcompiler:D3DCompile2 <anonymous>:206:1: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_LOOP. 0124:err:d3dcompiler:D3DCompile2 0124:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5. 0124:err:d3dcompiler:D3DCompile2 Shader log: 0124:err:d3dcompiler:D3DCompile2 <anonymous>:197:1: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_LOOP. 0124:err:d3dcompiler:D3DCompile2 0124:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5. 0124:err:d3dcompiler:D3DCompile2 Shader log:
points to a bug 55083.
https://bugs.winehq.org/show_bug.cgi?id=38583
--- Comment #7 from temp82@luukku.com --- this bug has evolved the last time I tried it. Now I get a crash, but also few shader lines I did not see before 0128:err:d3dcompiler:D3DCompile2 <anonymous>:268:25: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. 0128:err:d3dcompiler:D3DCompile2 <anonymous>:268:16: E5017: Aborting due to not yet implemented feature: SM1 "ternary" expression. 0128:err:d3dcompiler:D3DCompile2 wine: Unhandled page fault on read access to 03DA8846 at address 7BD47210 (thread 0128), starting debugger...
wine 8.21.
https://bugs.winehq.org/show_bug.cgi?id=38583
--- Comment #8 from temp82@luukku.com --- it crashes still, but the backtrace is different. wine 9.4.
https://bugs.winehq.org/show_bug.cgi?id=38583
--- Comment #9 from temp82@luukku.com --- Created attachment 76185 --> https://bugs.winehq.org/attachment.cgi?id=76185 wine 9.4 crash
https://bugs.winehq.org/show_bug.cgi?id=38583
--- Comment #10 from temp82@luukku.com --- but at the console still has few of these.
0124:err:d3dcompiler:D3DCompile2 <anonymous>:197:1: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_LOOP.
so assuming it's the real cause.