[Bug 4278] Splinter Cell: Pandora Tomorrow fails with need 32bit color

Wine Bugs wine-bugs at winehq.org
Mon Apr 30 11:37:27 CDT 2007


------- Additional Comments From xerox_xerox2000 at yahoo.co.uk  2007-30-04 11:37 -------
Hi, Microsoft Flight Simulator fails in the same way and doesn't run. I made a
workaround attached hereafter. Analysis:

Even if I set the (not very well known) registry key "ScreenDepth" to 32, the
game still fails in the same way. Here's what happens (from x11drv_main.c):
    if (!get_config_key( hkey, appkey, "ScreenDepth", buffer, sizeof(buffer) ))
        screen_depth = atoi(buffer);

So we have a 32-bit resolution if we set this registry key
Later on:

    /* If OpenGL is available, change the default visual, etc as necessary */
    if ((desktop_vi = X11DRV_setup_opengl_visual( display )))
        visual       = desktop_vi->visual;
        screen       = ScreenOfDisplay(display, desktop_vi->screen);
        screen_depth = desktop_vi->depth;


Now we end up with a screendepth of 24 again. The only solution I see is the
workaround in the patch attached hereafter. SplinterCell Pandora and MicroSoft
Flight Simulator X start fine with this patch, and the registry key set.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list