hi wine-users, I have a problem with a program, that needs win3x. Everytime I try to run it under Wine, it says, that it cannot detect the proper windows version, though I have set the version to emulate to win31 in .wine/config It seems Wine does not care about, which version I want to emulate! Does someone has a clue about this? Harald
Running Debian Stable with latest KDE 3.1 and no longer can apt-get install wine as it has a dependency on libarts which breaks KDE 3.1 if I try to install it. On Wednesday 29 January 2003 06:25, Harald Katzer wrote:> hi wine-users, > > I have a problem with a program, that needs win3x. > Everytime I try to run it under Wine, it says, that it cannot detect > the proper windows version, though I have set the version to emulate > to win31 in .wine/config > > It seems Wine does not care about, which version I want to emulate! > Does someone has a clue about this? > > Harald > _______________________________________________ > wine-users mailing list > wine-users@winehq.com > http://www.winehq.com/mailman/listinfo/wine-users-- -- "Catch the Magic of Linux..." -------------------------------------------------------- Michael Peddemors - Senior Consultant LinuxAdministration - Internet Services NetworkServices - Programming - Security Wizard IT Services http://www.wizard.ca Linux Support Specialist - http://www.linuxmagic.com LinuxMagic is a Registered TradeMark of Wizard Tower TechnoServices Ltd. -------------------------------------------------------- (604)589-0037 Beautiful British Columbia, Canada
Harald Katzer wrote:>hi wine-users, > >I have a problem with a program, that needs win3x. >Everytime I try to run it under Wine, it says, that it cannot detect >the proper windows version, though I have set the version to emulate >to win31 in .wine/config > >It seems Wine does not care about, which version I want to emulate! >Does someone has a clue about this? > > >Why do you say it requires win3x. Have you tried it with any (other) version of windows? If it does not work unders say windows 95 it is doubtfull that it will run under wine. Some games are like that in that they are hybrid dos programs that want direct access to some hardware. That being said, if it runs under windows 9x most of the time wine _should handle at least the version check. In any case the last 1000 lines of a -debugmsg +relay before the message box pops up should give us some indication what the problem is. In addition to the trace some other information such as the wine version and name of the program is helpfull. -- Tony Lambregts
On Wed, 29 Jan 2003, Harald Katzer wrote:> hi wine-users, > > I have a problem with a program, that needs win3x. > Everytime I try to run it under Wine, it says, that it cannot detect > the proper windows version, though I have set the version to emulate > to win31 in .wine/config > > It seems Wine does not care about, which version I want to emulate! > Does someone has a clue about this? > > Harald"windows" "DOS" do not work for mz executables. I submitted a patch about it recently, but it fell into the bit bucket. The attached file is a p1 patch that can be applied like the Wine-xxxxxxxx.diff.gz in the README - except I didn't gzip it, so you don't need to gunzip it -, if you'd like to try it. IOW, cd <wine> patch -p1 </where/you/put/the/patch/file or cat version|patch -p1 -d <wine> I always throw in a --dry-run first to make sure I didn't fat-fingerr something. Lawson -- ---oops--- -------------- next part -------------- diff -urN was/misc/version.c is/misc/version.c --- was/misc/version.c Tue Oct 8 18:50:14 2002 +++ is/misc/version.c Fri Jan 10 10:54:28 2003 @@ -336,11 +336,12 @@ if (init_done) return; if (!GetModuleFileNameW( 0, buffer, MAX_PATH )) { - WARN( "could not get module file name\n" ); - return; + strncpyW( buffer, GetCommandLineW(), MAX_PATH); + if ((p = strchrW( buffer, ' '))) *p = 0; } init_done = TRUE; appname = buffer; + if ((p = strrchrW( appname, ':' ))) appname = p + 1; if ((p = strrchrW( appname, '/' ))) appname = p + 1; if ((p = strrchrW( appname, '\\' ))) appname = p + 1;