Forum Replies Created
-
AuthorPosts
-
marvinkParticipant
Yeah, I got it! :D
Three points:
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!
marvinkParticipantHallo again!
So, work is still in progress…
I wrote the skript and it works fine until I want to execute the command,
I use:
command = retroarch -L /opt/retropie/libretrocores/lr-pocketsnes/libretro.so /home/pi/RetroPie/roms/snes/nameofmyrom.smc
subprocess.check_call(command, shell=True)But it returns:
“returned non-zero exit status 2”I tried some variations but I dont get it :(
Any ideas about that?
marvinkParticipantThat is a good starting point. Thanks!
marvinkParticipantThanks 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.
Greetz
Marvin -
AuthorPosts