Homebrew [Pre-release] Agbsave9 - Tool to extract agb_firm saves.

MushGuy

Well-Known Member
Member
Joined
Feb 11, 2010
Messages
1,260
Trophies
1
XP
2,299
Country
United States
to dump you just need to run the game you want to dump, close and then run agb_dump.3dsx it will also tell you title id and save type
System version 9.x
Title id 00c31900
Use save type 1
Creating agb_dump.sav ...
Save Dump: succeeded!

and to inject, first of all you have to install Python3 in your computer,
then put your save file in agb_inject folder and run gem_rom.py
in save name just put the name of your save file, like "pokemon.sav"
in title id put the same title id of the game you want to inject
in save type put
"0" for SVRAM
"1" for Flash
"2" for EEPROM
you can dump a save for your game first to see what is the type in dump log
then put a "whatevername.cia" in cia name
ok copy the cia to your SD and installs it OVERWRITING the original game
run it, and you will see something like that
2HGuplr6

for EEPROM it will show more lines and you have to wait it finish
then copy .sav file from SD:/Nintendo3DS/(lot of numbers, go to the smaller folder)/(morecharacters)/title/00040000/(your game title id)/data/
install the original cia from your game again and then restore the sav file that you just backuped

I think that is all folks
Thank you very much for the explanation! By the way, when you say the smaller folder, you mean the sysnand folder (I have unlinked nands)?
 

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
240
Country
Brazil
Thank you very much for the explanation! By the way, when you say the smaller folder, you mean the sysnand folder (I have unlinked nands)?
Yes, agb games saves on sysnand

my save files invaild size
how to you convert saves that are 128kb to 64kb so i can use em with this
Your save type is Flash 128k? So just put number 1 in savetype
 
Last edited by Argentlan,

MushGuy

Well-Known Member
Member
Joined
Feb 11, 2010
Messages
1,260
Trophies
1
XP
2,299
Country
United States
Yes, agb games saves on sysnand
For some reason I can't get the cia maker to work. It's giving me [SETTING ERROR] 'D' could not be opened. What does it mean? Do I have to open it in a different drive?

Edit: I copied the files to the desktop, now it tells me that drive C could not be opened. What gives?
 
Last edited by MushGuy,

tatundria

Well-Known Member
Member
Joined
Feb 24, 2009
Messages
385
Trophies
1
XP
1,813
Country
Argentina
just do it like any regular save
open your game in gbata.exe to find what is your savetype or you can dump any save of you already installed game with agb_dump and it will tell you that
put your save from VBA in agb_inject folder and follow the tutorial
when agb_inject ask you savetype you will only answer with a number
SRAM is 0,flash memory is 1 and EEPROM is 2
you have to put the same title id from the game you are injecting

Everytime I try to run it, it gives me the following error:

"No such file or directory" exheader.bin

Do you know how to fix this?
 

Attachments

  • Screen Shot 2016-03-04 at 5.38.31 p.m..jpg
    Screen Shot 2016-03-04 at 5.38.31 p.m..jpg
    184 KB · Views: 186

tatundria

Well-Known Member
Member
Joined
Feb 24, 2009
Messages
385
Trophies
1
XP
1,813
Country
Argentina
Please can anyone help me?

Everytime I try to run it, it gives me the following error:

"No such file or directory" exheader.bin

Do you know how to fix this?
 

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
240
Country
Brazil
Everytime I try to run it, it gives me the following error:

"No such file or directory" exheader.bin

Do you know how to fix this?
try to put 00e07500 in title id that is the only thing I made different but I really don't know what is happening, I just made a tutorial of how I managed to make it work

my save on emulators 128 how do i make it 64kb
what is your save type and your emulator?

For some reason I can't get the cia maker to work. It's giving me [SETTING ERROR] 'D' could not be opened. What does it mean? Do I have to open it in a different drive?

