[Bug 21238] Stranded II: Bitmap loading errors

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 2 09:14:07 CST 2012


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

--- Comment #7 from Stefan Dösinger <stefan at codeweavers.com> 2012-02-02 09:14:07 CST ---
Additional testing shows that the current behavior is correct for ddraw, all
surface types are 8 byte aligned. However, the game creates the surfaces
causing the issue with a manually specified lpSurface and lPitch member:

trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Programme (x86)\\Stranded
II\\mods\\Stranded II\\sys\\gfx\\title.bmp"
...
trace:ddraw:CreateSurface  (0x136728) Requesting surface desc :
trace:ddraw:DDRAW_dump_members  - DDSD_CAPS : DDSCAPS_OFFSCREENPLAIN
DDSCAPS_SYSTEMMEMORY 
trace:ddraw:DDRAW_dump_members  - DDSD_HEIGHT : 239
trace:ddraw:DDRAW_dump_members  - DDSD_WIDTH : 539
trace:ddraw:DDRAW_dump_members  - DDSD_PITCH : 2156
trace:ddraw:DDRAW_dump_members  - DDSD_LPSURFACE : 0x830116c
trace:ddraw:DDRAW_dump_members  - DDSD_PIXELFORMAT : ( DDPF_ALPHAPIXELS
DDPF_RGB , RGB bits: 32,  R 00ff0000 G 0000ff00 B 000000ff A ff000000)

Currently we don't honor the pitch set by the app.

-- 
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