Unable to start DOSBOX, getting error with Runcommand and/or permissions
-
I have RetroPie working on an RPI3 right now. I've got all of the emulators working fine, with exception of DOSBOX.
I've installed it, updated it, re-installed it, and no matter what I try, when i open the MS-DOS section of the emulator list, then choose "+Start DOSBOX" it just goes to a black screen and puts 2 lines up on before going back to Retropie.
The lines read:
sh: 1: /opt/retropie/supplementary: Permission denied
sh: 2: /runcommand/runcommand.sh: not foundDoes anyone know how to fix this?
-
Please provide information as detailed here - https://retropie.org.uk/forum/topic/3/read-this-first
-
Please also post the output of
cat "/home/pi/RetroPie/roms/pc/+Start DOSBox.sh"
-
Pi Model: 3B
RetroPie Version Used: 4.02
Built From: Pre-made SD Image on RetroPie website
USB Devices connected: 1 xbox 360 controller
Controller used: Rock Candy Xbox 360 controller
Error messages received: (see first post)
Log found in /dev/shm/runcommand.log (if relevant): EMPTY
Guide used: n/a Just installed DOSBOX from optional package menu
File:+Start Dosbox.sh
Emulator: Dosbox
Attachment of config files:The entry for the PC emulator section of the /etc/emulationstation/es_systems.cfg file is:
<system> <name>pc</name> <fullname>PC (x86)</fullname> <path>/home/pi/RetroPie/roms/pc</path> <extension>.bat .com .exe .sh .BAT .COM .EXE .SH</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pc %ROM%</command> <platform>pc</platform> <theme>pc</theme> </system>
The contents of /opt/retropie/configs/pc/emulators.cfg is as follows:
dosbox = "/home/pi/RetroPie/roms/pc/+Start\ DOSBox.sh %ROM%" default = "dosbox"
-
Use markdown to format your posts - see http://commonmark.org/help/ - and put large logs on a pastebin type site like http://paste.ubuntu.com/ http://pastebin.com/ or similar.
You should wrap the XML in a code block otherwise information is not displayed correctly.
Please post the output of
cat "/home/pi/RetroPie/roms/pc/+Start DOSBox.sh"
Please wrap it in a code block or use an external site like pastebin.com
-
You can mark this SOLVED! I remembered I was following another site's suggestion on creating ".SH" files to automatically launch games in DOSBox without having to manually type the commands. Along the way, I had modified the es_systems.cfg file to give it an entry so it would show as an emulator because it wasn't coming up after installing DOSBox.
It turns out, there's more than one es_systems.cfg file. The one I posted above was in the ETC path. I found another one under /opt/retropie/configs/all/emulationstation/
When I opened it up, I guess I had somehow split the line:
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pc %ROM%</command>
into this:
<command>/opt/retropie/supplementary/ runcommand/runcommand.sh 0 _SYS_ pc %ROM% </command>
Once I backspaced each separation so it was on one line, it worked! Well, the "+Start DOSBox" entry works, but the ".SH" scripts I made do not launch the games properly, so that will be my next mission. Thanks for your help BuZz.
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.