Wine's DOSBox misconfiguration terminates execution

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
flerchjj
Level 1
Level 1
Posts: 9
Joined: Thu Sep 11, 2008 3:25 pm

Wine's DOSBox misconfiguration terminates execution

Post by flerchjj »

Wine appears to be generating an incorrect DOSBox configuration file at "~/.wine/dosdevices/c:/users/$USER/Temp/".

I can run DOSBox directly but running through Wine briefly displays

Code: Select all

wine C:/DOS_Games/convert.exe DOSBox version 0.74 Copyright 2002-2010 DOSBox Team, published under GNU GPL. --- CONFIG:Loading primary settings from config file /Users/jeremiah/.wine/dosdevices/c:/users/jeremiah/Temp/cfg208.tmp MIDI:Opened device:coreaudio
then opens a window and before immediately closing.

If you open winevdm.c and set "args[1]" & "args[2]" inside the "start_dosbox" function to "NULL" and then recompile, then Wine will correctly open DOSBox. Updating to the SVN version of DOSBox may also help (dosbox.svn.sourceforge.net/viewvc/dosbox/dosbox/trunk/?view=tar) but I haven't tried that yet. Is this a remnant from the filename mangling from Wine that the DOSBox devs are saying will be corrected for in release 0.75?
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Re: Wine's DOSBox misconfiguration terminates execution

Post by André H. »

"DOS_Games" has more than 8 characters, so yes, you'll need dosbox SVN or upcoming 0.75
Locked