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

    Restart/Shutdown/Reboot EmulationStation options do not work after translating

    Scheduled Pinned Locked Moved Help and Support
    helpemulationstaion
    9 Posts 2 Posters 186 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.
    • L
      LionSquall
      last edited by

      hello, I followed the steps in this post
      https://retropie.org.uk/forum/topic/12296/emulationstation-localization-translation/288
      and I was able to translate very well into Spanish, but I get the error that when I turn off the system, restart it or restart emulatiostation, it takes me to the terminal as if it only exited emulationstation

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        How are you starting EmulationStation ?

        1 Reply Last reply Reply Quote 0
        • L
          LionSquall
          last edited by

          in the /opt/retropie/configs/all/autostart.sh i put LANG=es_ES.UTF8 /home/pi/EmulationStation/emulationstation #auto

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @LionSquall
            last edited by

            As noted in the other topic you've replied, this will not work - since the restart and shutdown functions are provided by the the emulationstation script in /usr/bin. You'll need to copy that script somewhere else (/home/pi/scripts) and modify it so it starts your own version of EmulationStation, then use the new script to start EmulationStation.

            1 Reply Last reply Reply Quote 0
            • L
              LionSquall
              last edited by

              @mitu said in Restart/Shutdown/Reboot EmulationStation options do not work after translating:

              As noted in the other topic you've replied, this will not work - since the restart and shutdown functions are provided by the the emulationstation script in /usr/bin. You'll need to copy that script somewhere else (/home/pi/scripts) and modify it so it starts your own version of EmulationStation, then use the new script to start EmulationStation.

              you say it won't work no matter what?
              sorry my bad english and my newbie on this.
              How do I replace what you say?
              a user wrote this
              "ERRORS AND BUGS, FINAL CONSIDERATIONS

              If you do not replace the backward originals with your compiled ones, there will be errors using the shutdown, restart, reset emulationstation menus.
              If you do not install the basic issues does not compile. "
              

              Is it a bug that has no solution?

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                @LionSquall said in Restart/Shutdown/Reboot EmulationStation options do not work after translating:

                Is it a bug that has no solution?

                It's not a bug, this is how shutdown/restart are implemented - externally, using the script I mentioned, and not in EmulationStation itself.

                How do I replace what you say?

                • Copy the /usr/bin/emulationstation to the /home/pi folder and also /opt/retropie/supplementary/emulationstation/emulationstation.sh
                • Open the 1st file in a text editor and replace /opt/retropie/supplementary/emulationstation/emulationstation.sh with /home/pi/emulationstation.sh
                • Open the 2nd file and replace the esdir value with with the folder where you have compiled your new EmulationStation (/home/pi/EmulationStation/)
                • In autostart.sh, replace /home/pi/EmulationStation/emulationstation with /home/pi/emulationstation.
                1 Reply Last reply Reply Quote 0
                • L
                  LionSquall
                  last edited by

                  When you say, "Open the 1st file in a text editor and replace /opt/retropie/supplementary/emulationstation/emulationstation.sh with /home/pi/emulationstation.sh" do you mean the original (sudo nano /usr/bin/emulationstation) or the copied (sudo nano /home/pi/emulationstaion)? the same question when you say "Open the 2nd file and replace..."

                  thank you very much for your patience and again sorry my newbie

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    You need to edit the files you copied, not the original ones (which most likely are not writable by the pi user).

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      LionSquall @mitu
                      last edited by

                      @mitu After trying all day and failing I will tell you what I did

                      1. I tried your solution and it didn't work
                      2. I started from 0 the two translation tutorials of the original post. In both I get this error at the end

                      /home/pi/EmulationStation/es-core/src/resources/font.cpp:17: font : :fontface : : fontface(resourcedata&&, int) : assertion `!err' failed

                      then try two possible solutions:
                      a) update retropie setup (dont work)
                      b) update emulationstation from source (work but back to english)

                      the only thing that works so that it is translated but the shutdown / restart menu does not work is to put in autostart.sh LANG=es_ES.UTF8 /home/pi/EmulationStation/emulationstation #auto

                      thank you for your patience

                      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.