RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    RetroPie 3.7 + Child friendly EmulationStation wont start

    Scheduled Pinned Locked Moved Help and Support
    70 Posts 12 Posters 28.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zigurana
      last edited by

      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.

      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

      1 Reply Last reply Reply Quote 1
      • RionR
        Rion
        last edited by

        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.

        FBNeo rom filtering
        Mame2003 Arcade Bezels
        Fba Arcade Bezels
        Fba NeoGeo Bezels

        B 1 Reply Last reply Reply Quote 0
        • Z
          Zigurana
          last edited by

          Is this with show favorites only on or off?

          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

          1 Reply Last reply Reply Quote 0
          • Z
            Zigurana
            last edited by

            and if you look at the gamelist.xml data directly, do you see the values set correctly? (true/false for kidgame and fav).

            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

            RionR 1 Reply Last reply Reply Quote 0
            • RionR
              Rion @Zigurana
              last edited by Rion

              @Zigurana

              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..

              FBNeo rom filtering
              Mame2003 Arcade Bezels
              Fba Arcade Bezels
              Fba NeoGeo Bezels

              1 Reply Last reply Reply Quote 0
              • Z
                Zigurana
                last edited by

                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?

                If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                RionR 1 Reply Last reply Reply Quote 1
                • RionR
                  Rion @Zigurana
                  last edited by

                  @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! :)

                  FBNeo rom filtering
                  Mame2003 Arcade Bezels
                  Fba Arcade Bezels
                  Fba NeoGeo Bezels

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by BuZz

                    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.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    RionR 1 Reply Last reply Reply Quote 1
                    • RionR
                      Rion @BuZz
                      last edited by

                      @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?

                      FBNeo rom filtering
                      Mame2003 Arcade Bezels
                      Fba Arcade Bezels
                      Fba NeoGeo Bezels

                      1 Reply Last reply Reply Quote 0
                      • Z
                        Zigurana
                        last edited by

                        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.

                        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                        1 Reply Last reply Reply Quote 1
                        • Z
                          Zigurana
                          last edited by

                          Ok, the starting should work now, the script has been updated.

                          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                          RionR 1 Reply Last reply Reply Quote 1
                          • RionR
                            Rion @Zigurana
                            last edited by

                            @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?

                            FBNeo rom filtering
                            Mame2003 Arcade Bezels
                            Fba Arcade Bezels
                            Fba NeoGeo Bezels

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tarran
                              last edited by

                              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?

                              1 Reply Last reply Reply Quote 0
                              • Z
                                Zigurana
                                last edited by

                                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...

                                If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                RionR T 2 Replies Last reply Reply Quote 1
                                • RionR
                                  Rion @Zigurana
                                  last edited by

                                  @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

                                  FBNeo rom filtering
                                  Mame2003 Arcade Bezels
                                  Fba Arcade Bezels
                                  Fba NeoGeo Bezels

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tarran @Zigurana
                                    last edited by

                                    @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?

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z
                                      Zigurana @Tarran
                                      last edited by

                                      @Tarran: glad to hear that!
                                      Just re-installing from the experimental menu should be sufficient if you've updated since the 22th of april.

                                      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                      1 Reply Last reply Reply Quote 1
                                      • Z
                                        Zigurana
                                        last edited by

                                        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

                                        1. fix the script
                                        2. 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.

                                        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                        T RionR 2 Replies Last reply Reply Quote 1
                                        • T
                                          Tarran @Zigurana
                                          last edited by

                                          @Zigurana

                                          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 )

                                          1 Reply Last reply Reply Quote 1
                                          • T
                                            Tarran
                                            last edited by

                                            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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.