[Bug 24983] Space Rangers 2 (Dominators, Reboot) crashes when entering planetary battles (without native d3dx9_36)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 30 03:58:06 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=24983

--- Comment #10 from Józef Kucia <joseph.kucia at gmail.com> 2012-05-30 03:58:06 CDT ---
Created attachment 40333
  --> http://bugs.winehq.org/attachment.cgi?id=40333
DXTn hack

(In reply to comment #9)
> Created attachment 40318 [details]
> +d3dx,+msgbox,+tid log

0009:trace:d3dx:D3DXCreateTextureFromFileInMemoryEx (0x4861aa8, 0x80a6020,
3145856, 0, 0, 1, 0, 31545844, 1, 1, 5, 0, (nil), (nil), 0x51007dc)
0009:trace:d3dx:D3DXGetImageInfoFromFileInMemory (0x80a6020, 3145856, 0x32f834)
0009:trace:d3dx:D3DXGetImageInfoFromFileInMemory File type is DDS
0009:trace:d3dx:get_image_info_from_dds Pixel format is 0x14

Looks like the game needs DXT1 compressor, it tries to create DXT1 (31545844)
texture from R8G8B8 (0x14).

Please try the game with the attached patch. It's a hack which returns D3D_OK
when surface cannot be loaded. If the game starts with this patch, some
textures are expected to be black. Could you also get me +d3dx log with the
patch?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list