Auto-Load pacman Rom
-
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.