https://bugs.winehq.org/show_bug.cgi?id=39652
Bug ID: 39652 Summary: Battlefield 2142 Demo fails to start - full DirectX 9.0c installer resolves problem Product: Wine Version: 1.8-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bob.mt.wya@gmail.com Distribution: ---
Created attachment 52853 --> https://bugs.winehq.org/attachment.cgi?id=52853 battlefield_2142_demo_backtrace
Download from: http://www.gamershell.com/download_15855.shtml
Installation of the Battlefield 2142 Demo (aka training video simulator 2015) in clean 32-bit Wineprefix.
Launching game without any winetricks verbs, etc. results in the attached backtrace and console logs.
Executing:
winetricks directx9
and removing all the Wine library overrides allows the game demo to successfully launch, display a training video and reach the main login screen (as it can get - due to the shutdown, last year, of the Gamespy Master Servers).
I haven't been able to successfully launch the game by installing the individual components of the DirectX9 installer. I did attempt to do this in a clean 32-bit Wineprefix.
https://bugs.winehq.org/show_bug.cgi?id=39652
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
--- Comment #1 from Robert Walker bob.mt.wya@gmail.com --- Created attachment 52854 --> https://bugs.winehq.org/attachment.cgi?id=52854 battlefield_2142_demo_console_log
https://bugs.winehq.org/show_bug.cgi?id=39652
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.gamershell.com/d | |ownload_15855.shtml
https://bugs.winehq.org/show_bug.cgi?id=39652
--- Comment #2 from Austin English austinenglish@gmail.com --- Is 'winetricks d3dx9' not enough? W
https://bugs.winehq.org/show_bug.cgi?id=39652
--- Comment #3 from Robert Walker bob.mt.wya@gmail.com --- (In reply to Austin English from comment #2)
Is 'winetricks d3dx9' not enough? W
Yes it is... I forgot to check that verb!
https://bugs.winehq.org/show_bug.cgi?id=39652
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3dx9 Summary|Battlefield 2142 Demo fails |Battlefield 2142 Demo fails |to start - full DirectX |to start - needs |9.0c installer resolves |'winetricks d3dx9' |problem |
https://bugs.winehq.org/show_bug.cgi?id=39652
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- Still an issue 1.9.5
https://bugs.winehq.org/show_bug.cgi?id=39652
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |leslie_alistair@hotmail.com
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Still an issue 1.9.13
https://bugs.winehq.org/show_bug.cgi?id=39652
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #6 from winetest@luukku.com --- This bug is dupe or at least related to bug 37676.
"Multiple games need "fx_2_0" compilation target (The Settlers II: 10th Anniversary 2.0, Hitman: Blood Money, Star Wars Empire at War)"
https://bugs.winehq.org/show_bug.cgi?id=39652
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 67429 --> https://bugs.winehq.org/attachment.cgi?id=67429 +d3dx9 log
Still present in wine-5.9. Attached is a +d3dx log. 'winetricks -q d3dcompiler_47' doesn't make it work, while 'winetricks -q d3dx9' still does.
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/d |https://www.fileplanet.com/ |ownload_15855.shtml |archive/p-28861/Battlefield | |-2142-Demo
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=39652
--- Comment #8 from Matteo Bruni matteo.mystral@gmail.com --- For reference, the game uses the ID3DXEffectCompiler interface. It means that it needs an HLSL compiler able to compile effects and, depending on what it exactly wants to do, possibly more stuff on top of that. I don't expect a fix for this in the shortest term...
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|d3d-util |hlsl Version|1.8-rc1 |1.6 Hardware|x86 |x86-64 Summary|Battlefield 2142 Demo fails |Battlefield 2142 demo |to start - needs |crashes due to missing |'winetricks d3dx9' |'Uniform initializer' | |support Product|Wine |vkd3d
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- With current vkd3d-git and wine-8.0-169-gaabdb15458a:
0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>: E5017: Aborting due to not yet implemented feature: Uniform initializer. 0024:err:d3dcompiler:D3DCompile2 <anonymous>:119:30: E5000: syntax error, unexpected KW_SAMPLER_STATE 0024:err:d3dcompiler:D3DCompile2
https://bugs.winehq.org/show_bug.cgi?id=39652
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #10 from temp82@luukku.com --- out of curiosity I tried this demo an indeed it complains "Uniform initializers". don't know exactly where that issue comes from. There was some popup message I could not respond to that complained about KW_SAMPLER_STATE which seem to be the game breaker currently for many applications.
wine 8.6.
https://bugs.winehq.org/show_bug.cgi?id=39652
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |apq49584@tuofs.com
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 47728 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Battlefield 2142 demo |Multiple games crash due to |crashes due to missing |missing 'Uniform |'Uniform initializer' |initializer' support |support |(Battlefield 2142 demo, | |Project Reality BF2)
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gaming4jc2@yahoo.com
--- Comment #12 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 21806 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rens.groenewegen@xs4all.nl
--- Comment #13 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 57279 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39652
--- Comment #14 from Hans Leidekker hans@meelstraat.net --- *** Bug 57279 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39652
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #15 from Gijs Vermeulen gijsvrm@gmail.com --- This one seems to be fixed with wine-10.5 and current vkd3d-git. No mention of 'Uniform initializer' anymore. BF2142 demo now fails with:
0024:trace:d3dx:D3DXCreateEffect device 01CFF288, data 0354A8F4, data_size 15149, defines 034B6BBC, include 0350BE30, flags 0x120, pool 00000000, effect 00D0F690, messages 00D0F694. 0024:trace:d3dx:D3DXCreateEffectEx device 01CFF288, srcdata 0354A8F4, srcdatalen 15149, defines 034B6BBC, include 0350BE30, skip_constants 00000000, flags 0x120, pool 00000000, effect 00D0F690, compilation_errors 00D0F694. 0024:trace:d3dx:d3dx9_effect_init effect 01D58208, device 01CFF288, data 0354A8F4, data_size 15149, defines 034B6BBC, include 0350BE30, flags 0x120, errors 00D0F694, pool 00000000, skip_constants (null). 0024:trace:d3dx:d3dx9_effect_init HLSL ASCII effect, trying to compile it. 0024:trace:d3dcompiler:D3DCompile data 0354A8F4, data_size 15149, filename (null), defines 034B6BBC, include 0350BE30, entrypoint (null), target "fx_2_0", sflags 0x1120, eflags 0, shader 00D0F550, error_messages 00D0F554. 0024:trace:d3dcompiler:D3DCompile2 data 0354A8F4, data_size 15149, filename (null), macros 034B6BBC, include 0350BE30, entry_point (null), profile "fx_2_0", flags 0x1120, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 00D0F550, messages_blob 00D0F554. vkd3d:0024:fixme:D3DCompile2VKD3D Ignoring flags 0x1120. vkd3d:0024:fixme:preproc_yyparse #line directive. vkd3d:0024:fixme:preproc_yyparse #line directive. vkd3d:0024:fixme:preproc_yyparse #line directive. vkd3d:0024:fixme:preproc_yyparse #line directive. 0024:warn:d3dx:d3dx9_effect_init Failed to compile ASCII effect. 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:439:44: E5017: Aborting due to not yet implemented feature: Reservat" 0024:trace:d3dx:d3dx9_effect_init "ion shader target vs_1_1." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:441:17: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:442:16: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:7: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:13: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:19: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:443:25: E5000: Failed to evaluate constant expression." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:521:15: E5030: Unknown modifier "asm"." 0024:trace:d3dx:d3dx9_effect_init "<anonymous>:522:1: E5000: syntax error, unexpected '{'" 0024:warn:d3dx:D3DXCreateEffectEx Failed to create effect object, hr 0x80004001.
which deserves its own bug. Marking this one FIXED.