Retropie autostart game
-
Hey im making a arcade game at school for a project and im really new to the retropie and realativly new to linux and I whonder how to create a script that starts a game when the pi startup in order not to give the player a chance to change anything and change game . Thx for the help in before hand :)
-
@Chris-Gran There are a few topics here with how to start single games instead of Emulationstation. Basically you modify the
autostart.sh
startup file and instead of starting Emulationstation, you start the emulator on the ROM you like - see here and here. -
@mitu im using game boy advanced game (pacman) if i want it to start imiddently after the pi startup is done without having to make the player to press start how do i do that. cozz Im not able to get the code for the auto start
-
@Chris-Gran I don't know what 'codes' are you talking about. Did you manage to start the game from command line, as indicated in the docs ?
-
@mitu nvm about my last question i made im in the autostart.sh now and don't really know what to do
-
@Chris-Gran Please see my previous answer.
-
@mitu I mean like if i want to launch a gba game instead of snes how do i do then?
-
@Chris-Gran Find out the name of the GBA emulator name and replace in the command line referenced in the docs the emulator and the ROM path. You can find out easily this information by looking at the Runcommand launch menu, where the name of the emulator is shown. You can also look in the Runcommand log file (
/dev/shm/runcommand.log
), after you've started your GBA game. -
@mitu i tried in the command line but it cant find a log
-
@Chris-Gran Maybe you should familiarize yourself with the RetroPie and command line before trying anything further. Enable SSH - see the docs on how to do that - and use WinSCP to browse the Pi's filesystem, studying the layout of the files.
-
@mitu , I just updated the documentation on how to autostart games properly using
runcommand
in https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#how-would-i-start-from-command-line-say-the-snes-emulator-by-itselfHopefully this clarifies the procedure to more novice users and saves some headaches :)
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.