https://bugs.winehq.org/show_bug.cgi?id=38581
--- Comment #21 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 52168 --> https://bugs.winehq.org/attachment.cgi?id=52168 Write a debug line when converting surfaces
The DDCKEY_COLORSPACE thing may be a red herring altogether. I noticed that the app calls SetColorKey with a non-range key shortly after the failing SetColorKey call and before the surface is used for blitting.
I did notice though that the game mixes 16 bit and 32 bit pixel formats. It's possible that we're doing converted blits, and we don't take the color key along during the conversion.
This patch adds a debug statement ("converting surface from...") that prints the color key flags of the source surface. Please run the game with this patch and look for these lines. Attach the output (no debug flags needed).