http://bugs.winehq.org/show_bug.cgi?id=28343
Summary: UFO: Extraterrestrials Gold - crash at start unless native d3dx9_26 (or d3dx_36) is used Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: mooroon2@mail.ru CC: wine-bugs@winehq.org
Created an attachment (id=36322) --> (http://bugs.winehq.org/attachment.cgi?id=36322) WINEDEBUG="+tid,+all,err+all,warn+all,trace-all" output
UFO:ET not only require native dsound/dmusic as reported in bug #25728, but also crashes unless native MS d3dx9_26 or d3dx9_36 are used. I had first ran into this bug with Wine 1.3.11, and it pertained till version 1.3.24. Can't test with later version due-to dsound/dmusic override workaround is no longer working as reported in bug #28340.
What's interesting is that is is sufficient to install native dsound/dmusic and only one of native d3dx_26/d3dx_36 to get the game working. With native d3dx_26 and wine's built-in d3dx_36 the game seems to start up faster than with wine's built-in d3dx_26 and native d3dx_36.
I attach essential WINEDEBUG logs recorded with Wine 1.3.24 + MS native dsound/dmusic + wine's built-in d3dx_26/d3dx_36.
Most "promising" line are:
fixme:d3dx:D3DXGetImageInfoFromFileInMemory (0x8a00c0, 49280, 0x34f8a0): partially implemented fixme:d3dx:D3DXGetImageInfoFromFileInMemory Invalid or unsupported image file fixme:d3dx:D3DXCreateEffectEx (0x14a2a8, 0x8c44a0, 1192, (nil), 0x8c4958, (nil), 0, (nil), 0x8c1770, 0x8c1764): semi-stub fixme:d3dx:d3dx9_base_effect_init HLSL ascii effects not supported, yet fixme:d3dx:get_format_info Unknown format 0x35545844
From relay trace it looks like that the last d3d function called prior to the
crash is d3dx9_36.D3DXCreateTextureFromFileInMemoryEx().