Hacking EZ Flash 3 in 1, how to fix corrupted save?

Codex

Member
OP
Newcomer
Joined
Apr 29, 2019
Messages
21
Trophies
0
Age
23
XP
184
Country
United States
I've already SRAM patched Pokemon Firered with GBATA. I can save without any issue, but when I start the game, it tells me "The save is corrupted.The previous save file is loaded". Interestingly though, the game still loads from the newest save, not the previous one.

I've tried loading the rom using ysmenu and GBAExploader, and I get the error from both.
 

Codex

Member
OP
Newcomer
Joined
Apr 29, 2019
Messages
21
Trophies
0
Age
23
XP
184
Country
United States
Ok, I retried using GBAExploader and it worked with clean roms. I probably did something wrong the first time.

Although GBAExploader works, I'd rather use YSMenu if possible.

The problem seems to be with the sram patching process.

Using gbata, the game says the save is corrupt, but the game seems to load and save fine. The save generated by this is the wrong size and does not work with pkhex or the vba-m emulator.

Using the ez-iv client, the game saves and loads fine, it does not say the save is corrupted. But this save is still the wrong size and does not work with pkhex or emulators.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Albeit the codebase is a mess, gbaemu4ds allows (as long you can boot a game) to fix save issues in pokemon games (except emerald or romhacks, which do not boot, use gbarunner2 instead)

https://bitbucket.org/Coto88/gbaemu4ds/get/HEAD.zip

You need to download that, copy /release folder contents onto SD card.
Copy gba file, must have (filename).gba extension. Then the corrupted savefile (the one saying this save is corrupted, but still loads), must be copied and renamed to have (filename).sav extension.

boot hbmenu, choose gba file, and FORCE TO Flash 128K. Right before emulation starts you will be asked to either auto detect the savetype or to select the one you forced earlier, choose the force option.

After that the game will load and a [SAVEFIX] message will appear on screen. Game will boot and you will be greeted with the corrupted save, but still will be able to load the savefile. Load the game. Then, save ingame like you normally would do, at least 2 times. Wait 10 seconds (in between) and then press Y. Music will freeze for a moment, when Music resumes, turn off the DS. And savefile will be fixed using the raw Flash 128K format.


Edit: You need a slot-1 flashcard for this
 
Last edited by Coto,

Codex

Member
OP
Newcomer
Joined
Apr 29, 2019
Messages
21
Trophies
0
Age
23
XP
184
Country
United States
I have uncorrupted saves on my pc that I'm using with VBA-m. That's not the issue.

The issue I'm facing is trying to use the ez flash 3 in 1 with ysmenu. Games need to be sram patched to work with the ez flash 3 in 1. GBAExploader patches games automatically and it works fine. But YsMenu does't seem to, and you need to manually patch roms.

The problem is that no program seems to sram patch roms correctly. See my second post for the details.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    i dont know why tv manufactures put the hdmi ports in dumb locations so the cables have to stick out, and then down, putting strain on the ports. Instead of having the ports along the bottom edge of the tv facing downwards.
  • ZeroT21 @ ZeroT21:
    windows me was mostly on laptops if i remembered correctly
  • SylverReZ @ SylverReZ:
    @RedColoredStars, I hate that too where you have to use an HDMI extension for an Amazon Fire Stick.
    +1
  • RedColoredStars @ RedColoredStars:
    I had a desktop with ME on it.
  • SylverReZ @ SylverReZ:
    @ZeroT21, And also cheap-ass desktop PCs like eMachines.
  • RedColoredStars @ RedColoredStars:
    Worst MS OS in history. Period.
  • K3Nv2 @ K3Nv2:
    My entertainment centers blocking all my io gotta fix that eventually
  • ZeroT21 @ ZeroT21:
    I had used win 98 SE till XP arrived
  • SylverReZ @ SylverReZ:
    Had a ton of bugs and often crashed. It even didn't support DOS compatibility with older games. :feelsbadman:
  • SylverReZ @ SylverReZ:
    I only grew up with Windows XP because I was lucky.
  • RedColoredStars @ RedColoredStars:
    I downloaded XP on dialup when it came out. Overnights for like a week. cuz I couldn't tie up the phone line during the day. It was so awesome and worked so great going from ME to XP.
  • K3Nv2 @ K3Nv2:
    Vga pins were a dick
  • K3Nv2 @ K3Nv2:
    I kind of want down a large pizza at 10am then crash out
  • ZeroT21 @ ZeroT21:
    Having pizza all day? done it
  • K3Nv2 @ K3Nv2:
    Nah pizza hut open at 10:30
  • ZeroT21 @ ZeroT21:
    just buy a stack of pizza and keep the rest you don't need yet frozen
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
    K3Nv2 @ K3Nv2: Nah I can still go for totinos