Autostart NES Rom at startup
-
Hi
Running Retropie on Ras Pi3 the latest versionI would like the Pi3 & retropie to load a Rom (NES) at start up without user interaction...
So when the user would power the PI3 up he would go straight to the game if possible withourt any splash screens
I tried to follow an old guide but it fail to work this it what it advised to do:
- from command line type:
sudo nano /etc/rc.local - add the following text to the bottom:
sudo /opt/retropie/emulators/mame4all-pi/mame ROMFILENAME - Save the file and reboot.
This is what I did:
.#!/bin/sh -e
.#
.# rc.local
.#
.# This script is executed at the end of each multiuser runlevel.
.# Make sure that the script will "exit 0" on success or any other
.# value on error.
.#
.# In order to enable or disable this script just change the execution
.# bits.
.#
.# By default this script does nothing..# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
sudo /opt/retropie/emulators/mame4all-pi/mame hogans-alley.nes
exit 0Any help apreciated
- from command line type:
-
rc.local is the wrong place (Also mame is for arcade - not for nes)
edit
/opt/retropie/configs/all/autostart.sh
and add at the top/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes ~/RetroPie/roms/nes/NAMEOFROM
-
Hey Buzz Thanks !
-
@BuZz hey Buzz, I am trying to follow this, currently my autostart.sh has:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes /home/pi/Retropie/roms/nes/mario.nes
I removed the emulatorstation line.
The retropie boots up tries to start the game but jumps to command line right after. If I type in the above command in command line it starts the game fine. What do I need to do to have it load the game instead of jumping to command line?
-
@kick53rv3 please do not open new topics for the same issue. Closing this one.
-
My bad. Confused as more than one poster.
-
Oh - Also in the other thread it was mentioned that your command line is wrong. Retropie should be RetroPie. Case sensitive.
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.