Retroarch wont save after saving in-game a couple of times
-
Hello! My problem is simple: After I save ANY of the games I play that use retroarch's emulators. It writes down a file. And the progress on it. But when I play the game again and save. It doesnt update the save and I have to play from the point I saved from earlier. Even if I try to start a new game. Is there a fix for this?
I don't even know where to start. I know I have enough space for my games (I have a 32 gig micro sd). But is there some kind of setting I could configure to fix this?
-
Wait. Lemme try something real quick. I will reset the permissions of the roms folder using the retropie setup script. I'll report back if it does anything
-
nope. Didn't fix it. I also found out that my configs arn't saving either.... How do you fix this? I'm really confused
-
Maybe adding some info about your setup and a log file may help diagnose the issue.
-
Ok. Heres my setup:
- All my configs are default execpt for some remap files and some personalization.
- I have software installed to support my handheld case (the gamepi43) as keyboard input.
- I also installed certain software (like docker) to get some ports running on my raspberry pi.
I would provide a log file. But I don't know where to find any log files. Please tell me which ones you need (with possible locations on where to find them.) And I will try to put a pastebin link to them
-
Please add the details requested in https://retropie.org.uk/forum/topic/3/read-this-first.
For a log file, see https://retropie.org.uk/docs/Runcommand/#launch-with-verbose-logging on how to get a detailed RetroArch log.
-
@mitu I was checking the log from my pi.
Here is what I got from the runcommand log
From what I see. The game saves but the config file fails to save once I hit it from the retroarch menu. Which is strange.
for what I did in the game I was playing (Mario and Luigi: SuperStar Saga). I simply hit the same save block. And then I went into the retroarch menu and tried to save the config thus giving me an error. Then I clicked on close content. If this helps at all.
-
@DolphinCube said in Retroarch wont save after saving in-game a couple of times:
@mitu I was checking the log from my pi.
Here is what I got from the runcommand log
From what I see. The game saves but the config file fails to save once I hit it from the retroarch menu. Which is strange.
for what I did in the game I was playing (Mario and Luigi: SuperStar Saga). I simply hit the same save block. And then I went into the retroarch menu and tried to save the config thus giving me an error. Then I clicked on close content. If this helps at all.
Oh. And here are my specs as well
Pi Model or other hardware: Raspberry Pi 4
Power Supply used: WaveShare GamePi43 (two 18650 lithium batteries to power the handheld/Pi)
RetroPie Version Used: 4.8.4 (according to the retropie setup script)
Built From: Raspberry Pi Imager
USB Devices connected: None
Controller used: GamePi43 Controller (using controlblock drivers)
Error messages received: Failed saving config to "/opt/retropie/configs/gba/Config/retroarch.cfg"
File: home/pi/retropie/roms/gba/Mario/Mario & Luigi - Superstar Saga.srm
Emulator: Ir_mGBA
How to replicate the problem: Boot up the game. Change some settings in the retroarch config. Tap "save config" and you get the error. Same if you exit retroach with "save configuration on exit" set to on -
@DolphinCube said in Retroarch wont save after saving in-game a couple of times:
How to replicate the problem: Boot up the game. Change some settings in the retroarch config. Tap "save config" and you get the error. Same if you exit retroach with "save configuration on exit" set to on
Saving the config (explicitly or on exit) is a known RetroArch issue, which is solved in v1.15.
What you reported initially though is that your game saves (
.srm
) are not created - is this still the case ? -
@mitu yeah. Certain games I played still has this issue. Especially with my n64 games. I think a fix is that when the system creates a new srm (for gba games). I have to manually delete it after the first save then reset the permissions of the roms folder for retropie using the retropie setup script. Then let the system create a new save file once again. Its kinda annoying Most games I did worked with that. But the configuration file error is still an issue
-
@DolphinCube said in Retroarch wont save after saving in-game a couple of times:
Certain games I played still has this issue. Especially with my n64 games. I think a fix is that when the system creates a new srm (for gba games). I have to manually delete it after the first save then reset the permissions of the roms folder for retropie using the retropie setup script.
That's weird, there's nothing that changes permissions during gameplay, all emulators/ports are run as the
pi
user. Did you modify the launching command to run as another user ?But the configuration file error is still an issue
Why do you need to save the config file ? As a workaround, you can save a game/core override with the settings that you wish to change.
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.