mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.42k stars 747 forks source link

Saving overrides is confusing #3142

Open erfanCA01 opened 3 months ago

erfanCA01 commented 3 months ago

i select portable from mgba tools section but portable.ini seems to be empty file

the overrides i also cannot change after saving, for example i set rtc to on in pokemon fire red, now i cannot turn it off.

if you need more info tell me

leoxxx commented 3 months ago

As you said, game overrides will default when mgba close.

erfanCA01 commented 3 months ago

I also cannot find the file where game overrides are saved, it should be in %APPDATA%/mGBA but it is not, i have turned off portable mode

leoxxx commented 3 months ago

~Installer version can't save the overrides, too.~ It's not a bug. I test it some times, found it how to work. First, set the overrides before you load rom. If you don't click "save" now, you need click "save" when you load rom. It will be saved in config.ini. (load rom is necessary)

Then, you can find it like this in the ini.

[override.[gamid]] hardware=[number]

e.g.

[override.AGNJ] hardware=9

This is the Goemon - New Age Shutsudou! override. You can find the game id from "File -> ROM info...".

@endrift I think it need to be written in FAQs.

endrift commented 3 months ago

i select portable from mgba tools section but portable.ini seems to be empty file

Not saving what? The portable.ini file is just marking that it should look in that directory for the config.ini instead of in %APPDATA%.

endrift commented 3 weeks ago

I think this is one large misunderstanding. But yes, the way saving game overrides works is bad UX and I need to improve it. I'm going to use this bug report for that specific issue.