Edit: I copied the files to the desktop, now it tells me that drive C could not be opened. What gives?
I dunno, can you send a print? are you using python 3? did you installed python 2 before?
 
Last edited by Argentlan,

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
401
Trophies
0
Age
28
XP
2,169
Country
Russia
Original gen_rom.py from the latest release didn't work for me either.
I had to rewrite it a little bit to make it work on Windows. I actually uploaded it here couple of pages ago.
With that script I was able to successfully inject my old save into Zelda: ALTTP, which has EEPROM save type.
You can try that script if you want, but I'm not sure if it would work for you. Here it is: https://gbatemp.net/attachments/gen_rom-zip.38211/
 
  • Like
Reactions: RahFah and MushGuy

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
240
Country
Brazil
Original gen_rom.py from the latest release didn't work for me either.
I had to rewrite it a little bit to make it work on Windows. I actually uploaded it here couple of pages ago.
With that script I was able to successfully inject my old save into Zelda: ALTTP, which has EEPROM save type.
You can try that script if you want, but I'm not sure if it would work for you. Here it is: https://gbatemp.net/attachments/gen_rom-zip.38211/
that's true, I used your script when I managed to inject my save ^^" I completely forget that, I will link that in my tuto
 
Last edited by Argentlan,
  • Like
Reactions: MushGuy and redunka

MushGuy

Well-Known Member
Member
Joined
Feb 11, 2010
Messages
1,260
Trophies
1
XP
2,299
Country
United States
Original gen_rom.py from the latest release didn't work for me either.
I had to rewrite it a little bit to make it work on Windows. I actually uploaded it here couple of pages ago.
With that script I was able to successfully inject my old save into Zelda: ALTTP, which has EEPROM save type.
You can try that script if you want, but I'm not sure if it would work for you. Here it is: https://gbatemp.net/attachments/gen_rom-zip.38211/
that's true, I used your script when I managed to inject my save ^^" I completely forget that, I will link that in my tuto
Thank you Argentlan and redunka. Now, what program do I use to reinstall the GBA game after uninstalling the injector. For some reason, FBI won't let me.
 
Last edited by MushGuy,

hacksn5s4

Banned!
Banned
Joined
Aug 12, 2015
Messages
4,332
Trophies
0
XP
1,292
Country
try to put 00e07500 in title id that is the only thing I made different but I really don't know what is happening, I just made a tutorial of how I managed to make it work


what is your save type and your emulator?

vba m flash128k if i use 64kb on emulator it does not save also gen 3 save editor won't load 64kb save files
 
Last edited by hacksn5s4,

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
401
Trophies
0
Age
28
XP
2,169
Country
Russia
Thank you Argentlan and redunka. Now, what program do I use to reinstall the GBA game after uninstalling the injector. For some reason, FBI won't let me.
I use old DevMenu because it actually can overwrite old title without uninstalling it.
 

MushGuy

Well-Known Member
Member
Joined
Feb 11, 2010
Messages
1,260
Trophies
1
XP
2,299
Country
United States
Original gen_rom.py from the latest release didn't work for me either.
I had to rewrite it a little bit to make it work on Windows. I actually uploaded it here couple of pages ago.
With that script I was able to successfully inject my old save into Zelda: ALTTP, which has EEPROM save type.
You can try that script if you want, but I'm not sure if it would work for you. Here it is: https://gbatemp.net/attachments/gen_rom-zip.38211/
I use old DevMenu because it actually can overwrite old title without uninstalling it.
Thank you very much! Also, to add to the tutorial (@Argentlan ), the patched AGB_FIRM needs to be installed into emunand to be able to run the injector (installed in sysnand, of course).

EDIT: And I can finally confirm that the importing of the gba save is a success. I will do the same with the rest of the GBA games tomorrow.
 
Last edited by MushGuy,
General chit-chat
Help Users
  • No one is chatting at the moment.
    Skelletonike @ Skelletonike: 1H left, such a slow week.