ROM Hack [Help] Pokemon FR/LG GBA VC - Remove "The save file is corrupted"

noctis90210

Well-Known Member
OP
Member
Joined
Dec 24, 2013
Messages
966
Trophies
0
Age
35
XP
1,570
Country
Good day tempters, devs, and modders
Just want to ask help for those with GBA ROM modding abilities.

We can apply patches or hex modding the rom to enable proper save (part1 of the tut below) and remove the annoying error message (part2 of the tut below) on pokemon R/S/E games.

But unfortunately, the hex value to remove the annoying message on pokemon FR/LG are still unknown.
But i dont loose hope someone could find it, its not impossible, cuz its a matter of just finding the exact value to change and viola, disabled.

Someone might think this is unnecessary cuz even theres annoying message on FR/LG, loading the save is just fine. But i think everyone wants a legit-looking GBA VC, playing GBA VC without any issues/errors.

I dont know if im wrong thread cuz im asking about GBA ROM Modding, but since its all about GBA VC, i hope its ok to be here...

thanks and have a nice day...

anyway, credits to the following for:
@Asia81 for the tutorial
@AmeenX for the help on the Part 1
@Tdam01 for offsets found in Part 2

Original Tutorial by @Asia81 below:
Part 1: Fix the save problem
(This is valid for all pokemon games, in every languages)

The first save problem is you can't save on a Pokémon game in CIA.
To resolve it, we need to hex edit the .gba rom.

Open the desired .gba in a hex editor (HxD is highly recommended) and find the following string:
Code:
D0 88 8D 83 42

Edit stricly what is between:
Code:
D0 88 8D 83 42 [AND] 24 10 49 10 68

Replace the XX by 00.
Note: You may find this value twice, so be sure to also do it twice in this case.

Exemple:
1467662833-fix.png


Now it's ok, you'll can save.

You will can save, but you will always see a message "Save data are corrupt, the last save will be loaded".
Even if the game save fine, even if this message is useless because all is fine, even if you can totally ignore it, this message is annoying, so we'll remove it.

Part 2: Remove the save data corrupt message
(This is only valid for Pokémon Ruby, Sapphire and Emerald, and only for english / french languages)

Open the desired .gba in a hex editor (HxD is highly recommended), use Ctrl+G (go to offset), then edit the value, by the other value here:
Code:
-> Ruby and Sapphire [US]
Offset 0098F6: Replace 2B by 3D
Offset 0099A4: Replace 1D by 65

-> Ruby and Sapphire [FR]
Offset 009AC2: Replace 2B by 3D
Offset 009B70: Replace E99B by 319C

-> Emerald [FR/US]
Offset 02F9CC: Replace 5D by B1
Offset 02F9A4: Replace 084802F037FA by 000000000000.

Save the .gba, turn it in .cia, install it, and enjoy.

This tutorial in Video:

And the Proof:
 
Last edited by noctis90210,

ToBaRi

New Member
Newbie
Joined
Aug 15, 2022
Messages
2
Trophies
0
Age
19
Location
Mijdrecht
XP
22
Country
Netherlands
Using this injector instead should resolve the issue
Sadly, it did not fix the problem for me.
I downloaded another rom and used nsui to turn it into a cia file, after which I used godmode9 to reinstall my save file.
After this I got my save file back into the new cia file, but the error message was still there.
Was there something else I have to do?
Or is the problem that I should just start a new save since the issue is attached to the save file?

Also, it might come in handy to add that I play firered 1.1 instead of 1.0.

Thanks for the previous response.

Edit:
Okay, so I started a new save and the error is gone. Now the question remains: how can I continue playing on my old save file without the error? I am quite fond of the team I built there, so I would really appreciate it if there was a way in which I could edit that file so that it works correctly too!
 
Last edited by ToBaRi,

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,761
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,179
Country
United States
Sadly, it did not fix the problem for me.
I downloaded another rom and used nsui to turn it into a cia file, after which I used godmode9 to reinstall my save file.
After this I got my save file back into the new cia file, but the error message was still there.
Was there something else I have to do?
Or is the problem that I should just start a new save since the issue is attached to the save file?

Also, it might come in handy to add that I play firered 1.1 instead of 1.0.

Thanks for the previous response.

Edit:
Okay, so I started a new save and the error is gone. Now the question remains: how can I continue playing on my old save file without the error? I am quite fond of the team I built there, so I would really appreciate it if there was a way in which I could edit that file so that it works correctly too!
That idk about. Unless there's a homebrew out there that can extract pokemon from gba saves, you may have to start over.
 
General chit-chat
Help Users
    KenniesNewName @ KenniesNewName: YouTube