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
969
Trophies
0
Age
37
XP
1,635
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
20
Location
Mijdrecht
XP
117
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,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
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
35
XP
17
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?
 

ScoopDunk

Member
Newcomer
Joined
May 9, 2023
Messages
7
Trophies
0
Age
30
XP
70
Country
United States
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?
I too am interested so I’m bumping this thread. I successfully patched a firered rom with gbata sram patcher, batteryless patch and I did a hex edit to disable dual banking. The only thing that’s left for a clean experience is to disable this stupid message
 
  • Like
Reactions: AhsanMC

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I'd rather spend like $150 more for a surround receiver.
  • K3Nv2 @ K3Nv2:
    I bought the game at launch never fucked with it until recently
  • BigOnYa @ BigOnYa:
    Its fun, I like it, even tho I'm not a big harry potter fan. Like a wizard rpg. Flying around on a broomstick is cool.
  • K3Nv2 @ K3Nv2:
    Flying sucks ass on it
  • BigOnYa @ BigOnYa:
    Nuh just takes a min to get used to. I think you can upgrade or buy new broomstick also that are better.
    +1
  • K3Nv2 @ K3Nv2:
    I weirdly like inverted controls on all flying type games
  • BigOnYa @ BigOnYa:
    Prob can change it, inverted flying controls.
  • K3Nv2 @ K3Nv2:
    Only thing that annoys me is trying to find wtf to do in it
    +1
  • BigOnYa @ BigOnYa:
    Alright off to the store, later gators.
    +1
  • K3Nv2 @ K3Nv2:
    Some places amaze me were not in network with your insurance would you still like an appointment
    +1
  • AncientBoi @ AncientBoi:
    uhhh, I think I'll just stick with my PSP 3001
  • AncientBoi @ AncientBoi:
    lol, Now I gotta go to the store for more Coffee Mate n other stuff.
  • Xdqwerty @ Xdqwerty:
    i downloaded final fantasy vii into my tv stick
  • Xdqwerty @ Xdqwerty:
    i mean, the game was already there but its the japanese version
  • Xdqwerty @ Xdqwerty:
    and i only downloaded disc 1 so far bc of storage stuff
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah the patty on McDs burger is 1/10th of a pound now and I think that's the pre cooked weight lol
  • Psionic Roshambo @ Psionic Roshambo:
    I use the app for the 20% off coupon and it's still over priced
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why is mcdonalds overpriced if their food is bad?
  • Xdqwerty @ Xdqwerty:
    i mean why is mcdonalds food overpriced
  • Psionic Roshambo @ Psionic Roshambo:
    Inflation and greed
    +1
  • ZeroT21 @ ZeroT21:
    it's just fries, make 'em at home
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I make potato wedges at home with spices and stuff lol
    Psionic Roshambo @ Psionic Roshambo: I make potato wedges at home with spices and stuff lol