http://bugs.winehq.org/show_bug.cgi?id=21238
--- Comment #7 from Stefan Dösinger stefan@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.