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
968
Trophies
0
Age
36
XP
1,622
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

Member
Newcomer
Joined
Aug 15, 2022
Messages
5
Trophies
0
Age
19
Location
Mijdrecht
XP
66
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,828
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,608
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.
 

BlastingKap

New Member
Newbie
Joined
Apr 1, 2023
Messages
1
Trophies
0
Age
34
XP
7
Country
Canada
Would really like to find out the patch location for this message. I have a cheap SuperCard cart that requires SRAM patching all games. After patching, the saves in FR/LG do work but you still get this scary error message.

For Emerald I successfully applied the Clock + Save message patches using Lunar IPS before running them through the jank SuperCard SRAM patcher.

Any tools out there that might be able to do this?
 
General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
  • K3N1 @ K3N1:
    Whoever developed Bramble was smoking that good shit fucking gnomes
    K3N1 @ K3N1: Whoever developed Bramble was smoking that good shit fucking gnomes