@buzz Here is a link to the script on github. It currently puts the export command in .bashrc, but I tested it on my machine by putting it in /opt/retropie/configs/all/autostart.sh with no luck of the script launched by emulationstation detecting the variable. The programming is in function RAM_PIBOY_CHECK.