Retropie won't boot into a rom, tries, then goes to command line.
-
Re: RetroPie Boot into a Single ROM
I'm trying to get my retropie to boot into a game so my kids don't need to mess with the menu settings. I have changed the autostart.sh to this:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ megadrive "/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md" && emulationstation
now when I boot my retropie, the gray screen comes up that says it's launching sonic 2 press a to configure... Except the game doesn't launch. After that screen, it launches emulationstation.
If I try this for my autostart.sh:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ megadrive "/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md"
removing the emulationstation command, it still pops up the gray launch screen like it will work, but then goes to the command line and nothing launches.
I'm ok with linux and CLI, but not an expert at debugging this. it's a pi 3b+ with updated retropie, (just ran the update script) with the only other thing I've done being that I used retrogame to remap my controls so I can use my gpio pins for buttons.
I feel like I'm close and missing something or some setting, but unsure how to troubleshoot this from here.
-
I can start the game fine from emulationstation, and I have tried other systems and games with the same result. Looks like they will launch and then nothing. I have also read all the other threads that cover this and tried all the solutions, but nothing is working for me.
-
Ok mods delete this if you want, perhaps it can help a fellow noob if not.
I realized that gray startup screen was literally telling me where a log file is located. I went to that log file and found the error, file doesn't exist or something to that effect.
So I launched the game from emulation station and went to that same log to see what command was executed when it was successful. I simply copied and pasted that command into my autostart.sh and appened " ; emulationstation" and voila!
So rather than copy and pasting the strings I found on the solutions, trying to change the filenames etc... it was much simpler to just read the actual command when executed from emulationstation and using that.
-
@Chadmon10
What likely happened is that it needed the full address as shown here
https://retropie.org.uk/docs/FAQ/#how-would-i-start-from-command-line-say-the-snes-emulator-by-itselfSo
$HOME/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md
or
/home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md
-
@Chadmon10 said in Retropie won't boot into a rom, tries, then goes to command line.:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ megadrive "/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md"
You forgot the
~
in~/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md
.
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.