Homebrew Issues regarding to dumping EEPROM SRAM patched saves on bootleg carts

Nix_Lon

Well-Known Member
OP
Newcomer
Joined
Feb 17, 2020
Messages
53
Trophies
0
Age
22
XP
187
Country
Philippines
Due to pure boredom, I fiddled with bootleg GBA cartridges.
It uses SRAM 1Mbit w/ battery.

I tested every game that uses different types of saves with the SRAM patcher via GBATA and bbsan2k's Flash1M SRAM patcher on the SRAM bootleg cart.

All of them save properly (FLASH 512Kb / 1Mbit, EEPROM v122 / v124, and SRAM)
, and dumping the game/save using Rudolph's GBA Backup Tool [0.21] works except for EEPROM v122 / v124 games only.

Even with and without the SRAM patch for the EEPROM v122 / v124 games, Rudolph's GBA Backup Tool [0.21] still can't recognize them properly.

Rudolph's GBA Backup Tool [0.21]
can't read EEPROM / EEPROM SRAM patched burned SRAM bootleg cart properly, it's stuck to white screen only. FLASH 512Kb / 1Mbit and SRAM work though.
GodMode9i's built-in GBA dumper somehow successfully dumps the game/save of the EEPROM / EEPROM SRAM patched burned SRAM bootleg cart.
nds-savegame-manager is excluded because it doesn't support EEPROM dumping according to the GitHub changelogs, even with the SRAM patch it doesn't change anything.

I had to do all of these steps to make Rudolph's GBA Backup Tool [0.21] recognize EEPROM / EEPROM SRAM patched burned cartridge properly:
  1. Use the 3DS GBA Footer Generator [Set as SRAM]
  2. Use the 3DS Simple GBA Converter [Generate the .CIA file]
  3. Use Ctrtool [Extract the .CIA contents and obtain the code.bin file]
  4. Rename code.bin as code.gba
After doing these steps, Rudolph's GBA Backup Tool [0.21] was now able to recognize the SRAM bootleg cart properly but this is where the issue starts.

Dumping the game ROM works properly, except for its save file.

Rudolph's GBA Backup Tool [0.21] dumps the save file at 8kb only, which I assume is the proper size for EEPROM save files.
GodMode9i dumps the save file at 64kb, which I assume is the conventional size for SRAM and FLASH 512Kb save files.

Trying to load them via GBA emulators shows that the save files that I dumped are purely blank.
Trying to flash the save file via Rudolph's GBA Backup Tool [0.21]:
  • Using the 8kb save file works but it doesn't wipe off or overwrite the SRAM chip in the SRAM bootleg cart, weird.
  • Using the 64kb save that came from GodMode9i freezes the homebrew software.
Pardon my ignorance but is there a homebrew software that dumps the SRAM chip directly from the bootleg cart instead of relying on the GBA game's save type?
 
Last edited by Nix_Lon,

geo-kun

Active Member
Newcomer
Joined
Jul 27, 2012
Messages
40
Trophies
1
XP
476
Country
Hey, I don't know if you found a solution or whether you still need it or not, but I was looking for the exact same thing and I think I found an answer.

You will need an NDS homebrew program called "GBA ExpLoader" (also created by Rudolph).

When you start it, it'll give you an error about Slot2 expansion pack, just ignore it and press A.

There'll then be two options we're after:

(X) Backup whole SRAM to SRAM.BIN
(Y) Restore SRAM BIN.to SRAM

The first one outputs to /GBA_SAVE/SRAM.BIN on your MicroSD.
The second one restores from this file to the GBA cartridge.

So far I've tested it with SRAM-patched Sonic Advance 3, and both options work as expected. It backups and restores.
 
Last edited by geo-kun,
  • Like
Reactions: zfreeman

Nix_Lon

Well-Known Member
OP
Newcomer
Joined
Feb 17, 2020
Messages
53
Trophies
0
Age
22
XP
187
Country
Philippines
Hey, I don't know if you found a solution or whether you still need it or not, but I was looking for the exact same thing and I think I found an answer.

You will need an NDS homebrew program called "GBA ExpLoader" (also created by Rudolph).

When you start it, it'll give you an error about Slot2 expansion pack, just ignore it and press A.

There'll then be two options we're after:

(X) Backup whole SRAM to SRAM.BIN
(Y) Restore SRAM BIN.to SRAM

The first one outputs to /GBA_SAVE/SRAM.BIN on your MicroSD.
The second one restores from this file to the GBA cartridge.

So far I've tested it with SRAM-patched Sonic Advance 3, and both options work as expected. It backups and restores.
Pardon if I am necroing this topic discussion but I'm going to check on this homebrew software later.
EDIT: I tried that homebrew before, still no luck but thanks for the info. BTW, Sonic Advance 3 is FLASH_V131 not EEPROM.
 
Last edited by Nix_Lon,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious