open_agb_firm icon indicating copy to clipboard operation
open_agb_firm copied to clipboard

Per-game settings don't appear to work - user error?

Open genericmelancholy opened this issue 9 months ago • 4 comments

I've recently updated open_agb_firm to the latest version, which includes the config file changes. I'm trying to play SMA3 which uses the EEPROM_64K save type; this isn't detected by default so I need to manually set this type using a per-game config file, which I have placed in the saves folder. Alternatively I could use saveOverride=true (this works) although that wouldn't be ideal. The config file I've created has the same name as the ROM and looks as follows:

saveSlot=0
saveType=eeprom_64k

However, open_agb_firm appears not to detect the setting and so the game detects my save file as corrupted upon booting. Have I done something wrong in the config file?

genericmelancholy avatar Mar 20 '25 17:03 genericmelancholy

I can't make per-game setting to work too.

Khramey avatar Apr 22 '25 18:04 Khramey

While I'm not playing SMA3, I am playing Shantae Advance Risky Revolution as the game has been getting into people's hands, and thus a dump is now floating around the Internet (won't say where, though), and the ROM points to the completely wrong save format, throwing off the autodetect and requiring me to have to manually override the save format. I was able to do so by using a per-game config file with the same name as my ROM and looking as follows:

[game]
saveType=sram_256k

It seems to work for me. Perhaps try adding "[game]" to the line before the settings? If that doesn't work, are you sure you've put the per-game config file in the game saves folder where it needs to go?

ChrisHighwind avatar Apr 29 '25 22:04 ChrisHighwind

[game] saveType=sram_256k

I add [game] as you suggested and it's work now, thanks.

Khramey avatar Apr 30 '25 00:04 Khramey

While I'm not playing SMA3, I am playing Shantae Advance Risky Revolution as the game has been getting into people's hands, and thus a dump is now floating around the Internet (won't say where, though), and the ROM points to the completely wrong save format, throwing off the autodetect and requiring me to have to manually override the save format. I was able to do so by using a per-game config file with the same name as my ROM and looking as follows:

[game]
saveType=sram_256k

It seems to work for me. Perhaps try adding "[game]" to the line before the settings? If that doesn't work, are you sure you've put the per-game config file in the game saves folder where it needs to go?

This game doesn't have a standard GBA header, causing detection routines in some GBA emulators to fail. I made a patch to fix the header and the save string to make it work in GBARunner3, since we need an existing TID for the JIT in GBARunner.

You can get the fix patch in the mentioned issue https://github.com/Gericom/GBARunner3/issues/185

Dartz150 avatar Apr 30 '25 03:04 Dartz150