http://bugs.winehq.org/show_bug.cgi?id=34235
Bug #: 34235 Summary: SimPark requires 256 bit colors Product: Wine Version: 1.7.0 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: roland@mxchange.org Classification: Unclassified
Created attachment 45552 --> http://bugs.winehq.org/attachment.cgi?id=45552 warn+all logfile
The mentioned game wants 256 bit colors and doesn't start. I don't know which module is to look in so I have chosen "unknown". Attached is a warn+all log as the default one doesn't output anything (which is somewhere good work!).
The game is a Windows 3.1x game, switching wine's Windows version to 3.1 doesn't help (and I known it won't, just to mention it). :-)
http://bugs.winehq.org/show_bug.cgi?id=34235
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2013-08-08 17:03:31 CDT --- Is a demo available for download?
http://bugs.winehq.org/show_bug.cgi?id=34235
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-08-08 21:20:05 CDT --- You can try the workarounds in http://wiki.winehq.org/256ColorMode
I'm not sure this bug is valid.
http://bugs.winehq.org/show_bug.cgi?id=34235
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2013-08-09 12:40:16 CDT --- Wine can handle programs that change the display mode to 8-bit without really requiring an 8-bit display, so it should be possible to provide a solution for this case without needing a real 8-bit display.
http://bugs.winehq.org/show_bug.cgi?id=34235
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #4 from Roland Haeder roland@mxchange.org 2013-08-09 12:46:11 CDT --- There is no demo, I think (or so far I haven't found one).
http://bugs.winehq.org/show_bug.cgi?id=34235
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2013-08-09 19:20:28 CDT --- (In reply to comment #3)
Wine can handle programs that change the display mode to 8-bit without really requiring an 8-bit display, so it should be possible to provide a solution for this case without needing a real 8-bit display.
Then this is a real bug because that does not happen in windows.
https://bugs.winehq.org/show_bug.cgi?id=34235
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=34235
Martin Fontaigne martinrs@softhome.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martinrs@softhome.net
--- Comment #7 from Martin Fontaigne martinrs@softhome.net --- Still present in wine 1.7.48. The dialog error message also appears in SimTunes game, from the same publisher. SimPark and SimTunes both run using 32-bit WinG library, not 16-bit, so they can run in 64-bit Linux.
I forced GetDeviceCaps(BITSPIXEL) to return 8 instead of 32, and both games run the intro animation perfectly, but once that's done, the screen is completely black.
https://bugs.winehq.org/show_bug.cgi?id=34235
--- Comment #8 from Martin Fontaigne martinrs@softhome.net --- It looks like SimTunes can be set to run DirectDraw by setting UseDirectDraw=TRUE and UseDirectSound=TRUE in c:/windows/simtunes.ini, bypassing 256 color limit.
SimPark doesn't seem to have that option. At least it doesn't hang but only show black screen in menu display mode after fully visible intro animation is done. I can move the mouse, textual hints around unseen buttons do pop up, and I can press the buttons to activate actions. The menu also appears when mouse moves to the top, and I can save a game as the file dialog is somewhat visible.
Again this is after GetDeviceCaps(BITSPIXEL) is forced to return 8 to pass the 256 color check.
https://bugs.winehq.org/show_bug.cgi?id=34235
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
--- Comment #9 from Michael Müller michael@fds-team.de --- This doesn't seem like a Wine bug. I just installed SimPark in Windows XP and I also get an error about requiring a 8 bit color mode. You can use the compatibility tab on windows to change to 256 colors while playing the game, so you almost don't notice this (unless you alt-tab out of the game), but I don't see any way to start the game without changing it.
https://bugs.winehq.org/show_bug.cgi?id=34235
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=34235
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #10 from winetest@luukku.com --- Does this patch help?
diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c index d4f5c84..10ee851 100644 --- a/dlls/winex11.drv/x11drv_main.c +++ b/dlls/winex11.drv/x11drv_main.c @@ -562,7 +562,7 @@ static BOOL process_attach(void)
init_pixmap_formats( display ); init_visuals( display, DefaultScreen( display )); - screen_bpp = pixmap_formats[default_visual.depth]->bits_per_pixel; + screen_bpp = 8;
XInternAtoms( display, (char **)atom_names, NB_XATOMS - FIRST_XATOM, False, X11DRV_Atoms );
If yes then bug 42215 is about same issue.
https://bugs.winehq.org/show_bug.cgi?id=34235
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- IMO the bug is valid because it works in XP with compatibility set as stated in comment 9.
In Wine hacking different functions to return 8 instead of real bpp or using VNC or Xephyr to emulate 8bit always end in the game running with black screen, it is possible to random click the screen and reach the game (identified by the animal sounds playing).
I don't know how to debug this or anything, the game is old, interest is low.
So while in XP compatibility setting is required in Wine there is no possible workaround so far.
https://bugs.winehq.org/show_bug.cgi?id=34235
Reuben reuben_p@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reuben_p@yahoo.com
https://bugs.winehq.org/show_bug.cgi?id=34235
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-6.10.
https://bugs.winehq.org/show_bug.cgi?id=34235
odecif@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |odecif@gmail.com
--- Comment #13 from odecif@gmail.com --- Created attachment 72718 --> https://bugs.winehq.org/attachment.cgi?id=72718 Xephyr color distortion
Bug still present in wine-7.11.
Running the game through Xephyr works but gives weird colors (tested with cc 0/1/2/3/4, glamor, glamor_gles2 etc. All in 640x480x8).