I messed up my settings.
-
That's really weird,
python
is only used in RetroPie for startingjoy2key
(from Runcommand) and for Bluetooth controller pairing.
Can you get the Emulationstation log from/home/pi/.emulationstation/es_log
, after you start the game and get the error, and post it on pastebin.com ? -
@mitu said in I messed up my settings.:
es_log
The log file was in /opt/retropie/configs/all/emulationstation
/opt/retropie/configs/all/emulationstation
lvl2: Attempting to launch game...
lvl2: python /opt/retropie/configs/all/runcommand-onstart.sh /home/pi/RetroPie/roms/arcade/hypsptsp.zip arcade dummy
lvl1: ...launch terminated with nonzero exit code 512!
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: req sound [detailed.launch]
lvl2: (missing)
lvl2: Attempting to launch game...
lvl2: python /opt/retropie/configs/all/runcommand-onstart.sh /home/pi/RetroPie/roms/arcade/88games.zip arcade dummy
lvl1: ...launch terminated with nonzero exit code 512!
lvl2: Creating surface...
lvl2: Created window successfully.
lvl2: Added/Updated 2 entities in '/home/pi/RetroPie/roms/arcade/gamelist.xml'
lvl2: EmulationStation cleanly shutting down.that is all it says after trying the first entry in "Arcade".
Edit: Wrong log file. Sorry. Uploaded the correct one. I was pasting a log I found online.
-
@John_RM_70 I'm sorry to say it, but your problem is not in RetroPie, it's the script you have used to replace
runcommand
lvl2: python /opt/retropie/configs/all/RGB-Pi/Emu_Launcher.py /home/pi/RetroPie/roms/arcade/88games.zip arcade dummy
Are you using a RetroPie image or a 3rd party image ?
-
My own image. Built from scratch Retropie v4.4
I have been using custom runcommand-onstart.sh settings from many Pi2scart forums. But as soon as I found settings that went out of sync on my TV, I wiped them all and started again.
Ignore the first paste, I was googling the error and found a similar problem on a different forum. Forgot I had that in the clipboard. -
@John_RM_70 And it's still wrong. The command line
lvl2: python /opt/retropie/configs/all/runcommand-onstart.sh /home/pi/RetroPie/roms/arcade/hypsptsp.zip arcade dummy
makes no sense. The
onstart
script is not meant to be executable directly, but rather included by RetroPie's Runcommand script.
And Pythong and Bash are different scripting languages, so you can't execute a shell script with python.Did you modify your
es_systems.cfg
file and replaced the Runcommand with the script line above ? -
@mitu sharp eyes monsieur (or eagle eyes?)
-
@mitu said in I messed up my settings.:
Did you modify your es_systems.cfg file and replaced the Runcommand with the script line above ?
Sharp eyes indeed. I don't believe it but there is no es_systems.cfg, just a master file from the original Retropie install, and no back up. Thankfully, I backed this up to my PC last week. So, I'm going to put the backup file back and see if that does it.
I will get back a bit later, but I think mitu has solved this.Edit:
Ha, that did it, and everything now shows up properly. I didn't have a es_systems.cfg. Copied over a older backup and everything works great. Even my original custom hdmi_timings, the ones I tried before I messed up, now all work. Great.mitu:- Many thanks for your help. I owe you a beer.
-
Good thing that you have a backup, because …
no backup, no pity.
-
Yep, no backup then we only have ourselves to blame.
I'm wondering if the problems started when I have had to pull the power plug on the Pi, after exiting a game and getting a black screen - My TV goes out of sync. So, I'm basically not doing a clean shut down, and doing this for many times.
The custom settings I have wanted are from the Pi Scart hat - the RGB-Pi. It's not a traditional hat, it's a scart cable with a GPIO pins connection with the electronics in the cable. My Pi2Scart can't use it's settings, it uses 24-bit colour depth, and a different dtoverlay.
But, it does use the superb 1600px/1900px tweaks, which is what I'm determined to get working. Such as this"megadrive") # Load Sega Megadrive timings
vcgencmd hdmi_timings 1920 1 48 192 240 240 1 3 3 16 0 0 0 59.92 0 37680000 1
tvservice -e "DMT 87"
fbset -depth 32 && fbset -depth 32 -xres 1920 -yres 240
;;
Those look great, especially scrolling. But I can't get back to ES using runcommand-onend.sh, I just get a black screen. Hence all the illegal shut downs, and wiping it all and starting again.
Anyway, you live and learn, and I've definitely learnt the hard way. Thanks to you all, appreciate it.
-
@John_RM_70 said in I messed up my settings.:
The custom settings I have wanted are from the Pi Scart hat - the RGB-Pi. It's not a traditional hat, it's a scart cable with a GPIO pins connection with the electronics in the cable. My Pi2Scart can't use it's settings, it uses 24-bit colour depth, and a different dtoverlay.
You should just enable SSH and connect to the PI, then try various
tvservice
andvcgencmd
settings to plug into theonend
script. If the screen is blank, you'd still have control and try out things and even shutdown/restart, without having to pull the plug and abruptly shutdown the system. -
mitu, this is my onend script.
vcgencmd hdmi_timings 320 1 6 30 44 240 1 3 3 21 0 0 0 60 0 6400000 1
tvservice -e "DMT 87"
fbset -depth 32 && fbset -depth 32 -xres 320 -yres 240clear
This doesn't work. Not only do I get a blank screen, the Pi isn't responding via SSH. It's like the Pi locks up, but I can't see why.
-
@John_RM_70 Try one command at a time and see which ones locks up the Pi. It's probably
tvservice
, but it could be because of the previous command, whichspecifiesmight specify an invalid mode.
Have you triedtvservice -p
(preferred mode) ?
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.