Failed saving config to /opt/retropie/configs/psx/retroarch.cfg
-
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?
-
Up the post.
-
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
-
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.
-
update post
-
@luizoti Can you please provide the full path of save core override file? I wan to delete it also.
-
@soulfunkdjx
/opt/retropie/configs/all/
file name isretroarch-core-options.cfg
-
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.
-
@jonnykesh said in Failed saving config to /opt/retropie/configs/psx/retroarch.cfg:
@soulfunkdjx
/opt/retropie/configs/all/
file name isretroarch-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.
-
Would something like this work?
sudo chown -R pi:pi /opt/retropie/configs
-
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! :)
-
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.
-
@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.
-
@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.
-
@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. -
@Kookamunga thank you! This works!!! i really appreciate it!
-
@kookamunga Wow bro. Thanks so much. Can't believe that did the trick. 👍🍻
-
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.
-
@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!
-
@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.
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.