Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Pokemon Emerald save from mGBA will not load #85

Open
1 of 3 tasks
flanter21 opened this issue Jan 1, 2024 · 1 comment
Open
1 of 3 tasks

[Bug Report] Pokemon Emerald save from mGBA will not load #85

flanter21 opened this issue Jan 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@flanter21
Copy link

flanter21 commented Jan 1, 2024

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:

  1. Copy save file last modified/created by mGBA to SD card.
  2. Open save file in pkmn-chest
  3. See error

Expected behavior
Save file will load as normal.

Screenshots
If applicable, add screenshots to help explain your problem.

Console (please complete the following information):

  • DS/DSi/3DS using a Flashcard
  • DSi (Using SD card)
  • 3DS (Using SD card)
  • Version [v2.2]

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...).

@flanter21 flanter21 added the bug Something isn't working label Jan 1, 2024
@Pinkietron
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants