[Solved]DOS game won't launch via .sh or .conf file in emulation station
Montrovant last edited by Montrovant
I've been trying to figure this out my self, but a lot of the information I find seems to be outdated.
I'm running a Pi4 and the official Retropie img.
I have my DOS games located in:
I have my .sh and .conf files.
I also have +Start DOSBox.sh
Most games run just fine from .sh or .conf but some do not. the example I'll use is Loderunner the Legend Returns.
With this game I get thrown back to emulationstation just after dosbox launch.
If I put the game files for loderunner in /pi/RetroPie/roms/pc, launch dosbox and run the LODERUNN.EXE from within dosbox, it works fine..
These two post are the closest I've come to finding the same problem online:
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/pcroms/" -c "c:" -c "cd loderunnerLR" -c "LODERUNN.EXE" -c "exit"
[autoexec] MOUNT c /home/pi/pcroms/ C: CD loderunnerLR LODERUNN.EXE EXIT
I have also tried:
- Copying the entire dosbox-svn, renaming it loderunner.cfg and appending the [autoexec] part for loderunner.
- Moving the gamefiles to /pi/RetroPie/roms/pc and chaning the .sh or .cfg accordingly. It still only works if I launch it from within dosbox.
Any help or direction to other sources is appreciated!
Hopefully It's something obvious I've misunderstood.
DOS doesn't support more than 8 characters for folder/filename (not without some LFN add-ons). Shorten the name of the folder and re-try.
Btw, you don't need to create a
.shfile if you already have a
.conffile, EmulationStation will launch the
Montrovant last edited by
That seems to have sorted it! Thank you!
When I stared out I first visited the retropie docs
Which redirected me to this guide from 2015, that suggest using .sh scripts.
Now that everything is working I'll start converting everything over to just using conf-files, and optimizing the games :)