Tutorial  Updated

Dumping and injecting GBA VC saves with AGBSave9

WARNING: GodMode9 added a native save dumping and injecting tool that works way better than AGBSave9, you can download it here. Here's how to use it.
I'll be keeping this guide around for historical purposes, but you should use GodMode9 instead.
Dumping GBA VC saves:
What you will need:
  • AGBSave9 v.1.0 "EEPROM support" (A9LH-compatible version here)
1) Run the game that you want to dump the save and close it.
2) Load AGBSave9 from sysNAND 9.2/A9LH and select "Save Dump".
3) This should give you a screen with this info:
  • Title ID: xxxxxxxx
  • Use save type 0/1/2: SRAM/Flash/EEPROM
  • Creating agb_dump.sav ...
4) Write down the Title ID and Save Type, you'll need it if you want to inject the save back later.
5) Plug your SD card into your computer and copy the agb_dump.sav on the root of the SD to somewhere safe, this is your save file.

Injecting saves into the GBA VC:
What you will need:

1) Install Python 3, else you won't be able to run the gen_run.py.
2) Copy your save file into the agb_inject folder.
3) Run gen_run.py and follow the on screen instructions, this should generate a .cia file inside the agb_inject folder.
43f380I.png

4) Copy the output CIA file to your 3DS' SD card.
5) Install it on sysNAND using your favorite CIA installer, I recommend FBI. (if it asks to overwrite the previous install, allow it.)
If you only have them on sysNAND:
6a) Run the CIA that you just installed. (It should show up as Fire Emblem on the top screen)
If you have them on both NANDs:
6b) Run the game that you want to inject the save on emuNAND.
7) When "AGB_FIRM save injector" appears, turn off your 3DS.
8) Insert your SD card on your computer and go to "/Nintendo3DS/(YourSysNANDHere)/(RandomStuff)/title/00040000/(TitleID)/" and copy the data folder.
9) Reinstall the game that you want to inject the save on sysNAND. (if it asks to overwrite the previous install, allow it.)
10) Reinsert the SD card on your computer and copy the data folder back into "/Nintendo3DS/(YourSysNANDHere)/(RandomStuff)/title/00040000/(TitleID)/"
11) Run the game, if everything worked properly, your injected save should appear on the game.

Credits:
@alex34567 7 for AGBSave9.
@redunka for the fixed "gen_run.py".
@Frelia a for the A9LH-compatible version.
 
Last edited by matpower,

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
Hmm, you are converting it? Have you checked if it works in an emulator?
yes it does, matter of fact this is a savegame that is created on a emulated years ago on my iphone, it also works on desume. it's a pokemon emerald savegame,i want to inject it to my emerald VC game
 

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
Btw what version of AGBSave are you using?
the latest (Agbsave9-20160506-161027) , downloaded all today. also tried a fixed version of the gen_rom.py + using python 3,5 something,
Update:
to be more specific: the original save i have is 128kb, i used a save converter to make it a 64kb version, this tool is made for changing gba saves around, it's called save type converter, but even the 64kb version won't work,
giving the 64kb version a name swap to .sa1 file and loading it up with visualboy works perfectly fine.
 
Last edited by Dennis G,

matpower

Messenger from Zero
OP
Member
Joined
May 5, 2012
Messages
1,103
Trophies
2
Age
24
Location
Best state in Brazil
XP
2,584
Country
Brazil
the latest (Agbsave9-20160506-161027) , downloaded all today. also tried a fixed version of the gen_rom.py + using python 3,5 something,
Update:
to be more specific: the original save i have is 128kb, i used a save converter to make it a 64kb version, this tool is made for changing gba saves around, it's called save type converter, but even the 64kb version won't work,
giving the 64kb version a name swap to .sa1 file and loading it up with visualboy works perfectly fine.
That's why it doesn't work. :P The latest version has a broken generator, and while it's fixable, I feel that it's better to use the previous version since you would need the fixed script and cia from previous version. As you can see in my tutorial, I recommend using the 1.0.0 EEPROM version with the fixed script file.

You can fix the latest version by copying the .cia file from the previous version and the script from this thread if you want.
 

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
That's why it doesn't work. :P The latest version has a broken generator, and while it's fixable, I feel that it's better to use the previous version since you would need the fixed script and cia from previous version. As you can see in my tutorial, I recommend using the 1.0.0 EEPROM version with the fixed script file.

You can fix the latest version by copying the .cia file from the previous version and the script from this thread if you want.
i will try that tomorrow and report back then =) good night for now =P
 
  • Like
Reactions: matpower

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
Did you replace the script with the one from this thread? Also I would try running it as an admin too.
yes replaced it with the eeprom v1 thinggie =P and i can't run python scrips as admin,i think it always runs as admin already
 

Dennis G

Well-Known Member
Member
Joined
Jan 4, 2016
Messages
673
Trophies
0
Age
32
XP
446
Country
Netherlands
Is it the exact same file from the tutorial or are you using the built-in one? If it's the tutorial one, check if you are using Python 3 instead of 2, if it still doesn't work, you probably will get better help here.
i use the one from here + the file you provided also i've tried all the others, and yes i'm using python 3,5 something
 

N7Kopper

Lest we forget... what Nazi stood for.
Member
Joined
Aug 24, 2014
Messages
975
Trophies
0
Age
30
XP
1,293
Country
United Kingdom
I know this topic's old, but I'm kinda clueless. Apparently, the thing's missing agb_inject_mb_1.ftr, even though it's in the same directory.
And yes, I did get the modded version, the 1.0 package, and Python 3. For all intents and purposes, the program is legitimately lying to me.
 
Last edited by N7Kopper,

matpower

Messenger from Zero
OP
Member
Joined
May 5, 2012
Messages
1,103
Trophies
2
Age
24
Location
Best state in Brazil
XP
2,584
Country
Brazil
I know this topic's old, but I'm kinda clueless. Apparently, the thing's missing agb_inject_mb_1.ftr, even though it's in the same directory.
And yes, I did get the modded version, the 1.0 package, and Python 3. For all intents and purposes, the program is legitimately lying to me.
Well, I went here and quickly made a zip file with my agb_inject folder, try it and tell me if it works. tested it here and it seems fine.
 
  • Like
Reactions: nomadwrangler

nomadwrangler

New Member
Newbie
Joined
Jul 28, 2016
Messages
3
Trophies
0
Age
47
XP
42
Country
United States
First off thanks N7Kopper for putting this together. Of all the Internets this seems to be the only guide that addresses this. Good work, and thanks!


Couldn't get it to work yet, but no errors. Game just loads as if there was no save; 2 specific questions before I start trying to test things:

[A9lh+CFW on SysNand (via Plailect's guide) o3DS] trying this with Pokemon leaf Green, and a .sav file verified with VBA

  • Running the specified python script in Version 1 of the inject folder (and I used N7Kopper's .zip folder as well to test), creates savegame .cia fine. However for the Python script "save type" I used 0 (sram) as the picture, but am thinking I should; try 2 (eeprom) as well. Pleading ignorance here, but how would I know what to use there?

  • Installed the output .cia, run it and get the "agb_inject" on screen fine. I just hold the power button for the 10/15 seconds for it to turn off. Is that what is supposed to be done there?

After that shutdown I navigate to the title folder (the only one with that tile ID) and copy the Data folder (containing a 000000001.sav). I place the SD card back in the console, boot, install the game's .cia, and shutdown again. Copy the previously mentioned "data folder" over the same title's data folder. Place card back in, boot and run game. Loads with no save at all.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: :rofl2: +1