I noticed every time i manually updated an emulation from the script it would replace my systems.cfg? I usually have it in order and assigned for specifics but it completely get replaced with the default one? Not sure if it’s a bug or just something with the script.
I think ES always creates a backup of your es_systems.cfg file before replacing it. It should be called es_system.cfg.bak, in the same folder (etc/emulationstation), I never checked if the backup was done properly though.
I personally always keep a copy of all the modified files on my windows PC and for some specific files, like this one, I also create a backup myself on the sd card on the same location, that way it’s easy to switch the files just by renaming them.
Well, sometimes it really needs to modify this file, let’s say you want to update from 3.0 to 3.1, the script will have to modify your es_system.cfg file to add the necessary lines for the new emulators (lr-mame2003, lr-fba-next…), otherwise you wont be able to use them, unless you add the lines manually.
But I agree with you that it’s sometimes annoying, it would be great if it could just add the new stuffs at the end without touching anything else.