to save configuration settings you should use https://github.com/retropie/retropie-setup/wiki/Configuration-Editor