http://bugs.winehq.org/show_bug.cgi?id=25887
Summary: winevdm tries to run dos apps via dosbox on Z: which is reserved in dosbox Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dos AssignedTo: wine-bugs@winehq.org ReportedBy: pquiring@gmail.com
If you try to run a dos app that is not under .wine/drive_c (C:) winevdm will try to use Z: which is reserved in dosbox and fails. Need to mount / with another drive letter and then run the dos app in that folder. Winevdm doesn't even create a mount statement for z:
sample bad config generated:
[autoexec] mount c /home/user/.wine/dosdevices/c: mount y /home/user/.wine/dosdevices/y: Z: cd \home\user\DATA\games\game Z:\home\user\DATA\games\game\game.exe exit
http://bugs.winehq.org/show_bug.cgi?id=25887
--- Comment #1 from Peter Quiring pquiring@gmail.com 2011-01-25 21:48:43 CST --- Created an attachment (id=32995) --> (http://bugs.winehq.org/attachment.cgi?id=32995) proposed patch for running dos apps on z: via dosbox
Quick "untested" patch that should fix this.
http://bugs.winehq.org/show_bug.cgi?id=25887
--- Comment #2 from Peter Quiring pquiring@gmail.com 2011-01-25 22:03:42 CST --- Created an attachment (id=32996) --> (http://bugs.winehq.org/attachment.cgi?id=32996) alternate fix method - mounts c to root folder which is discouraged in dosbox
The other method might not work is program needs access to files in parent folders (rare for dos apps?)
But this method mounts root folder to C: which is discouraged in dosbox.
http://bugs.winehq.org/show_bug.cgi?id=25887
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch, source
http://bugs.winehq.org/show_bug.cgi?id=25887
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-01-26 03:54:15 CST --- You can't redefine the drive config since the app may use paths from arguments or input files. The right fix is to make the z drive configurable in dosbox.
http://bugs.winehq.org/show_bug.cgi?id=25887
--- Comment #4 from Peter Quiring pquiring@gmail.com 2011-01-26 12:12:28 CST --- Ya, or instead of using Z: you could change the root to be X: Or create a symlink ~/.wine/drive_c/root -> / so that c:\root is used.
Not a big deal, I hardly ever run dos apps. Just move them into drive_c.
http://bugs.winehq.org/show_bug.cgi?id=25887
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=25887
Spammer spammis@spam.la changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spammis@spam.la
--- Comment #5 from Spammer spammis@spam.la 2011-04-13 13:41:04 CDT --- There are some discussions about moving Dosbox's Z drive here: http://vogons.zetafleet.com/viewtopic.php?t=14834
Maybe Wine people could try lobbying for the proposed config file setting for moving the drive to another letter. Then Wine could pick any free letter for the Dosbox Z drive.
http://bugs.winehq.org/show_bug.cgi?id=25887
--- Comment #6 from André H. nerv@dawncrow.de 2011-04-13 13:58:36 CDT --- i already talked to the dosbox guys about some needed changes and they are not convinced yet to place them in their code. So maybe a more controllable way would be to go the winegecko way. I'm already getting familiar with dosbox code, that will help anyway.
http://bugs.winehq.org/show_bug.cgi?id=25887
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |emulava@gmail.com
--- Comment #7 from André H. nerv@dawncrow.de 2011-05-29 06:26:28 CDT --- *** Bug 27297 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25887
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|1.3.12 |1.3.11 Ever Confirmed|0 |1
--- Comment #8 from André H. nerv@dawncrow.de 2011-07-24 07:56:54 CDT --- confirming
The DOSBox Team was friendly and provided a way to us to change their zdrive: http://dosbox.svn.sourceforge.net/viewvc/dosbox/dosbox/trunk/src/dos/dos_pro...
I'm now writing our part.
http://bugs.winehq.org/show_bug.cgi?id=25887
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from André H. nerv@dawncrow.de 2011-07-27 12:23:02 CDT --- Now also fixed in Wine, we use the new dosbox feature since: http://source.winehq.org/git/wine.git/commitdiff/e5fdf97c66296aafec4713ed408...
Of course this only works with latest Wine and DOSBox svn or any not yet released Dosbox version greater than 0.74
http://bugs.winehq.org/show_bug.cgi?id=25887
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2011-08-05 12:39:01 CDT --- Closing bugs fixed in 1.3.26.
http://bugs.winehq.org/show_bug.cgi?id=25887
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e5fdf97c66296aafec4713ed408 | |7af8ef3c7c0ff
https://bugs.winehq.org/show_bug.cgi?id=25887
Rodesam rodesam@proton.me changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rodesam@proton.me
--- Comment #11 from Rodesam rodesam@proton.me --- Fix above is not working with DOSBox Staging.
https://github.com/dosbox-staging/dosbox-staging/pull/3528#issuecomment-2016...
if the WINE folk need support for some similar functionality, we can treat that separately and implement it cleanly.