marvinkParticipant02/02/2016 at 00:58Post count: 5
I want to start a specific emulator (for example “snes”) from the command line so that I only have to choose the game I want to play. Is there a command for this purpose?
MarvinherbfargusMember02/02/2016 at 01:00Post count: 1858labelwhoreParticipant02/02/2016 at 02:48Post count: 526
Just to add to Herb’s reply. You can see the commands ES is using when it starts an emulator by looking at the emulators.cfg files in the respective folders here
/opt/retropie/configsmarvinkParticipant02/13/2016 at 15:27Post count: 5
Thanks for the answers!
My RetroPie-Project goes ahead and I think I need some base support.
All hardware is available and now the tinkering and programming can start.
So thats the plan:
I have an old rotary phone and want to use it as the case for my raspberry pi 2. Instead of the normal RetroPie Gui I will show my own user interface where all available games are displayed with a “phonenumber”. The user can then dial a number to start a specific game. Probably there will be no more than 10 games.
I think the answers above will help me to start the game, but a few questions are still open:
How can I start my own programm while system start, instead of the RetroPie GUI?
Which programming language should I use? (I have some experience with C#, Java, C and Python)
I’m thankful for every tip.
MarvinlabelwhoreParticipant02/16/2016 at 15:46Post count: 526
First you’ll need to stop ES from starting up at boot time. I believe you can do this from the retropie-setup script. From there the easiest way to get something to run at boot time is to add a command to
/etc/rc.local.marvinkParticipant03/08/2016 at 01:46Post count: 5
So, work is still in progress…
I wrote the skript and it works fine until I want to execute the command,
command = retroarch -L /opt/retropie/libretrocores/lr-pocketsnes/libretro.so /home/pi/RetroPie/roms/snes/nameofmyrom.smc
But it returns:
“returned non-zero exit status 2”
I tried some variations but I dont get it :(
Any ideas about that?marvinkParticipant03/09/2016 at 00:59Post count: 5
Yeah, I got it! :D
1.:’subprocess’ does not work. I had to use ‘os.system’
2.: I had to use the full path, when calling the ‘retroarch’ command.
3.: I had to insert a backslash for each space and parentheses in the name of the roms.
The rest should be simple, but we will see…
Again, thanks for the help!
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.