Hi everybody i'm running a very old app in dos i do Code: WINEDEBUG=+relay wine WP.EXE 2>&1 | less -i that's what i get in reponse 002e:Call USER.1: MESSAGEBOX(0000,13870c5a "This application must be run in either 16 or 256 color mode.\n",13870c98 "Error!",0010) ret=11f7:0155 ds=1387 [/code] what can i do? thx
On Sun, Mar 30, 2008 at 9:30 AM, Lorenzo <wineforum-user at winehq.org> wrote:> Hi everybody > > i'm running a very old app in dos > > i do > > Code: > > WINEDEBUG=+relay wine WP.EXE 2>&1 | less -i > > > > > > that's what i get in reponse > 002e:Call USER.1: MESSAGEBOX(0000,13870c5a "This application must be run in either 16 or 256 color mode.\n",13870c98 "Error!",0010) ret=11f7:0155 ds=1387 > > [/code] > > what can i do? > > thx >Totally a guess on my part but if the program *must* have 16 or 256 color then I'd try setting up some 256 color modes in my xorg.conf file. If you can get that working, and you MUST test that they are actually working in X itself first, then I'd try rerunning the program in Wine and see if Wine will switch to that mode while the program runs. Note that if the program wants a 256 color mode it probably also wants a very low screen resolution, like 640x480. I'd start there if I was going to play with xorg.conf. *Maybe* some advanced Wine user will know how to do all of this in Wine's native configuration but until I heard about that I'd go down this path first. Good luck, Mark
u think is it possible to run it without modifing xorg and start x-window over or not? thanks i'll wait for further post
> Hi everybody > > i'm running a very old app in dos > > i do > > Code: > > WINEDEBUG=+relay wine WP.EXE 2>&1 | less -i > > > > > > that's what i get in reponse > 002e:Call USER.1: MESSAGEBOX(0000,13870c5a "This application must be run in > either 16 or 256 color mode.\n",13870c98 "Error!",0010) ret=11f7:0155 > ds=1387 > > [/code] > > what can i do? > > thxYou might want to consider using DOSBox (http://www.dosbox.com/). ALexander N. S?rnes
cool stuff. u suggest to run dosbox in wine?
I messed up i though it was a dos apps but it is a windows app i dont think i'm gonna change my xorg everytime i want to run it, i'll try to modify the virtual desktop or wine configuration. if anyone can help..
Mark Knecht wrote:> Again, I have VERY little experience in this area under wine but in > Windows this is essentially what you'd be doing.Mark, this is not windows. All what you think you know about windows does not apply to Xorg and Wine. Please don't send users on a wild goos chaise if you don't know what you talking about. Lorenzo, ignore everything Mark told you. Xorg can not switch colors on-the-fly. At a minimum you'll have to start a separate X session: Code: xinit /usr/bin/wine WP.EXE -- :1 -depth 8 However that might not work with your video drivers/system setup. If that won't work, you can try and force Wine to lie to the app about BPP. However that will break all the programs run on Wine and you will have to manually edit Wine's user.reg file. Here is the registry key: Code: [HKCU\Software\Wine\X11 Driver] ScreenDepth=8
Mark Knecht wrote:> Additionally, I don't completely trust your analysis here as the other > day we had a problem with a user not seeing videos which I duplicated > both the problem and the solution here. The solution was in fact that > my xorg.conf file didn't have to correct settings so Wine didn't > switch into the right modes at the right scan rates. Once I made those > changes it worked fine. It was a two minute changeIt could be the problem here as well. Hard to tell what that program is looking at. Lorenzo, did you modified your xorg.conf as requested? What all the modes and color depths do you have listed there?
> Hi everybody > > i'm running a very old app in dos > > i do > > Code: > > WINEDEBUG=+relay wine WP.EXE 2>&1 | less -i > > that's what i get in reponse > 002e:Call USER.1: MESSAGEBOX(0000,13870c5a "This application must be run > in either 16 or 256 color mode.\n",13870c98 "Error!",0010) ret=11f7:0155 > ds=1387 > > [/code] > > what can i do?Which version of Word Perfect are you using? -- Tomas
thanks vitamin, i'll try it. it's not Word Perfect!
Lorenzo wrote:> Hi everybody > > i'm running a very old app in dos > > i do > > Code: > > WINEDEBUG=+relay wine WP.EXE 2>&1 | less -i > > > > > > that's what i get in reponse > 002e:Call USER.1: MESSAGEBOX(0000,13870c5a "This application must be run in either 16 or 256 color mode.\n",13870c98 "Error!",0010) ret=11f7:0155 ds=1387 > > [/code] > > what can i do? > > thx > > > >This appears to be a very old version of WordPerfect. I would be very suspicious of running this program in Wine. Is there a way that you can update the program to a more recent version? James McKenzie
Again.. it's NOT a Word Perfect version
I have already tested it in dosbox, and i find out it is a windows application. It's Sid Meier's Pirates! Gold Version. I made it running by the xinit command vitamin wrote up here but it runs too fast to play properly. thanks to everybody for helping
i think is the 93 version u mentioned. dosbox said it's a windows application, and the zip file i downloaded contains the executable named WP.EXE weird [Laughing]