Hey guy's my first time asking for support on wine so I will try and make it a quick one. Now I am having troubles with colours in text and behind text. I am trying to get a game to run correctly it's a MMORPG called legend of mir, now everything runs fine but the text box where you send and recieve messages all the "colors" behind the text is black all of the text is black is this a bug in wine?
Thanks Kozuka
P.S. Here's a screenshot so you can see what I am talking about wine doesn't return any errors..
http://img222.exs.cx/my.php?loc=img222&image=images049iv.jpg
On Fri, Mar 11, 2005 at 01:32:14AM -0700, Ian Bartelds! wrote:
Hey guy's my first time asking for support on wine so I will try and make it a quick one. Now I am having troubles with colours in text and behind text. I am trying to get a game to run correctly it's a MMORPG called legend of mir, now everything runs fine but the text box where you send and recieve messages all the "colors" behind the text is black all of the text is black is this a bug in wine?
Most likely.
Best thing to do is WINEDEBUG=+relay and search for the call that outputs a familiar phrase of text. Once we know which function is being used to do the text output (is it some kind of game-embedded edit control?), then it should be possible to fix it.
Andreas Mohr
On Fri, 11 Mar 2005 01:32:14 -0700, Ian Bartelds! kozuka2k@cox.net wrote:
Hey guy's my first time asking for support on wine so I will try and make it a quick one. Now I am having troubles with colours in text and behind text. I am trying to get a game to run correctly it's a MMORPG called legend of mir, now everything runs fine but the text box where you send and recieve messages all the "colors" behind the text is black all of the text is black is this a bug in wine?
It's very unlikely that wine does not report any error. I think you are using either a wine package without debug output or gentoo who compiles without that per default. You can check that by doing 'WINEDEBUG=+all wine [program.exe]'. It should output, let's say, alot.
Paul
Hey it's me again I try and do a WINEDEBUG=+all and it does nothing, I am using the gentoo linux version that I downloaded and compiled through portage
Thanks Ian Bartelds
On March 11, 2005 02:32 am, Paul van Schayck wrote:
On Fri, 11 Mar 2005 01:32:14 -0700, Ian Bartelds! kozuka2k@cox.net wrote:
Hey guy's my first time asking for support on wine so I will try and make it a quick one. Now I am having troubles with colours in text and behind text. I am trying to get a game to run correctly it's a MMORPG called legend of mir, now everything runs fine but the text box where you send and recieve messages all the "colors" behind the text is black all of the text is black is this a bug in wine?
It's very unlikely that wine does not report any error. I think you are using either a wine package without debug output or gentoo who compiles without that per default. You can check that by doing 'WINEDEBUG=+all wine [program.exe]'. It should output, let's say, alot.
Paul
Le vendredi 11 mars 2005 à 16:08 -0700, Ian Bartelds! a écrit :
Hey it's me again I try and do a WINEDEBUG=+all and it does nothing, I am using the gentoo linux version that I downloaded and compiled through portage
Thanks Ian Bartelds
recompile wine using debug USE flag:
ACCEPT_KEYWORDS=~x86 USE=debug emerge wine
I am compiling the cvs tree with --enable-debug so I will try it like this..
Peace Ian Bartelds
On March 11, 2005 05:09 pm, Jonathan Ernst wrote:
Le vendredi 11 mars 2005 à 16:08 -0700, Ian Bartelds! a écrit :
Hey it's me again I try and do a WINEDEBUG=+all and it does nothing, I am using the gentoo linux version that I downloaded and compiled through portage
Thanks Ian Bartelds
recompile wine using debug USE flag:
ACCEPT_KEYWORDS=~x86 USE=debug emerge wine
Ok here's where I am at.. I get these errors when I just do wine program.exe
err:wave:wodDsCreate DirectSound flag not set This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead. fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x403e7db8)->(00010024,00000053) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:ddraw:Main_DirectDrawClipper_Initialize (0x403e86b0)->(0x403e7dc4,0x00000000),stub! fixme:x11drv:X11DRV_DDHAL_CreatePalette stub fixme:ddraw:DIB_DirectDrawSurface_Blt dwFlags DDBLT_WAIT and/or DDBLT_ASYNC: can't handle right now. fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank (0x403e7db8)->(flags=0x00000001,handle=(nil)) fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
Now when I go WINEDEBUG=+relay wine legend.exe I get this huge list which basicly has :
0009:Call ntdll.RtlLeaveCriticalSection(40360db0) ret=404f714f 0009:Ret ntdll.RtlLeaveCriticalSection() retval=00000000 ret=404f714f 0009:Call ntdll.RtlFreeHeap(40360000,00000000,40360db0) ret=404cd2fd 0009:Call ntdll.RtlDeleteCriticalSection(40360db0) ret=404f71ad
Now I don't really see anything to do with text.
Thanks Ian Bartelds
On March 11, 2005 05:26 pm, Ian Bartelds! wrote:
I am compiling the cvs tree with --enable-debug so I will try it like this..
Peace Ian Bartelds
On March 11, 2005 05:09 pm, Jonathan Ernst wrote:
Le vendredi 11 mars 2005 à 16:08 -0700, Ian Bartelds! a écrit :
Hey it's me again I try and do a WINEDEBUG=+all and it does nothing, I am using the gentoo linux version that I downloaded and compiled through portage
Thanks Ian Bartelds
recompile wine using debug USE flag:
ACCEPT_KEYWORDS=~x86 USE=debug emerge wine
On Fri, 2005-03-11 at 18:31 -0700, Ian Bartelds! wrote:
Ok here's where I am at.. I get these errors when I just do wine program.exe
err:wave:wodDsCreate DirectSound flag not set This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead. fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x403e7db8)->(00010024,00000053) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:ddraw:Main_DirectDrawClipper_Initialize (0x403e86b0)->(0x403e7dc4,0x00000000),stub! fixme:x11drv:X11DRV_DDHAL_CreatePalette stub fixme:ddraw:DIB_DirectDrawSurface_Blt dwFlags DDBLT_WAIT and/or DDBLT_ASYNC: can't handle right now. fixme:ddraw:Main_DirectDraw_WaitForVerticalBlank (0x403e7db8)->(flags=0x00000001,handle=(nil)) fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
Now when I go WINEDEBUG=+relay wine legend.exe I get this huge list which basicly has :
0009:Call ntdll.RtlLeaveCriticalSection(40360db0) ret=404f714f 0009:Ret ntdll.RtlLeaveCriticalSection() retval=00000000 ret=404f714f 0009:Call ntdll.RtlFreeHeap(40360000,00000000,40360db0) ret=404cd2fd 0009:Call ntdll.RtlDeleteCriticalSection(40360db0) ret=404f71ad
Now I don't really see anything to do with text.
Thanks Ian Bartelds
On March 11, 2005 05:26 pm, Ian Bartelds! wrote:
I am compiling the cvs tree with --enable-debug so I will try it like this..
Peace Ian Bartelds
On March 11, 2005 05:09 pm, Jonathan Ernst wrote:
Le vendredi 11 mars 2005 à 16:08 -0700, Ian Bartelds! a écrit :
Hey it's me again I try and do a WINEDEBUG=+all and it does nothing, I am using the gentoo linux version that I downloaded and compiled through portage
Thanks Ian Bartelds
recompile wine using debug USE flag:
ACCEPT_KEYWORDS=~x86 USE=debug emerge wine
http://tuzakey.com/~scott/steam.png
Is this the same problem in Steam? I can't figure out how to make the text readable in the latest release. This is with a standard Wine + Winetools base setup install, and added "Managed"="N" to the config (since otherwise Steam breaks.)
Help would be much appreciated by us all :)
Thanks, Scott Ritchie
Ok here's where I am at.. I get these errors when I just do wine program.exe
err:wave:wodDsCreate DirectSound flag not set This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead. fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x403e7db8)->(00010024,00000053) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
I notice it's trying for 8 bit mode. I posted a patch a while ago to do with palette colours that was not been accepted (I'm busy right now but should get back to modifying it eventually). Try applying that and see if it fixes the problem. I've attached it. Failing that, I'd be interested in the portion of debug statements dealing with the SetTextColor call and the ExtTextOut call (if there are those calls for that particular string of text).
Glenn
Hey and thanks for your help! But This doesn't work i applyed the patch and recomplied but it still gives me the the same error's
and I compiled strait from the cvs yesterday!
Peace Ian Bartelds
On March 12, 2005 01:54 pm, you wrote:
Ok here's where I am at.. I get these errors when I just do wine program.exe
err:wave:wodDsCreate DirectSound flag not set This sound card's driver does not support direct access The (slower) DirectSound HEL mode will be used instead. fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x403e7db8)->(00010024,00000053) fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
I notice it's trying for 8 bit mode. I posted a patch a while ago to do with palette colours that was not been accepted (I'm busy right now but should get back to modifying it eventually). Try applying that and see if it fixes the problem. I've attached it. Failing that, I'd be interested in the portion of debug statements dealing with the SetTextColor call and the ExtTextOut call (if there are those calls for that particular string of text).
Glenn
I notice it's trying for 8 bit mode. I posted a patch a while ago to do with palette colours that was not been accepted (I'm busy right now but should get back to modifying it eventually). Try applying that and see if it fixes the problem. I've attached it. Failing that, I'd be interested in the portion of debug statements dealing with the SetTextColor call and the ExtTextOut call (if there are those calls for that particular string of text).
Glenn
I can't find anything on this SYSPALETTEINDEX you are using, but I know that colors created with DIBINDEX macro have 0x10 in their high byte. So you probably need to add some tests to get this patch applyed.
I notice it's trying for 8 bit mode. I posted a patch a while ago to do with palette colours that was not been accepted (I'm busy right now but should get back to modifying it eventually). Try applying that and see if it fixes the problem. I've attached it. Failing that, I'd be interested in the portion of debug statements dealing with the SetTextColor call and the ExtTextOut call (if there are those calls for that particular string of text).
Glenn
I can't find anything on this SYSPALETTEINDEX you are using, but I know that colors created with DIBINDEX macro have 0x10 in their high byte. So you probably need to add some tests to get this patch applyed.
Thanks very much for your comments. I'll be sure to change things when I do get a chance to work on the patch.
I'll take a look at fixing Ian Bartelds original problem when I get a chance too, but it's going to take time.
Glenn.
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
Hmmmm, a DDraw game that displays only black text in 8 BPP mode.... That looks suspiciously like the problem we have in AoE.
Could you do a +ddraw trace and see if it uses GetDIB DDraw calls. If yes, it may be the same issue.
Basically what I found out debugging AoE was that the game created a paletted surface without a palette attached, drew to it using the GetDIB calls and then standard ExtTextOut calls.
Apparently, it was as if Windows has a default palette when doing this code-path. Wanted to test it in 'real' Windows but never had the time.
Lionel (still in catch-up mode for old emails :-) )
On Sat, 12 Mar 2005 00:08:01 +0100, Ian Bartelds! kozuka2k@cox.net wrote:
the gentoo linux version
what version would that be ?
try posting a wine version number it would mean more.
You could also look in the gentoo mm forum , there is a post there with an ebuild for wine-cvs
HTH