• 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 Boot into a Single ROM

Scheduled Pinned Locked Moved Help and Support
helpemulationstaionretropieautostart rom
37 Posts 9 Posters 15.9k 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.
  • M
    mediamogul Global Moderator @TMNTturtlguy
    last edited by mediamogul 5 May 2017, 21:06 5 May 2017, 19:57

    @TMNTturtlguy

    I believe you'd just replace %ROM% with the full path to the ROM, adding a backslash wherever there's a space.

    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

    K 1 Reply Last reply 9 Jan 2020, 08:35 Reply Quote 2
    • T
      TMNTturtlguy
      last edited by 5 May 2017, 20:10

      @Healy_um If you are up to it, give this a try, go to: /etc/profile.d and open this file in notepad ++ 10-retropie.sh

      Replace if lines with the code below:

       if [ "`tty`" = "/dev/tty1" ]; then
              bash "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-gpsp/gpsp_libretro.so --config /opt/retropie/configs/gba/retroarch.cfg /RetroPie/rom/gba/Pokemon\ fire\ Red.gba
       fi
      

      Let us know if it works!

      1 Reply Last reply Reply Quote 1
      • T
        tikiandskull
        last edited by 5 May 2017, 20:18

        Maybe that can help link text

        T 1 Reply Last reply 5 May 2017, 20:39 Reply Quote 0
        • T
          TMNTturtlguy @tikiandskull
          last edited by 5 May 2017, 20:39

          @tikiandskull I think the link you sent just tells users how to enter the mame gui screen by hitting tab. I read through the post and i do not believe the poster actually tells anyone how to boot directly into a single game. Thanks

          1 Reply Last reply Reply Quote 0
          • H
            Healy_um @mediamogul
            last edited by 5 May 2017, 21:26

            @mediamogul It worked!!! Thanks everyone who helped :) really didn't expect to get this working so fast! Thanks again all

            M 1 Reply Last reply 5 May 2017, 21:28 Reply Quote 2
            • M
              mediamogul Global Moderator @Healy_um
              last edited by 5 May 2017, 21:28

              @Healy_um

              I'm glad to hear it. For the benefit of others who might follow along behind you, can you specify which tactic worked for you?

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              H 1 Reply Last reply 5 May 2017, 21:29 Reply Quote 0
              • H
                Healy_um @mediamogul
                last edited by 5 May 2017, 21:29

                @mediamogul I've just edited the first post to include it :)

                M 1 Reply Last reply 5 May 2017, 21:29 Reply Quote 1
                • M
                  mediamogul Global Moderator @Healy_um
                  last edited by mediamogul 5 May 2017, 22:30 5 May 2017, 21:29

                  @Healy_um

                  Nice! Glad to see you're up and running.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  T 1 Reply Last reply 5 May 2017, 21:43 Reply Quote 0
                  • T
                    TMNTturtlguy @mediamogul
                    last edited by 5 May 2017, 21:43

                    @mediamogul nice work on the solution! much easier than mine was

                    M L 2 Replies Last reply 5 May 2017, 21:57 Reply Quote 1
                    • M
                      mediamogul Global Moderator @TMNTturtlguy
                      last edited by 5 May 2017, 21:57

                      @TMNTturtlguy

                      I'm always thankful when an easy solution pays off. More often than not I usually find that I've blown thrown 72 potential easy solutions, when a more complex approach would have ultimately saved time.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • L
                        LinuxArcadeGuy
                        last edited by LinuxArcadeGuy 7 Feb 2018, 10:22 2 Jul 2018, 09:21

                        this is the line that works:
                        /opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS capcom ~/RetroPie/roms/capcom/sfiii2.zip

                        backup your autostart.sh by duplicating it to autostart.sh.bak in WinSCP

                        customize to your own directory structure and rom name omit spaces or use \ like: Street\ Fighter\ 2.zip

                        1 Reply Last reply Reply Quote 0
                        • L
                          LinuxArcadeGuy @TMNTturtlguy
                          last edited by 2 Jul 2018, 21:18

                          @tmntturtlguy question that is right up your alley... looking to run a rom directly from main ES menu, versus opening a directory list... is this possible, thru my research I have found no way to do this, and a few nay-sayers...

                          What do you think?

                          M 1 Reply Last reply 3 Jul 2018, 00:16 Reply Quote 0
                          • M
                            mediamogul Global Moderator @LinuxArcadeGuy
                            last edited by 3 Jul 2018, 00:16

                            @linuxarcadeguy said in RetroPie Boot into a Single ROM:

                            looking to run a rom directly from main ES menu, versus opening a directory list... is this possible, thru my research I have found no way to do this, and a few nay-sayers...

                            Emulation Station is open source, so of course it could be done. However, you'd have to add the basic functionality for it first.

                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                            1 Reply Last reply Reply Quote 0
                            • M
                              mitu Global Moderator
                              last edited by 3 Jul 2018, 03:17

                              What exactly do you want to do ? You found a way to launch a single ROM on boot, if you want to go back to ES, just add the ES start command to the autostart.sh file, right after the runcommand you're using.

                              M 1 Reply Last reply 3 Jul 2018, 04:00 Reply Quote 0
                              • M
                                mediamogul Global Moderator @mitu
                                last edited by mediamogul 7 Mar 2018, 05:01 3 Jul 2018, 04:00

                                @mitu

                                I believe he's wanting to launch an item by selecting a system heading from the carousel. The practical uses would be pretty limited, but if memory serves, people are usually looking to launch Kodi directly without selecting a launch script from the resulting directory.

                                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                1 Reply Last reply Reply Quote 0
                                • E
                                  emuola
                                  last edited by 23 Aug 2018, 06:36

                                  Hi. Having some problems making this work. Trying to boot directly into a2600 and the legendary E.T. However, although I made the changes, the system still boots happily to ES. Weird. Here's my changes to /etc/profile.d/10-retropie.sh

                                  "/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS atari2600 ~/RetroPie/roms/atari2600/ET.bin"

                                  Thanks for your help in advance :)

                                  M 1 Reply Last reply 23 Aug 2018, 07:12 Reply Quote 0
                                  • M
                                    mediamogul Global Moderator @emuola
                                    last edited by mediamogul 23 Aug 2018, 07:12

                                    @emuola said in RetroPie Boot into a Single ROM:

                                    Here's my changes to /etc/profile.d/10-retropie.sh

                                    The launch command should be added to /opt/retropie/configs/all/autostart.sh.

                                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                    E 1 Reply Last reply 23 Aug 2018, 09:15 Reply Quote 0
                                    • E
                                      emuola @mediamogul
                                      last edited by 23 Aug 2018, 09:15

                                      @mediamogul said in RetroPie Boot into a Single ROM:

                                      @emuola said in RetroPie Boot into a Single ROM:

                                      Here's my changes to /etc/profile.d/10-retropie.sh

                                      The launch command should be added to /opt/retropie/configs/all/autostart.sh.

                                      Ooh. Am I stupid or what :D :D Thank you!

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        emuola
                                        last edited by emuola 23 Aug 2018, 10:03

                                        *** All ok now, seems a reboot cleared the situation***

                                        Sorry, but I ran into another problem when launching the game from the autostart.sh. The atari2600 core says I haven't configured my PS3 pad (the text flashes briefly in the lower left corner), which I actually have, but from the ES gui. So, now I should probably configure the controls again.

                                        I tried to remap from the Retroarch "ingame GUI", but could not figure out how to properly do it. Could someone please tell me how can I get the controller working? Currently it's only the keyboard that works :/

                                        edit

                                        Ok, the emulator only works with sudo, when started with autostart.sh. If there's no sudo, the emulator exits just before the game should start. I guess, my PS3 pad is now configured for the pi user (the default user for ES), but not for root? Just my guessing here...

                                        Any clues, how make the emulator works with sutostart.sh without sudo?

                                        Thanks :)

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kevin b @mediamogul
                                          last edited by 9 Jan 2020, 08:35

                                          @mediamogul Hi, I’m really new and green.

                                          I have tried to get my retro pie to load directly into the game but can’t. 4hrs later 😂😂😂

                                          How do I get my address for the rom ?

                                          B 1 Reply Last reply 9 Jan 2020, 10:53 Reply Quote 0
                                          • First post
                                            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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]