Restart/Shutdown/Reboot EmulationStation options do not work after translating
-
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 -
How are you starting EmulationStation ?
-
in the /opt/retropie/configs/all/autostart.sh i put LANG=es_ES.UTF8 /home/pi/EmulationStation/emulationstation #auto
-
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. -
@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 CONSIDERATIONSIf 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?
-
@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
.
- Copy the
-
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
-
You need to edit the files you copied, not the original ones (which most likely are not writable by the
pi
user). -
@mitu After trying all day and failing I will tell you what I did
- I tried your solution and it didn't work
- 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
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.