http://bugs.winehq.org/show_bug.cgi?id=23170
Summary: Men of War Demo crashes on startup, needs D3DXFilterTexture Product: Wine Version: 1.2-rc3 Platform: x86 URL: http://www.bigdownload.com/games/men-of-war/pc/men-of- war-demo/ OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com CC: wine-bugs@winehq.org
Happened to try this game: 1f5071f09be6ca64ff7de0d7773710be4c398e1d Men-of-War-Demo.zip With a clean .wine, it aborts quickly on startup with dialog "No pixel shader 'PS' in effect 'shadow/sm' (erendershader.cpp, 339)" and log fixme:d3dx:D3DXCreateEffectEx (0x196ed0, 0x3f2be48, 4532, 0x1fbf330, 0xda8c30, (nil), 0, (nil), 0x1fbf21c, 0x1fbf218): semi-stub fixme:d3dx:ID3DXEffectImpl_GetParameterByName (0x1d2c70)->((nil), PS): stub
winetricks d3dx9_36 seems to work around this and let me play the game.
Interestingly, this game seems to compile shaders on first startup and cache them in ~/my games/men\ of\ war\ demo/shader_cache so if you remove all DLL overrides and rerun, it fails later with
wine: Call from 0x7edd7053 to unimplemented function d3dx9_36.dll.D3DXFilterTexture, aborting
It looks like Owen is working on that function, http://www.winehq.org/pipermail/wine-patches/2010-May/088732.html Not sure what the status is.
Let's make this bug about the latter problem, since that's probably solvable first.
http://bugs.winehq.org/show_bug.cgi?id=23170
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Men of War Demo crashes on |Men of War Demo crashes on |startup, needs |startup with error message |D3DXFilterTexture |"No pixel shader"
--- Comment #1 from Dan Kegel dank@kegel.com 2010-06-14 03:54:31 --- Nah, that's bug 12530, let's make this one about the "No pixel shader" bug. (Seems in the neighborhood of bug 22161, but maybe not quite a dup.)
http://bugs.winehq.org/show_bug.cgi?id=23170
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|wine-bugs@winehq.org |
http://bugs.winehq.org/show_bug.cgi?id=23170
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2010-07-29 13:13:57 --- This bug also affects Faces of War (retail), from the same developer as Men of War. The error message is almost the same: 'No pixel shader 'PS' in effect 'shadow/sm' (erendershader.cpp, 264)'
Installing native d3dx9 libs makes the game happy and it'll start properly.
wine-1.2-606-g1b33769
http://bugs.winehq.org/show_bug.cgi?id=23170
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #3 from Xavier Vachon xvachon@gmail.com 2010-10-27 23:57:54 CDT --- Attempting to run Red Alert 3 produces an endless loop of this message :
fixme:d3dx:ID3DXEffectImpl_GetParameter (0x146abd30)->((nil), 0): stub
which seems to be the culprit in what you are originally reporting. Tagging the game to this bug report.
http://bugs.winehq.org/show_bug.cgi?id=23170
--- Comment #4 from Xavier Vachon xvachon@gmail.com 2011-05-15 14:10:10 CDT --- D3DXFilterTexture is implemented in git. Dan, can you try the demo again and see if it works?
http://bugs.winehq.org/show_bug.cgi?id=23170
--- Comment #5 from Dan Kegel dank@kegel.com 2011-05-15 19:56:30 CDT --- Yes, Wine's D3DXFilterTexture seems to let this game run fine microsoft-free once you've run it once with native d3dx9_36.
Now I guess we just need the effects framework...
http://bugs.winehq.org/show_bug.cgi?id=23170
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from Dan Kegel dank@kegel.com 2011-06-09 19:42:37 CDT --- Let's make bug 11675 the Effects Framework bug.
*** This bug has been marked as a duplicate of bug 11675 ***
http://bugs.winehq.org/show_bug.cgi?id=23170
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2011-06-16 13:20:38 CDT --- Closing.