RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How to retrieve config after accidental change ?

    Scheduled Pinned Locked Moved Help and Support
    configmain menucontrol config
    7 Posts 3 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      ZogZogAkita
      last edited by

      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

      columboscoatC 1 Reply Last reply Reply Quote 0
      • columboscoatC
        columboscoat Banned @ZogZogAkita
        last edited by

        @ZogZogAkita go to RetroPie Setup > configuration /tools > 08 emulationstation - Emulat.....> 1 Clear / reset ES input config.

        1 Reply Last reply Reply Quote 0
        • Z
          ZogZogAkita
          last edited by

          I don't understand, I'm wondering how to retrieve configuration I've done before, not default config as from scratch.

          columboscoatC 1 Reply Last reply Reply Quote 0
          • columboscoatC
            columboscoat Banned @ZogZogAkita
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • Z
              ZogZogAkita
              last edited by

              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.

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @ZogZogAkita
                last edited by

                @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).

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • Z
                  ZogZogAkita
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  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.