Auto-Load pacman Rom
-
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?
-
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 ? -
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 -
@Fredthedoggy What is the output of the following command ?
ls -lh ~/RetroPie/roms/nes/pacman.zip
Also, post the complete
autostart.sh
file. -
@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?
-
@mitu The command you gave me? it said
ls cannot access '~/RetroPie/roms/nes/pacman.zip': No such file or directory
-
@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 ?
-
@Fredthedoggy maybe try unzipping the rom and use the .nes file?
-
@lostless So put the .nes file in the nes folder directly?
-
@Fredthedoggy yes. Sometimes the zip files you find have multiple versions of a game and may confuse the emulator.
-
Thanks for the advice guys, but turns out I have to press ctrl+\ not ctrl+' for tilda
Thank you. -
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 :-)
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.