Open flanter21 opened 11 months ago
mGBA appends the rtc to the end of the save file as you stated. This makes the file larger than most save managers are expecting, so it won't load. To fix that, open the save in a hex editor on your computer, delete the last line, and then save it. In mGBA settings you can also disable RTC for games so this does not continue to happen.
To fix it, pkmn-chest could also add support for the footer.
It's happening to me too.
Only on Emerald, I have a save file for Fire Red that works normally
Fire Red does not have RTC which would be the reason why only RSE is affected by this. Try the fix I posted above.
Oh damn, it worked! I opened a hex editor online, uploaded the Emerald save and deleted the last line. It's now properly working
Thanks a lot!
Describe the bug mGBA appends several bytes to the end of the Pokemon Emerald save, probably for the RTC (as I could not replicate this issue with LeafGreen which does not have a ).
To Reproduce Steps to reproduce the behavior:
Expected behavior Save file will load as normal.
Screenshots If applicable, add screenshots to help explain your problem.
Console (please complete the following information):
Additional context Save file will run just fine in mGBA and GBArunner2. Also works in pkhex. Will also work in pkmn-chest after removing the added bytes at the end of the file (after the string of FF FF FF FF...).