Perso cela fonctionne, j'ai cependant du modifier le lanceur d'emulation station
Voici ce que j'ai fait :
J'ai me suis connecté en sftp sur recalbox (logiciel winscp / login root / mdp recalboxroot)
Je me suis posé dans le répertoire /etc/init.d et j'ai copié sur mon PC le fichier S32emulationstation que j'ai modifié comme cela
| #!/bin/sh |
| |
| |
| |
| systemsetting="recalbox_settings" |
| |
| PIDFILE=/var/run/emulationstation.pid |
| ESBIN=/usr/bin/emulationstation-starter |
| |
| scr_msg() { |
| printf "\r%20s%10s" "${1}" " " > /dev/tty0 |
| } |
| |
| case "$1" in |
| start) |
| enabled="`$systemsetting -command load -key system.es.atstartup`" |
| videoMode="`$systemsetting -command load -key system.es.videomode`" |
| if [ "$enabled" != "0" ];then |
| |
| fbdevHeight=$(cut -d, -f2 /sys/class/graphics/fb0/virtual_size) |
| |
| if [ "${fbdevHeight}" -le 320 ] ; then |
| fbv2 -f -i /recalbox/system/resources/splash/240p/logo-version.png |
| else |
| fbv2 -f -i /recalbox/system/resources/splash/logo-version.png |
| fi |
| |
| echo $videoMode | grep -qE "(CEA|DMT) [0-9]{1,2} (HDMI|DVI)" |
| [ $? = "0" ] && tvservice -e "$videoMode" |
| settings_lang="`$systemsetting -command load -key system.language`" |
| recallog "starting emulationstation with lang = $settings_lang" |
| if grep -q rpi4 /recalbox/recalbox.arch; then |
| HOME=/recalbox/share/system LANG="${settings_lang}.UTF-8" SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so SDL_VIDEO_EGL_DRIVER=/usr/lib/libEGL.so SDL_NOMOUSE=1 start-stop-daemon -S -q -m -p /var/run/emulationstation.pid --exec "$ESBIN" & |
| else |
| HOME=/recalbox/share/system LANG="${settings_lang}.UTF-8" SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so SDL_VIDEO_EGL_DRIVER=/usr/lib/libGLESv2.so SDL_NOMOUSE=1 start-stop-daemon -S -q -m -p /var/run/emulationstation.pid --exec "$ESBIN" & |
| fi |
| fi |
| /recalbox/scripts/recalbox-config.sh audio |
| ;; |
| stop) |
| recallog "Stopping Emulationstation" |
| start-stop-daemon -K -q -p "${PIDFILE}" |
| clear > /dev/tty0 |
| (echo;echo;echo;echo;echo) > /dev/tty0 |
| scr_msg "Please DO NOT power off Recalbox, PLEASE WAIT !!!" |
| ;; |
| restart|reload) |
| "$0" stop |
| if [ -f "${PIDFILE}" ] ; then |
| ESPID=`cat /var/run/emulationstation.pid 2>/dev/null` |
| while `"$0" status > /dev/null` ; do |
| sleep 0.1 |
| done |
| fi |
| "$0" start |
| ;; |
| status) |
| ESPID=`cat ${PIDFILE} 2>/dev/null` |
| if [ -f "${PIDFILE}" ] && `ps | grep -qE "^[[:space:]]*${ESPID}"` ; then |
| echo "Emulationstation is running (pid `cat /var/run/emulationstation.pid`)" |
| exit 0 |
| else |
| echo "Emulationstation is stopped" |
| exit 1 |
| fi |
| ;; |
| *) |
| echo "Usage: $0 {start|stop|restart}" |
| exit 1 |
| esac |
| |
| exit $? |
J'ai ensuite mis ce fichier dans le réperttoire /recalbox/share/system
Je me suis ensuite connect à recalbox avec putty avec le meme compte que winscp
la partition étant protégé en écriture, il faut lancer la commande
mount -o remount,rw /
ensuite on lance la copie
cp -f /recalbox/share/system/S31emulationstation /etc/init.d/
et on remet les droits
chmod 755 /etc/init.d/S31emulationstation
Hop pour ma part cela a parfaitement fonctionner.