Hi everyone. I’m slowly adding systems to my RetroPie setup. Such a great project! I have run into a hitch with DosBox (which runs games incredibly well on the Pi2!)
If I use the +Start DOSBOX script included when I installed it, it runs fine, and exits fine. Even if I load a game by manually mounting and running the .exe it works fine and exits fine back to emulationstation.
Now I am trying to create scripts to load the games automatically. If I create a script, for example skyroads.sh: /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc/Skyroads" -c "c:" -c "skyroads.exe" -c exit
It appears in emulation station and when you run it it just opens dosbox (seems the start dosbox script takes over.
Now when I select the game, it does run the script, and the game runs fine, but when you exit the game it crashes the Pi, it goes to a black screen and I lose all control, can’t SSH in etc. It isn’t the game itself because I have tried with another game, and if I remove the “exit” command from the script, it stays in DosBox fine until I exit and it should go back to emulationstaion. Also the same game runs fine if I run my skyroads.sh outside emulationstation.