Dosbox CD not found
-
I want to get an old game running under Dosbox. The game is called “Herrscher der Meere”. I only had an ISO file, mounted it under Windows Dosbox, installed the game, and it ran under Windows Dosbox.
Then I copied the installation directory (and the iso) to the Pi. I wrote a conf, like I did it countless times with gog-games, it always worked, even with games that require a CD. I put the ISO in the installation directory.
I wrote the following conf file:
[IPX] ipx=false [autoexec] # Lines in this section will be run at startup. @ECHO OFF mount C "/home/pi/RetroPie/roms/pc/HdM/" imgmount d "/home/pi/RetroPie/roms/pc/HdM/HDM2011.iso" -t iso -fs iso c: HDMEERE.BAT goto exit :exit exit
I saw that the game also uses a Setup.ini, it initially said
[PATH] InstallPath = D:\hdmeere\ AppPath = C:\ATTIC\HDMEERE\
After copying the installation folder to pc/hdm on the retropie I changed the setup.ini to
[PATH] InstallPath = D:\hdmeere\ AppPath = C:\ [DIGITAL] DeviceName = Sound Blaster 16 DeviceIRQ = 7 DeviceDMA = 5 DevicePort = 0x220 DeviceID = 0xe018 DeviceString = "Sound Blaster 16" [SOUND] TimeTicks = 1 MouseClicks = 1 Effects = 50 Music = 100 Speech = 100 [OPTIONS] Intro = 0 SmackQuality = 1
I tried many different things, but the game always says "CD not found"
-
Modify the
conf
file and leave only themount
commands in the[autoexec]
section. See if there are any errors reported by DosBox before staring the game. Check thatD:
is mounted correctly bycd
-ing into it and listing its contents. -
@mitu It says "The image must be on a host or local drive"
-
@10vorne this means it cannot find the
.iso
file thus the D: drive is never created. -
@mitu The only problem seemed to be that the file ended in .ISO and I wrote .iso in the .conf file. That's it... now it works, everything else is as before.
-
@10vorne As I said, the file is/was not found. Linux filesystems are case-sensitive so
.iso
is not the same thing as.ISO
(despite running the commands fromdosbox
, which emulates DOS). -
@mitu Yes, the tipp to stop autostarting the game and to check the cd-mount was the right thing to do and kind of obvious for the solution. Sometimes you do not to see the wood for the trees, thank you for that.
I was actually aware of case-sensitivity, but I had the feeling that it didn't matter when it came to directory information in the conf files. Either I was mistaken or the file information is different than the directory information.
-
@10vorne said in Dosbox CD not found:
I was actually aware of case-sensitivity, but I had the feeling that it didn't matter when it came to directory information in the conf files.
Yes, you'd expect (DOS) commands run via
autoexec
to behave similarly to real DOS (i.e. case-insensitive), butimgmount
may be one of the exceptions since it's used to interact with the host (Linux in this case) filesystem.
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.