[Solved]DOS game won't launch via .sh or .conf file in emulation station
-
Hi!
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:
home/pi/pcroms/In /pi/RetroPie/roms/pc
I have my .sh and .conf files.
I also have +Start DOSBox.shMost 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:
https://retropie.org.uk/forum/topic/26086/emulationstation-parses-sh-files-into-runcommand-argument-for-lr-dosbox
https://retropie.org.uk/forum/topic/27767/game-won-t-launch-via-sh-file-on-retropie-with-dosbox-emulator#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/pcroms/" -c "c:" -c "cd loderunnerLR" -c "LODERUNN.EXE" -c "exit"
Loderunenr.conf:
[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. -
@montrovant said in DOS game won't launch via .sh or .conf file in emulation station:
CD loderunnerLR
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.sh
file if you already have a.conf
file, EmulationStation will launch theconf
file directly. -
That seems to have sorted it! Thank you!
When I stared out I first visited the retropie docs
https://retropie.org.uk/docs/PC/#install-gravis-ultrasound-gusWhich 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 :)
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.