RetroPie 3.7 + Child friendly EmulationStation wont start
-
Ok, so it replicates all right.
The script being called is:/opt/retropie/supplementary/emulationstation-kids/emulationstation.sh
which complains:./emulationstation: not found
But when I start that manually from that directory, it loads without issue!
This is the complete script:#!/bin/sh while true; do rm -f /tmp/es-restart /tmp/es-sysrestart /tmp/es-shutdown ./emulationstation "$@" [ -f /tmp/es-restart ] && continue if [ -f /tmp/es-sysrestart ]; then rm -f /tmp/es-sysrestart sudo reboot break fi if [ -f /tmp/es-shutdown ]; then rm -f /tmp/es-shutdown sudo poweroff break fi break done
So that seems normal as well.
Somehow it cannot find the binary in opt/retropie/supplementary/emulationstation-kids/, while it clearly is there. -
Here are a few more findings that i found out + a crash to command line..
In Console
pi@retropie:~ $ emulationstation (enter) /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh: 5: /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh: ./emulationstation: not found pi@retropie:~ cd /opt/retropie/supplementary/emulationstation-kids pi@retropie:/opt/retropie/supplementary/emulationstation-kids $ emulationstation (enter)
Well when i go there and start it, it starts.
Setting up all system to show and hide some games for every system and a couple for kid game and favorites.
Changed to Kid mode and also tried Kiosk mode. On the main screen it shows 1 Kid friendly game and 1 favorite and so on for every system. But when i select a system nothing shows up and when i try to go out to the main screen using B button it crashes to cmd line with this error message.emulationstation: /home/pi/RetroPie-Setup/tmp/build/emulationstation-kids/es-core/src/components/IList.h:125: const UserData& IList<EntryData, UserData>::getSelected() const [with EntryData = TextListData; UserData = FileData*]: Assertion `size() > 0' failed. Aborted
Changed settings from Parse Gamelist On/Off , Save Metadata On/Off same crash every time.
-
Is this with show favorites only on or off?
-
and if you look at the gamelist.xml data directly, do you see the values set correctly? (true/false for kidgame and fav).
-
Yes everything seems in order here.
sudo nano /opt/retropie/configs/all/emulationstation/gamelists/ports/gamelist.xml<?xml version="1.0"?> <gameList> <game> <path>./Cave Story.sh</path> <name>Cave Story</name> <desc></desc> <image></image> <thumbnail></thumbnail> <rating>0</rating> <releasedate>not-a-date-time</releasedate> <developer>unknown</developer> <publisher>unknown</publisher> <genre>unknown</genre> <players>1</players> <favorite>false</favorite> <kidgame>true</kidgame> <hidden>false</hidden> <playcount>0</playcount> <lastplayed>0</lastplayed> </game> <game> <path>./Doom.sh</path> <name>Doom</name> <desc></desc> <image></image> <thumbnail></thumbnail> <rating>0</rating> <releasedate>not-a-date-time</releasedate> <developer>unknown</developer> <publisher>unknown</publisher> <genre>unknown</genre> <players>1</players> <favorite>false</favorite> <kidgame>false</kidgame> <hidden>true</hidden> <playcount>0</playcount> <lastplayed>0</lastplayed> </game> <game> <path>./Duke Nukem 3D.sh</path> <name>Duke Nukem 3D</name> <desc></desc> <image></image> <thumbnail></thumbnail> <rating>0.000000</rating> <releasedate>not-a-date-time</releasedate> <developer>unknown</developer> <publisher>unknown</publisher> <genre>unknown</genre> <players>1</players> <favorite>false</favorite> <kidgame>false</kidgame> <hidden>false</hidden> <playcount>0</playcount> <lastplayed>0</lastplayed> </game> <game> <path>./Quake.sh</path> <name>Quake</name> <desc></desc> <image></image> <thumbnail></thumbnail> <rating>0</rating> <releasedate>not-a-date-time</releasedate> <developer>unknown</developer> <publisher>unknown</publisher> <genre>unknown</genre> <players>1</players> <favorite>false</favorite> <kidgame>false</kidgame> <hidden>true</hidden> <playcount>0</playcount> <lastplayed>0</lastplayed> </game> <game> <path>./Quake III Arena.sh</path> <name>Quake III Arena</name> <desc></desc> <image></image> <thumbnail></thumbnail> <rating>0</rating> <releasedate>not-a-date-time</releasedate> <developer>unknown</developer> <publisher>unknown</publisher> <genre>unknown</genre> <players>1</players> <favorite>true</favorite> <kidgame>false</kidgame> <hidden>true</hidden> <playcount>0</playcount> <lastplayed>0</lastplayed> </game> <game> <path>./Super Mario War.sh</path> <name>Super Mario War</name> <desc></desc> <image></image> <thumbnail></thumbnail> <rating>0.000000</rating> <releasedate>not-a-date-time</releasedate> <developer>unknown</developer> <publisher>unknown</publisher> <genre>unknown</genre> <players>1</players> <favorite>false</favorite> <kidgame>false</kidgame> <hidden>false</hidden> <playcount>0</playcount> <lastplayed>0</lastplayed> </game> </gameList>
Edit:
@Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:Is this with show favorites only on or off?
Yes i tried every combination known..
-
Ok, I'll need some more time to figure this out. That will not be before the end of this weekend, sorry.
In the meantime could you tell me under which circumstances exactly you observe the crash? It's only when you back out of a certain game-list? Any game-list? In all UI modi, even Full? -
@Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:
Ok, I'll need some more time to figure this out. That will not be before the end of this weekend, sorry.
In the meantime could you tell me under which circumstances exactly you observe the crash? It's only when you back out of a certain game-list? Any game-list? In all UI modi, even Full?Only in Kid and Kiosk mode. When in Full mode this don't happen. And only when first entering a system and pressing the back (B) button.
No problem at all, i do know that family and friends go firsthand before everything else.
Have a great weekend! :)
-
https://github.com/RetroPie/EmulationStation/commit/23d96b6a5667c6db1c1876b99841161f8478729a
has this been included in your fork ? This will be needed. we no longer pushd to the ES folder before launching from /usr/bin/emulationstation script.
If updating retropie-setup script and doing a full binary install, and above changes are done in the ES fork, it will need to be reinstalled from experiemental menu.
-
@BuZz said in RetroPie 3.7 + Child friendly EmulationStation wont start:
https://github.com/RetroPie/EmulationStation/commit/23d96b6a5667c6db1c1876b99841161f8478729a
has this been included in your fork ? This will be needed. we no longer pushd to the ES folder before launching from /usr/bin/emulationstation script.
If updating retropie-setup script and doing a full binary install, and above changes are done in the ES fork, it will need to be reinstalled from experiemental menu.
That should solve the startup problems but the crash to cmd is something different, or is it?
-
I'll try to update the fork tonight.
The crash is likely due to something else yes, but I have an inkling what might have caused it. Just need some time to take a proper look at it.
-
Ok, the starting should work now, the script has been updated.
-
@Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:
Ok, the starting should work now, the script has been updated.
Great!
Any new insight on the crash bug? -
I've tried a fresh install and I'm still getting the error when the script tries to start. Do I need to do anything other than updating the install script to make sure the install is pulling the latest version?
-
Ah & =%:€! I've pushed it to the wrong branch. Sorry.
I'll take another look on sunday.
In the meantime you can change the script manually, it's only 2 lines (see Buzz's link above).
Fixing the crash needs priority in any case... -
@Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:
Ah & =%:€! I've pushed it to the wrong branch. Sorry.
I'll take another look on sunday.
In the meantime you can change the script manually, it's only 2 lines (see Buzz's link above).
Fixing the crash needs priority in any case...Looking forward for a fix :)
Thank you
-
@Zigurana I demand better support for the price I'm paying... (looks at letter that was handed to him) apparently you do this for free so never mind :)
No worries. But for future reference do I need to run the retropie script update to pull the new code from experimental or do I just rerun the install script?
-
@Tarran: glad to hear that!
Just re-installing from the experimental menu should be sufficient if you've updated since the 22th of april. -
Ok, this time the commits should be ok (fingers crossed).
My latest commit to UI_modes_Kiosk_Kid_Full (called:This reverts some of the 'optimizations' I tried earlier.
) should- fix the script
- undo some work i did in the file listing, which obviously needs some more work (or a complete overhaul once I finally make the step to the SQL implementation).
@Rion , @Tarran , if you could be so good as to try and install it from the experimental menu, and tell me how it goes, that would be really swell!
There probably will be other issues/bugs, or things you might want smoothed out /added, just let me know, and I'll see what I can do.
-
I'll give it a try when I get home from work. I do want to say thank you for the work you're doing. Something like this a HUGE help to me as I'm building this system for my nephew and this lets me put all the games on there as he gets older rather than having to put only a few on. (Plus I know his parents will play it at night after he's asleep :P )
-
So EmulationStation starts now but it soon crashes with the following error
====================
input config finish command:
Input type is 'joystick'.
Configuring 'emulationstation'
Configuring 'mupen64plus'
Configuring 'reicast'
Configuring 'retrocarch'terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Aborted
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.