https://bugs.winehq.org/show_bug.cgi?id=50850
Bug ID: 50850 Summary: Just Cause crashes due to unsupported texture format Product: Wine Version: 6.4 Hardware: x86-64 URL: https://store.steampowered.com/app/6880/Just_Cause OS: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: directx-d3d-util Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 69666 --> https://bugs.winehq.org/attachment.cgi?id=69666 d3dx
02e4:trace:d3dx:D3DXGetImageInfoFromFileInMemory File type is DDS 02e4:trace:d3dx:dds_pixel_format_to_d3dformat pixel_format: size 32, flags 0x20, fourcc 0, bpp 8. 02e4:trace:d3dx:dds_pixel_format_to_d3dformat rmask 0, gmask 0, bmask 0, amask 0. 02e4:trace:d3dx:get_image_info_from_dds Pixel format is 0x29 02e4:trace:d3dx:D3DXCheckTextureRequirements device 00162598, width 0033F5CC, height 0033F5D0, miplevels 0033F5D4, usage 0, format 0033F5DC, pool 1. 02e4:trace:d3dx:check_texture_requirements Requested format 29 02e4:trace:d3dx:check_texture_requirements Requested format is not supported, looking for a fallback. 02e4:trace:d3dx:check_texture_requirements Format chosen: 15 02e4:trace:d3dx:D3DXCreateTexture device 00162598, width 256, height 64, miplevels 1, usage 0, format 0x15, pool 0x1, texture 635EB2EC. 02e4:trace:d3dx:D3DXCheckTextureRequirements device 00162598, width 0033F3E4, height 0033F3E8, miplevels 0033F3EC, usage 0, format 0033F3F4, pool 1. 02e4:trace:d3dx:check_texture_requirements Requested format 15 02e4:trace:d3dx:check_texture_requirements Format chosen: 15 02e4:trace:d3dx:D3DXCreateTextureFromFileInMemoryEx Texture created correctly. Now loading the texture data into it. 02e4:trace:d3dx:D3DXLoadSurfaceFromMemory (0465F248, 00000000, (null), 62FB1580, 0x29, 256, 00000000, (0,0)-(256,64), 0xffffffff, 0x00000000) 02e4:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x80004. 02e4:trace:d3dx:point_filter_argb_pixels src 62FB1580, src_row_pitch 256, src_slice_pitch 0, src_size 0033F2D8, src_format 7CC44AE0, dst 0464F230, dst_row_pitch 1024, dst_slice_pitch 0, dst_size 0033F2E4, dst_format 7CC44608, color_key 0x00000000, palette 00000000.
wine-6.4-180-g41df83c50e1
https://bugs.winehq.org/show_bug.cgi?id=50850
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 74820 --> https://bugs.winehq.org/attachment.cgi?id=74820 +d3dcompiler, +d3dx
Still present with wine-8.12.
It crashes inside index_to_rgba when that is called from point_filter_argb_pixels.
https://bugs.winehq.org/show_bug.cgi?id=50850
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal Summary|Just Cause crashes due to |Just Cause crashes when |unsupported texture format |starting new game | |(D3DXCreateTexture | |unsupported format, | |fallback format crashes)
https://bugs.winehq.org/show_bug.cgi?id=50850
Connor McAdams cmcadams@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmcadams@codeweavers.com
--- Comment #2 from Connor McAdams cmcadams@codeweavers.com --- This particular crash should be fixed by 1ce0ae451adeacf3c22d4c9be568146859a6f482, probably worth retesting.
https://bugs.winehq.org/show_bug.cgi?id=50850
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com --- Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=50850
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.20.