Can dosbox read bin files?
-
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?
-
@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 d
argument. 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.
-
@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"
-
@mediamogul i hadnt gotten around to it yet. Thank you for this.
-
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. -
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".
-
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.
-
@holto yeah I figured it out 2 years ago. I even play with real discs too.
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.