[Wine] Dosbox integration problem

digikata
Thu, 26 Apr 2012 16:53:20 -0000

I'm having problems running a batch script that executes a combination of 32
and 16 bit exe's.  The 32 bit programs run fine. When the 16-bit exe
executes, wine finds dosbox and dosbox executes the program fine. However that
16 bit program creates a file which then needs to be used in the following part
of the script. There's no sign of that file after dosbox exits and wine
continues to run the rest of the script with errors for the missing file.

If I startup dosbox separately, mount the location and run that fragment of the
script, the file is created and exists after the execution completes and dosbox
shuts down.

In the dosbox integration code for winedvm, I see "mount -z ..."
dosbox commands but can't find docs describing what the -z flag does.  The
wine integration code builds up a dosbox config file executes dosbox then wipes
out the file. Is there a workaround, or does anyone have any insight into
what's might need to be changed?  Otherwise, I think I'll see if I can
capture the "as built" config file before it's erased and see if I
can reenact  the disappearing file behavior using that config on dosbox
standalone.

This is on wine-1.5.2 and Dosbox 0.74 on OS X Snow Leopard.