RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Dosbox CD not found

    Scheduled Pinned Locked Moved Help and Support
    dosbox
    8 Posts 2 Posters 736 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      10vorne
      last edited by

      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"

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        Modify the conf file and leave only the mount commands in the [autoexec] section. See if there are any errors reported by DosBox before staring the game. Check that D: is mounted correctly by cd-ing into it and listing its contents.

        1 1 Reply Last reply Reply Quote 0
        • 1
          10vorne @mitu
          last edited by

          @mitu It says "The image must be on a host or local drive"

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @10vorne
            last edited by

            @10vorne this means it cannot find the .iso file thus the D: drive is never created.

            1 1 Reply Last reply Reply Quote 0
            • 1
              10vorne @mitu
              last edited by

              @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.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @10vorne
                last edited by mitu

                @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 from dosbox, which emulates DOS).

                1 1 Reply Last reply Reply Quote 0
                • 1
                  10vorne @mitu
                  last edited by

                  @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.

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @10vorne
                    last edited by

                    @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), but imgmount may be one of the exceptions since it's used to interact with the host (Linux in this case) filesystem.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    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.