Just save the autostart.sh to your RetroPie under /opt/retropie/configs/all/ and then edit the settings to your liking. mv /opt/retropie/configs/all/autostart.sh /opt ...
Before installing RetroPie, you’ll need to set up Raspberry Pi OS (formerly known as Raspbian ... To play games on your RetroPie system, you’ll need to add ROM files, which are digital copies of game ...