• 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

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 23 Jul 2019, 01:17

    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
    • M
      mitu Global Moderator
      last edited by 23 Jul 2019, 03:55

      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 23 Jul 2019, 11:49

        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

        M 1 Reply Last reply 23 Jul 2019, 11:51 Reply Quote 1
        • M
          mitu Global Moderator @Fredthedoggy
          last edited by mitu 23 Jul 2019, 11:51

          @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 23 Jul 2019, 11:56

            @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 23 Jul 2019, 12:00

              @mitu The command you gave me? it said

              ls cannot access '~/RetroPie/roms/nes/pacman.zip': No such file or directory
              
              M L 2 Replies Last reply 23 Jul 2019, 13:02 Reply Quote 0
              • M
                mitu Global Moderator @Fredthedoggy
                last edited by 23 Jul 2019, 13:02

                @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
                • L
                  lostless @Fredthedoggy
                  last edited by 23 Jul 2019, 13:27

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

                  1 Reply Last reply Reply Quote 0
                  • F
                    Fredthedoggy
                    last edited by 23 Jul 2019, 14:18

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

                    L 1 Reply Last reply 23 Jul 2019, 14:56 Reply Quote 0
                    • L
                      lostless @Fredthedoggy
                      last edited by 23 Jul 2019, 14:56

                      @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 23 Jul 2019, 22:53

                        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
                        • D
                          DNuno
                          last edited by 22 May 2021, 15:33

                          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.

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