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 autostart game

    Scheduled Pinned Locked Moved Help and Support
    retropiehelparcade game
    11 Posts 3 Posters 4.5k 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
      Chris Gran
      last edited by

      Hey im making a arcade game at school for a project and im really new to the retropie and realativly new to linux and I whonder how to create a script that starts a game when the pi startup in order not to give the player a chance to change anything and change game . Thx for the help in before hand :)

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Chris Gran
        last edited by

        @Chris-Gran There are a few topics here with how to start single games instead of Emulationstation. Basically you modify the autostart.sh startup file and instead of starting Emulationstation, you start the emulator on the ROM you like - see here and here.

        C 1 Reply Last reply Reply Quote 1
        • C
          Chris Gran @mitu
          last edited by Chris Gran

          @mitu im using game boy advanced game (pacman) if i want it to start imiddently after the pi startup is done without having to make the player to press start how do i do that. cozz Im not able to get the code for the auto start

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Chris Gran
            last edited by

            @Chris-Gran I don't know what 'codes' are you talking about. Did you manage to start the game from command line, as indicated in the docs ?

            C 1 Reply Last reply Reply Quote 0
            • C
              Chris Gran @mitu
              last edited by

              @mitu nvm about my last question i made im in the autostart.sh now and don't really know what to do

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Chris Gran
                last edited by

                @Chris-Gran Please see my previous answer.

                C 1 Reply Last reply Reply Quote 0
                • C
                  Chris Gran @mitu
                  last edited by

                  @mitu I mean like if i want to launch a gba game instead of snes how do i do then?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Chris Gran
                    last edited by

                    @Chris-Gran Find out the name of the GBA emulator name and replace in the command line referenced in the docs the emulator and the ROM path. You can find out easily this information by looking at the Runcommand launch menu, where the name of the emulator is shown. You can also look in the Runcommand log file (/dev/shm/runcommand.log), after you've started your GBA game.

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      Chris Gran @mitu
                      last edited by

                      @mitu i tried in the command line but it cant find a log

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @Chris Gran
                        last edited by

                        @Chris-Gran Maybe you should familiarize yourself with the RetroPie and command line before trying anything further. Enable SSH - see the docs on how to do that - and use WinSCP to browse the Pi's filesystem, studying the layout of the files.

                        1 Reply Last reply Reply Quote 0
                        • H
                          hhromic
                          last edited by

                          @mitu , I just updated the documentation on how to autostart games properly using runcommand in https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#how-would-i-start-from-command-line-say-the-snes-emulator-by-itself

                          Hopefully this clarifies the procedure to more novice users and saves some headaches :)

                          1 Reply Last reply 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.