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

    Can dosbox read bin files?

    Scheduled Pinned Locked Moved Help and Support
    8 Posts 3 Posters 3.2k 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.
    • edmaul69E
      edmaul69
      last edited by

      So i have the 7th guest and the 11th hour that i want to run on dosbox. Can i extract the files from the multiple discs and make it work or do i need bin files? or is it even possible for games that have disc or multiple discs to run on it?

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @edmaul69
        last edited by mediamogul

        @edmaul69 said in Can dosbox read bin files?:

        is it even possible for games that have disc or multiple discs to run on it?

        It is possible to run bin/cue files by launching them from Emulation Station with a shell script using the imgmount dargument. Below is an example script I use for launching 'Mortal Kombat Trilogy'.

        #!/bin/bash
        /opt/retropie/emulators/dosbox/bin/dosbox -c "set joysticktype=none" -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"
        

        Edit: I imagine that multiple mount commands would accommodate multi-disc games, but I've never tried it.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 1
        • mediamogulM
          mediamogul Global Moderator
          last edited by

          @edmaul69
          You probably worked this out long ago, but I just installed my first multi-disc game today and it works well. I thought I'd post the example for posterity.

          #!/bin/bash
          /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc/ntrap" -c "imgmount d /home/pi/RetroPie/roms/pc/ntrap/ntrap1.iso /home/pi/RetroPie/roms/pc/ntrap/ntrap2.iso -t iso" -c "d:" -c "cd /setup/" -c "game.bat" -c "exit"
          

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          edmaul69E 1 Reply Last reply Reply Quote 1
          • edmaul69E
            edmaul69 @mediamogul
            last edited by

            @mediamogul i hadnt gotten around to it yet. Thank you for this.

            1 Reply Last reply Reply Quote 0
            • H
              holto
              last edited by

              Old topic, but came up in a search for me today when trying to figure out how add a dos game w/ CD to the pc (dosbox) emulator and make it work. The above thread was helpful but did not work. The example game I was trying to load is called Animal. the path in the pc folder was games\animal and the path to the cd directory was games\animal\cd. doing imgmount directly to D failed with an error related to the path or file everytime, no matther I tried it. Here is the contents of the batch file that worked perfectly to load this game:
              mount e /home/pi/RetroPie/roms/pc/games/animal/cd
              e:
              imgmount d ANIMAL.CUE -t iso
              dir
              c:
              cd \games\animal\ANIMAL
              pause
              ANIMAL.COM
              exit

              I threw a Pause command in to pause the execution and make sure the .cue file was mounting. I also didn't use echo off or another commands to prevent the dos command visibility. So, feel free to use something like this for testing and go back and cleanup the load appearance later. Hope this helps someone out there.

              H 1 Reply Last reply Reply Quote 1
              • H
                holto @holto
                last edited by

                My reply was a little messy. To be clearer, the .bat file in the root of the pc folder in the RetroPie roms directory contained commands to first mount drive "e" with the path to the cd. I then changed the current drive to e, with the "e:" command. I then imgmounted the file in the root of e: to d: as an iso type. I did a "dir" just to see the contents of the e: drive for debugging purposes, so this is extraneous. I then changed to the c: drive and the path to the executable. As mentioned previously, the pause command was used so DOSBox would let me see how things were going before launching the program "Animal.com".

                1 Reply Last reply Reply Quote 0
                • H
                  holto
                  last edited by

                  Lastly, the topic title is never specifically answered. If you imgmount the .bin file instead of the .cue file which references it you supposedly will have sound issues. So mount the .cue file.

                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @holto
                    last edited by

                    @holto yeah I figured it out 2 years ago. I even play with real discs too.

                    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.