Dosbox confusions, trying to mount a drive
-
I would appreciate any input on this.
I have been using Dosbox without issue on the Pi 3, latest build of RetroPie, but Daggerfall is giving me issues and I can't understand what I am doing wrong for such a simple task.
The first step I need to do is to mount the folder DFCD, placed in the pc/roms/ folder, as a drive. No matter what I try, it tells me that the folder doesn't exist.
I have tried:
mount D C:\DFCD
mount D C:\home\pi\RetroPie\roms\pc\DFCDEach time it tells me the directory doesn't exist.
From C:\ however I can type dir and clearly see that the folder does exist.
I'm obviously missing something really obvous here with the way that the file structure works in RetroPie, or just getting something completely wrong, but I'm having no joy finding out what the problem is.
Many thanks
-
That's because the path has to be what's on the Pi's micro SD card itself (NOT the fake C:\ hard drive DOSBox sets up), so when I mount a CD image in DOSBox (this example is from Warcraft 2), that's I put in my roms/pc folder, the complete command is:
imgmount d "/home/pi/RetroPie/roms/pc/War2/War2.iso" -t iso -fs iso
If you're trying to mount a directory (i.e. not a disc image like an ISO, BIN, IMG, whatever), I believe the end of the code gets tweaked slightly (you'll have to look that up as I'm not positive - I like using consolidated single-file ISO's instead of a folder with tons of files if I'm mounting it as a drive or a cd-rom).
EDIT Seems like if it's a folder, from the DOSBox Wiki, it would simply be:
MOUNT D C:\DOSGAMES
So in your instance, just change the path to ""/home/pi/RetroPie/roms/pc/FOLDER NAMEHERE" and you should be good to go. I use something like this to mount floppy drives to install an old floppy-based game.
-
if you make a .sh file for your msdos game here is an example of its contents:
/opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc/LSL" -c "c:" -c "SIERRA.EXE" -c "exit"
SIERRA.EXE is the exe file that starts this particular game. you can replace with a .BAT .bat file if need be. just remember caps/lowercase is important in linux. you need to type it exactly as it is showing on your system for the the path to the file and the executable file
-
Thanks for the input guys. With regards to the .sh, I will do that eventually but what I am trying to do first of all is to install the game. I previously tried installing the game onto a Windows machine and then transfering the installed folder across to the roms/pc/ folder, but came across issues getting it to detect that the CD was mounted.
I scrapped all that and started again using the free download from Bethesda, and using the following guide:
https://www.dosbox.com/wiki/GAMES:The_Elder_Scrolls_II:_Daggerfall
So for the first command listed, I may be able to get it to work using something like
mount d "/home/pi/RetroPie/roms/pc/DFCD" -t cdrom
and if not, I could look into creating an ISO instead?
-
I just edited my post above with information from the DOSBox wiki - on how to mount a FOLDER instead of a drive. You are correct in that it seems to use "mount" instead of "imgmount".
-
Here's a .sh script example for Mortal Kombat Trilogy using a .cue file:
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -conf "/home/pi/RetroPie/roms/pc/mkt/mkt.conf" -c "mount c /home/pi/RetroPie/roms/pc/mkt/mkta/mktril" -c "imgmount d /home/pi/RetroPie/roms/pc/mkt/mktb/tracks.cue -t iso" -c "c:" -c "MKTRIL.EXE" -c "exit"
-
Thanks for the help here, I've got it working this morning after managing to corrupt my installation last night and having to start again (note to self: back up save data regularly...)
For anyone interested in getting Daggerfall working, I ended up using the version of the game that comes with the Elder Scrolls Anthology set. I installed it on my Windows machine, and then copied over the folders DAGGER and DFCD into a folder called DF in the roms/pc/ path.
Edit the z.cfg file in the DAGGER folder so that the line for Path reads DF/dagger/Arena2
Then launching DosBox, do the following:
mount d "/home/pi/RetroPie/roms/pc/DF/DFCD" -t cdrom -label Daggerfall
cd DF/dagger
DAGGERThe game should launch fine.
Will set up a script to auto run this shortly, but I'm just happy to have it running.
Seems to run OK so far, but I've not hit any external areas yet so I expect there to be some degredation of performance there.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.