-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird mounting behavior #479
Comments
What OS is this on? For me, I get
And afterwards when I do Any other idea what could be different in your environment? |
Note that I'm using dosbox.conf with the same name as the game.zip... so it's named game.conf on the same level of game.zip Leisure Suit Larry 7 - Love for Sail (1996).conf
I'm using retroarch on my machine neofetch:
|
Oh, I see. If there is a ZIP, the ZIP will be mounted as C: long before the
The solution is to modify the ZIP to have the structure you want or to change the autoexec commands. |
modify the ZIPs will be laborious...
I would prefer to change the outside .conf than to change every all files that use hard path inside ZIPs |
Again, this will try to mount a physical folder (on the host systems real hard drive) called "ls7dos" into DOSBox as drive Y:. This will never mount a part of a ZIP file. DOSBox Pure does not have any means to do that. DOSBox has the "subst" command which looks like it almost could be used, but "subst" is limited to local drive mounts, it is implemented rather poorly. In theory something like this could be implemented in a future update:
We already have the remount command but a new submount command would need to get introduced that maps a sub-folder of a emulated drive as a new drive. Or we could fix the subst command to actually work properly. |
Yes that would do nicely. Thank you. Would submount be an easy change on your part? Also imgmount supports relative path with respect to zip but mount needs host path
|
SUBST X: [Y:]PATH - Assign PATH from Y: to drive X: SUBST X: /D - Delete substituted drive X:
When I use
mount c .\lsl7dos
I expect C: to be the inside of ls7dos
But in Pure, C: only lists the ls7dos folder
So to access C:\subfolder I have to cd ls7dos
This messes up any .bat script that use hard path like C:\subfolder
That was meant to be C:\lsl7dos\subfolder
But since Pure mounted it differently so subfolder is not found~
Any fix on this?
The text was updated successfully, but these errors were encountered: