[Wine]256 colors (8bit) graphics not working
zoxed_p at arcor.de
Wed May 18 14:19:29 CDT 2005
I am trying to get one of my kids Windows CDROM based programs to work
With Google and man pages I got past some problems, but now the
application starts and then exists saying that it want 256 colours to run
best !! (It does the same on Win98 until you set the screen to 256
colours, then it is OK. But with Linux I thought I could find a better
I have X normally running at 24 bits, with 16 and 8 bit entries in my
Reading the docs I added this to my .wine/config
"ScreenDepth" = "8"
"PrivateColorMap" = "Y"
I then run:
Amongst the output I get:
trace:palette:CreatePalette returning 0x44
trace:palette:X11DRV_PALETTE_Init initializing palette manager...
trace:palette:X11DRV_PALETTE_Init visual class 4 (1)
trace:palette:GetPaletteEntries hpal = 0x44, count=20
trace:palette:CreatePalette returning 0x13c0
trace:palette:GDISelectPalette 0x13c4 0x13c0
trace:palette:GDIRealizePalette realized 0 colors.
To me "CreatePalette entries=256" looks good, but the "GDIRealizePalette
realized 0 colors." does not (it appears 8 times).
Any clues !!
(I got another CDROM program to work OK: so the wine is basically setup
(x86, Suse 9.1 + wine-20050419-0.1.i586.rpm)
Simon Kellett, | Gentoo Linux, Fvwm, Firefox
Darmstadt, Germany | Xemacs, Vm, Gnu
More information about the wine-users