DOSBox Launching Problem
-
I've transferred all my games over to a new system 4.6 (Pi4), everything is working on the old system fine and the new system, except my DOS games/Programs.
I launch a program from ES and get the following:
Z:\MOUNT C "/home/pi/RetroPie/roms/pc"
Drive C is mounted as local directory /home/pi/RetroPie/roms/pc/
Z:\C:All seems fine until the following line:
C:\WIN311.SH
Illegal command: WIN311.SHI can't work out why its calling win311.sh, it is the file to start the program, but I don't know why its calling it, or how to solve the problem..
I think my old system was using DOSBox and the new system is using lr-DOSBox, but I'm shooting in the dark here. Can someone point me in the right direction please?
Any help would be greatly appreciated! It will probably save me hours and hours of going round in circles ;-)
-
Please add more info about your system, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
Which emulator you used by default on the previous system - does it match the one used on the Pi4 system ?
-
I have checked my previous system and that is no longer working. I think I updated it a year or so ago and probably broke at that time. I have tried using DOSBox and lr-DOSBox, both create the same problem.
I've followed the guides here:
[https://github.com/RetroPie/RetroPie-Setup/wiki/PC](link url)
Recreated the .sh fileI have found the same problem here:
[https://retropie.org.uk/forum/topic/26086/emulationstation-parses-sh-files-into-runcommand-argument-for-lr-dosbox/8](link url)But I don't understand the solution. If lr-DOSBox doesn't use .sh files to launch, how do I get ES to see the game and launch it? Can someone point me in the right direction, I realise there is something I really should know, but don't yet!
-
.sh
files are not understood bylr-dosbox
, but they should work withdosbox
- as mentioned in the topic you referenced.The preferred way would be to use
.conf
file for launching your games, where you can set yourdosbox
preferences and add an[autoexec]
section for launching the game itself. For instance (game.conf
):[autoexec] MOUNT c /home/pi/RetroPie/roms/pc C: cd GameDir Game.exe EXIT
The
.conf
files are understood by bothdosbox
andlr-dosbox
.
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.