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

    Failed saving config to /opt/retropie/configs/psx/retroarch.cfg

    Scheduled Pinned Locked Moved Help and Support
    psxretroarch confiretropie 4.2retropie 4.1configs
    22 Posts 16 Posters 18.3k 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.
    • L
      luizoti
      last edited by

      Good evening,

      Pi Model or other hardware: PI3 b
      Power Supply used: SteepDown in 5.1v 3a
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.2 Converted from the original image, but all the pictures on the berryboot website have this problem.
      Built From: Berryboot, Image created from the last version available on the site.
      USB Devices connected: HDD 320 gb Hittachi - SD Sandisk 8GB Class4.
      Controller used: Keyboard and Dualshock3
      Error messages received: Please see the video and image.
      Log found in /dev/shm/runcommand.log (if relevant):
      Guide used: (Mention if you followed a guide)
      File: (File with issue - with FULL path)
      Emulator: (Name of emulator - if applicable)
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)

      I think this is a bug, I'm using retropie 4.2.13 (I had this problem in version 4.2) and I get this error when saving the settings in the Settings >>> Save Current Configuration menu.

      Deleting the file /opt/retropie/configs/psx/retroarch.cfg
      The retroarch can save normally, but I noticed that when using the Save Core Overrides option the problem happens again.

      So far I've noticed this problem with only the PSX CORE.

      This is normal?

      1 Reply Last reply Reply Quote 0
      • L
        luizoti
        last edited by

        Up the post.

        1 Reply Last reply Reply Quote -1
        • chipsnblipC
          chipsnblip
          last edited by chipsnblip

          hi. it sounds like you have a permissions issue with the config directory. you could try reinstalling the psx core. if that doesn't work and no one else has any suggestions for you, please post the output of these commands:

          ls -l /opt/retropie/configs/
          ls -l /opt/retropie/configs/psx
          

          and we'll go from there.
          i fixed all my recent config file permission issues with the following 2 commands, but i'm not sure this is the most logical step (kind of a nuke from orbit approcach):

          sudo chmod -R 777 /opt/retropie/configs
          sudo chown -R pi:pi /opt/retropie/configs
          
          1 Reply Last reply Reply Quote 0
          • L
            luizoti
            last edited by luizoti

            I tried that, unfortunately it did not work.

            The palliative way of saving the settings was:

            1. Delete all /psx/retroarch.cfg settings, all related to Save Core Overrides and
            the main Retroarch setting.

            2. After deleting, do not use the Save Core Overrides option again.

            Currently I can save the /opt/retropie/configs/psx/retroarch.cfg settings, but without using Save Core Overrides.

            soulfunkdjxS 1 Reply Last reply Reply Quote 0
            • L
              luizoti
              last edited by

              update post

              1 Reply Last reply Reply Quote -1
              • soulfunkdjxS
                soulfunkdjx @luizoti
                last edited by

                @luizoti Can you please provide the full path of save core override file? I wan to delete it also.

                jonnykeshJ 1 Reply Last reply Reply Quote 0
                • jonnykeshJ
                  jonnykesh @soulfunkdjx
                  last edited by

                  @soulfunkdjx /opt/retropie/configs/all/ file name is retroarch-core-options.cfg

                  fnkngrvF 1 Reply Last reply Reply Quote 0
                  • L
                    luizoti
                    last edited by

                    Sorry for the delay, I thought nobody was going to answer and I just forgot about the post.

                    I do not remember the paths, other than the ones I put in the post, because it's been a while since I moved with this Save Core Overrides option, because whenever I use it I can not save any config anymore, I prefer not to move anymore.

                    1 Reply Last reply Reply Quote 0
                    • fnkngrvF
                      fnkngrv @jonnykesh
                      last edited by

                      @jonnykesh said in Failed saving config to /opt/retropie/configs/psx/retroarch.cfg:

                      @soulfunkdjx /opt/retropie/configs/all/ file name is retroarch-core-options.cfg

                      there are many settings that when using Save Core Override feature are not logged in that file so unfortunately for most people with the issue the OP has expressed this isn't a viable response.

                      1 Reply Last reply Reply Quote 0
                      • KN4THXK
                        KN4THX
                        last edited by

                        Would something like this work?

                        sudo chown -R pi:pi /opt/retropie/configs

                        "If you're gonna play the Game Boy, You gotta learn to play it right" - https://www.youtube.com/watch?v=FYLGl92ETNQ

                        1 Reply Last reply Reply Quote 0
                        • E
                          elshiftos
                          last edited by

                          I was having a similar problem with 'Configuration override loaded' and 'Failed saving config to...' messages with the lr-fuse core recently. It wasn't allowing me to make and save changes from within rgui.
                          I was about to give up on it when, for reasons I can't recall, I decided to have a look in: /opt/retropie/configs/all/retroarch/config/

                          Lo and behold, there were various rmp and cfg files with fuse in their name. I moved these files along with everything in /opt/retropie/configs/<core_name>/ to a temporary location, uninstalled and reinstalled the core - in this case lr-fuse, and everything started working as it should!

                          If anyone knows what role the /opt/retropie/configs/all/retroarch/config/ directory has and how it works with the rest of the config system, please feel free to comment! :)

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kookamunga
                            last edited by Kookamunga

                            I know this topic is old, but I have been struggling with this same issue today, and I think I have found a way to make it work.
                            1.) Load the game on the console of your choice
                            2.) Bring up the RetroArch menu, starting out in the Quick Menu
                            3.) Select "Close Content", this will stop the game from running, bringing you to just the RetroArch menu, saying "No items." Press the back/cancel button on your controller.
                            4.) Go to Settings -> Input -> Hotkey Binds
                            5.) Make the changes you want, then back out until you hit the main screen that says "Load Core" at the top. On this screen select "Configuration File"
                            6.) Select "Save Current Configuration". It should say saved new configuration somewhere on the bottom.
                            7.) Back out until you see "Quit Retroarch" on the bottom, select this.
                            8.) Load up the game again, try out your hotkeys.

                            You will have to do this for all consoles separately, as they each have their own core RetroArch config file.

                            B K B C LouFL 5 Replies Last reply Reply Quote 6
                            • B
                              bostonjon34 @Kookamunga
                              last edited by

                              @Kookamunga said in Failed saving config to /opt/retropie/configs/psx/retroarch.cfg:

                              1.) Load the game on the console of your choice
                              2.) Bring up the RetroArch menu, starting out in the Quick Menu
                              3.) Select "Close Content", this will stop the game from running, bringing you to just the RetroArch menu, saying "No items." Press the back/cancel button on your controller.
                              4.) Go to Settings -> Input -> Hotkey Binds
                              5.) Make the changes you want, then back out until you hit the main screen that says "Load Core" at the top. On this screen select "Configuration File"
                              6.) Select "Save Current Configuration". It should say saved new configuration somewhere on the bottom.
                              7.) Back out until you see "Quit Retroarch" on the bottom, select this.
                              8.) Load up the game again, try out your hotkeys.
                              You will have to do this for all consoles separately, as they each have their own core RetroArch config file.

                              WOW! This actually worked. I have spent weeks trying to figure out why I couldn't save configs! You are a genius! Only thing now tho that doesnt make sense, why can't we do this in game in Retroarch? I'm using Retropie on a Pi4 4gb, and nothing ever saves in RA when I try to do save current config or save core override. I have seen tons of YouTube where people save current config fine in game so this leaves me baffled.

                              mituM K 2 Replies Last reply Reply Quote 2
                              • mituM
                                mitu Global Moderator @bostonjon34
                                last edited by

                                @bostonjon34 said in Failed saving config to /opt/retropie/configs/psx/retroarch.cfg:

                                I'm using Retropie on a Pi4 4gb, and nothing ever saves in RA when I try to do save current config or save core override. I have seen tons of YouTube where people save current config fine in game so this leaves me baffled.

                                This looks like a file permission issue. If you'd like to diagnose this, please open a new topic and provide the info requested in https://retropie.org.uk/forum/topic/3/read-this-first.

                                1 Reply Last reply Reply Quote 1
                                • K
                                  Kookamunga @bostonjon34
                                  last edited by

                                  @bostonjon34
                                  It seems to behave this way on Android and Windows as well. I think it kind of operates separately once a rom is loaded, locking itself away from the main instance of Retroarch in a way, hence the ability to save per game overrides. This of course is just speculation on my part.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    krullbeast @Kookamunga
                                    last edited by

                                    @Kookamunga thank you! This works!!! i really appreciate it!

                                    1 Reply Last reply Reply Quote 1
                                    • B
                                      Bk2Xxclusive @Kookamunga
                                      last edited by

                                      @kookamunga Wow bro. Thanks so much. Can't believe that did the trick. 👍🍻

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mahuti @Bk2Xxclusive
                                        last edited by

                                        Old post, but to solve this, I removed the core options as mentioned, and I also went into /opt/retropie/configs/all/retroarch/config/MAME 2003-plus/ directory and deleted everything in it (luckily for me it was just 'MAME 2003-plus.opts" arcade.cfg and frogger.cfg files as I hadn't configured much of anything. I assume deleting arcade.cfg is all I really needed to do, but whatever. I nuked the contents of that folder and the retroarch-core-options.cfg (or whatever it was called) and then it was fine.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          CheeezeBurgers @Kookamunga
                                          last edited by

                                          @kookamunga said in Failed saving config to /opt/retropie/configs/psx/retroarch.cfg:

                                          I know this topic is old, but I have been struggling with this same issue today, and I think I have found a way to make it work.
                                          1.) Load the game on the console of your choice
                                          2.) Bring up the RetroArch menu, starting out in the Quick Menu
                                          3.) Select "Close Content", this will stop the game from running, bringing you to just the RetroArch menu, saying "No items." Press the back/cancel button on your controller.
                                          4.) Go to Settings -> Input -> Hotkey Binds
                                          5.) Make the changes you want, then back out until you hit the main screen that says "Load Core" at the top. On this screen select "Configuration File"
                                          6.) Select "Save Current Configuration". It should say saved new configuration somewhere on the bottom.
                                          7.) Back out until you see "Quit Retroarch" on the bottom, select this.
                                          8.) Load up the game again, try out your hotkeys.

                                          You will have to do this for all consoles separately, as they each have their own core RetroArch config file.

                                          OMG! You are my Hero!!! This was driving me insane! Your solution finally works!!

                                          I really would like to know how this happens in the first place and WHY?!

                                          I really hope someone can make a more easy ELI5 explanation as this one: https://retropie.org.uk/forum/topic/22816/guide-retroarch-system-emulator-core-and-rom-config-files

                                          Would be much appreciated!

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            Kookamunga @CheeezeBurgers
                                            last edited by

                                            @cheeezeburgers I'm glad this is still helping people. I still think that once you load a game, it somehow changes the core config file to read only, or somehow locks part of it out in the process of emulation, hence when closing the game while still running the emulator, this works. But this is just a theory. Retroarch seems to do this on the PC as well.

                                            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.