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

    Auto-Load pacman Rom

    Scheduled Pinned Locked Moved Help and Support
    pacmanauto-load
    12 Posts 4 Posters 1.8k 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.
    • F
      Fredthedoggy
      last edited by

      I just got a Raspberry Pi 0 and set up retro pie. my goal is to make a scale PAC-MAN machine currently my autostart.sh is

      /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes ~/RetroPie/roms/nes/pacman.zip
      

      When I boot It goes through all the boot commands, and other setup processes, and then the screen goes dark for 20 seconds or so. then it shows the retropie logo (In Text) with uptime, temp, and other useless things. I can run the command

      EmulationStation
      

      to open the emulators, but It wont go into the pacman game. (I can open the game manually though)

      Summary:

      I want my retropie to boot into pacman, but even with what I think is a correct autostart.sh it doesnt work. What is the correct command to open the pacman NES rom on start?

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

        The command you posted seems correct, it works for me (minus the ROM name). I guess the command fails and that's why you get the login prompt after boot.
        What's in /dev/shm/runcommand.log right after you try to auto-boot the game ?

        1 Reply Last reply Reply Quote 0
        • F
          Fredthedoggy
          last edited by Fredthedoggy

          Is says:

          Failed to open ~/RetroPie/roms/nes/pacman.zip:  No such file or directory
          

          the thing is, I know that that is the filename
          @mitu

          mituM 1 Reply Last reply Reply Quote 1
          • mituM
            mitu Global Moderator @Fredthedoggy
            last edited by mitu

            @Fredthedoggy What is the output of the following command ?

            ls -lh ~/RetroPie/roms/nes/pacman.zip
            

            Also, post the complete autostart.sh file.

            1 Reply Last reply Reply Quote 0
            • F
              Fredthedoggy
              last edited by

              @mitu that was the full file (/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS nes ~/RetroPie/roms/nes/pacman.zip) is that not the full thing?

              1 Reply Last reply Reply Quote 0
              • F
                Fredthedoggy
                last edited by Fredthedoggy

                @mitu The command you gave me? it said

                ls cannot access '~/RetroPie/roms/nes/pacman.zip': No such file or directory
                
                mituM lostlessL 2 Replies Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Fredthedoggy
                  last edited by

                  @Fredthedoggy This means the file is not present there - so the Runcommand cannot run the ROM. You'll need to copy the ROM to the right place and re-try - how did you transfer the ROM to RetroPie and where ?

                  1 Reply Last reply Reply Quote 0
                  • lostlessL
                    lostless @Fredthedoggy
                    last edited by

                    @Fredthedoggy maybe try unzipping the rom and use the .nes file?

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fredthedoggy
                      last edited by

                      @lostless So put the .nes file in the nes folder directly?

                      lostlessL 1 Reply Last reply Reply Quote 0
                      • lostlessL
                        lostless @Fredthedoggy
                        last edited by

                        @Fredthedoggy yes. Sometimes the zip files you find have multiple versions of a game and may confuse the emulator.

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fredthedoggy
                          last edited by

                          Thanks for the advice guys, but turns out I have to press ctrl+\ not ctrl+' for tilda
                          Thank you.

                          1 Reply Last reply Reply Quote 0
                          • DNunoD
                            DNuno
                            last edited by

                            Well, I got the same idea. My objective was to start a mame game (Star Wars) automatically.

                            After spending some time to set up this, I wanted to share the solution to complete the explanation available of the Retropie FAQ.

                            So here's the content of my autostart.sh file :

                            pi@nunopi:/opt/retropie/configs/all $ more autostart.sh
                            /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ "mame-libretro" "/home/pi/RetroPie/roms/mame-libretro/starwars.zip"
                            

                            It works as expected! Quite easy with an example now :-)

                            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.