How to retrieve config after accidental change ?
-
Hi everyone
As I asked in this post, I was looking for solution to avoid controls configuration change by users. As far as I know, retropie system is making backup file of configuration before any change. I though I would simply have to restore that file to retrieve initial control configuration. This is indeed the case for retro pie menu navigation but this is not true for control in game. I obtained complete mess in controls after that test and i had to configure interface through main menu to retrieve initial config.
I checked all/config.cfg after config change and nothing happened to this file. That being said I guess controls config change alter some files which are located somewhere else?
Can you please explain how to proceed if I want to easily retrieve configuration after accidental change without having to reconfigure by hand controls with retropie main menu?
For your information, i've installed emustation kid / kiosk from experimental package. I'm now able to limit users rights by changing interface mode and switch back to admin mode thanks to konami code. My question above is for my overall understanding and if i would have to let my bartop in admin mode for some reasons in the future.
Thank you very much
-
@ZogZogAkita go to RetroPie Setup > configuration /tools > 08 emulationstation - Emulat.....> 1 Clear / reset ES input config.
-
I don't understand, I'm wondering how to retrieve configuration I've done before, not default config as from scratch.
-
@ZogZogAkita ok. You should have an es_input.cfg.bak file. This is the backup. Delete the es_input.cfg file. Copy the backup and paste it in the same location. Rename it, removing the .bak, then reboot. All these instructions assume you are using the desktop environment. It can be done from the CLI also if you know a bit about Linux.
-
This is actually what I've exactly done and and retrieve controls in main menu indeed but mess was still there inside games.
I also assumed es_input.cfg was enough but I can't understand why it did not work. I made it twice so I think I made it properly.
-
@ZogZogAkita when you configure a controller in ES it runs a script to configure input on other emulators. If you manually restore an old es_input.cfg it won't update anything else.
You will need to reconfigure the bad controller within ES to re-trigger the input generation (which also updates es_input.cfg).
-
Thank you, it completely make sense and it explains my problem. Is this possible to know which other files are changed by the script? I did not configure specific controls for any emulator, i am only using all/retro arch.cfg which works actually : control mapping is done from that file only as far as I know for my config and that's why I assumed restoring this file + input.cfg would be enough.
Sorry if I am not clear but I don't know how to explain further.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.