VOGONS


First post, by newsdee

User metadata
Rank Newbie
Rank
Newbie

Is there any way to make Dosbox change its mounted directories while running a program?

Adventure Construction Set was originally designed to run on a floppy, and you would swap the disk to create a new adventure disk. However, I don't have a floppy disk on my laptop, so I need to simulate the swapping.

At first I thought it was no big deal. Since my floppy drive is mapped to a specific folder of my real HDD, I just tried to move the files out of there to pretend the disk is empty. However... Windows tells me that the files are in use (which they are) and does not want to move them, let alone rename them (I think that would be enough to trick the program the floppy is not there).

Then... how can I simulate a disk change with dosbox? I did not find anything in the Readme about it. 🙁

Don't panic.

Reply 1 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

while in a game you can't
when in the shell of dosbox type rescan.

Another possibility is mounting your directory as floppy
mount -t floppy and swap the files. (and hope dosbox and the game detect it somehow 😉

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 7, by newsdee

User metadata
Rank Newbie
Rank
Newbie

Thanks, I just tried that, but it doesn't work. The file is still recognized as in use so I can't replace or rename it. 🙁 The problem is that it happens precisely within a game, if not I would just restart the emu.

Don't panic.

Reply 3 of 7, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

I *think* I read about a free diskette emulation driver - originally for VMware - somewhere in these forums? Use that to make a B: drive in the host, and then mount B "B:" -t floppy in DOSBox?

Edit: Jap - here it is: http://chitchat.at.infoseek.co.jp/vmware/vfd.html
--
MiniMax

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 4 of 7, by newsdee

User metadata
Rank Newbie
Rank
Newbie

Thanks! That program looks very promising! Although now I need an util to create disk images from files on a HDD (as opposed from directly dumping a floppy). I'll post later if/when I find anything of the sort...

Edit: http://www.winimage.com/download.htm (shareware but has a GUI) seems to do the trick... testing right now...
There's also this freeware http://www.nu2.nu/bfi/index.php?p=1, but it's command-line.

Don't panic.

Reply 6 of 7, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Re: Don't panic.

That should be written in Large Friendly Letters. 😁

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32