• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Retropie won't boot into a rom, tries, then goes to command line.

Scheduled Pinned Locked Moved Help and Support
bootautostartretropieretrogame
5 Posts 3 Posters 849 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Chadmon10
    last edited by Chadmon10 28 May 2022, 21:01

    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.

    S 1 Reply Last reply 29 May 2022, 00:47 Reply Quote 0
    • C
      Chadmon10
      last edited by Chadmon10 28 May 2022, 21:04

      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.

      1 Reply Last reply Reply Quote 0
      • C
        Chadmon10
        last edited by 28 May 2022, 21:37

        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.

        F 1 Reply Last reply 28 May 2022, 21:59 Reply Quote 1
        • F
          Floob @Chadmon10
          last edited by 28 May 2022, 21:59

          @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-itself

          So $HOME/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md
          or
          /home/pi/RetroPie/roms/megadrive/Sonic The Hedgehog 2 (World).md

          Please read the Docs before asking a new question.
          RetroPie Help Guides: https://goo.gl/3gcNsT

          1 Reply Last reply Reply Quote 1
          • S
            sleve_mcdichael @Chadmon10
            last edited by 29 May 2022, 00:47

            @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.

            1 Reply Last reply Reply Quote 1
            5 out of 5
            • First post
              5/5
              Last post

            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.

              This community forum collects and processes your personal information.
              consent.not_received