Dumping and injecting GBA VC saves with AGBSave9

Discussion in '3DS - Tutorials' started by matpower, Apr 4, 2016.

  1. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    WARNING: Decrypt9 added a native save dumping and injecting tool that works way better than AGBSave9, you can download it here.
    I'll be keeping this guide around for historical purposes, but you should use Decrypt9 instead.
    Depreciated tutorial here

    Edits:
    2016-08-10: Decrypt9 released an update with save injecting and dumping, there is no need to keep using AGBSave9 anymore.
    2016-05-04: Hopefully fixed the formatting on mobile devices, added a emuNAND side note, thanks @AnalogMan
    2016-05-20: Looks like AGBSave v1.0.1 has a broken "agb_inject" folder, while it's fixable, there is no difference between it and v1.0, and you still need a modified script to run, so right now, I'm recommending v1.0 over v1.0.1.
     
    Last edited by matpower, Aug 11, 2016
    emuashui, Scorchy, marc00077 and 18 others like this.


  2. MartyDreamy

    MartyDreamy MartyDreamy <3 DinohScene

    Member
    877
    1,538
    Jul 1, 2015
    Italy
    In a courtroom
    Very good guide! :)
     
  3. oFire

    oFire GBAtemp Regular

    Member
    119
    35
    Oct 6, 2015
    United States
    Ok, I realize this may be supposed to be apparent, but why would you dump a save and then inject that same save back into the 3ds? does that make it so the cia reads different size .sav files?
     
  4. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    Well, you don't need to inject the dumped save from the "Dumping GBA VC saves" unless you want to restore them. If you just want to inject it, just follow the "Injecting" part, you just need to know the Title ID of the game's CIA and save type.
    If you are talking about data folder backup, it's because it gets overwritten when you reinstall the game again.
     
  5. oFire

    oFire GBAtemp Regular

    Member
    119
    35
    Oct 6, 2015
    United States
    Ah, I understand now, Had to follow the whole process and think about what was happening on every step, now it makes sense, thanks for the step by step and the whole python part, I had never used the program so didnt have a clue about having it for this.
     
    matpower likes this.
  6. AnalogMan

    AnalogMan sumoCheatMenu Dev

    Member
    1,227
    703
    Apr 20, 2007
    United States
    Wanted to add, that at step 5, the CIA should be installed to and overwrite the one you have in sysNAND. After this, if you have emuNAND setup and normally launch your GBA games from there, you need to reboot into emuNAND to run the game in order to get the AGB_Firm save injector message otherwise it will just error. Then you can pick back up at step 8.
     
    matpower likes this.
  7. shinta3003

    shinta3003 Newbie

    Newcomer
    1
    0
    Apr 8, 2016
    Spain
    Thank you Mat is exactly what I was looking for to be able to inject my saves from prev emulator progress you are the best for completely explain step by step
     
  8. MushGuy

    MushGuy GBAtemp Advanced Fan

    Member
    840
    243
    Feb 11, 2010
    United States
    For some reason, when I try to load the application via the homebrew launcher (with this loader), it kicks me back to the launcher menu. How do I load the a9lh version (I already have a9lh installed with AuReiNand)?
     
  9. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    Put it inside the /aurei/payloads folder and rename it to (button)_(name).bin (Replace the brackets with the button/name, example: left_agbsave.bin) and press the button that you chose during boot.
     
  10. MushGuy

    MushGuy GBAtemp Advanced Fan

    Member
    840
    243
    Feb 11, 2010
    United States
    It won't work. I rename it to up_agbS9.bin, black screen. I rename it to left_agbS9.bin, still black screen. And I press the correct buttons during boot. Am I doing something wrong?
     
  11. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    Hmm, I have heard that the latest version of AuReiNAND broke some payloads(dirty payloads or something like that), I guess AGBSave9 is one of those? Try running it with AuReiNAND 5.0(Name it just (button).bin instead) or with another boot manager. If it works, it means that this payload will need a fix later.
     
  12. MushGuy

    MushGuy GBAtemp Advanced Fan

    Member
    840
    243
    Feb 11, 2010
    United States
    What another boot manager?
     
  13. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    CTRBoot9 or CTRBootManager9.
     
  14. MushGuy

    MushGuy GBAtemp Advanced Fan

    Member
    840
    243
    Feb 11, 2010
    United States
    Is there a difference between both, or are they the same application? I could only find the latter.
     
  15. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    Sorry, the former is BootCTR9, and they do the same thing, so try both.
     
  16. MushGuy

    MushGuy GBAtemp Advanced Fan

    Member
    840
    243
    Feb 11, 2010
    United States
    OK, I tried loading it with this version of the boot manager, and I still get a black screen.

    EDIT: Never mind. Downloaded the latest version of AGBsave9, and it did work with the manager.
     
    Last edited by MushGuy, Apr 21, 2016
    matpower likes this.
  17. Cecil_FF4

    Cecil_FF4 Member

    Newcomer
    16
    2
    Apr 25, 2016
    United States
    A9LH-compatible version doesn't work. I tried booting it through the A9LH-compatible BootCTR (everything else I got runs just fine through that), but once I hit the key to load it, it freezes. Nothing happens. It also doesn't load the dat version (freezes). Nor can I run the 3dsx version through HBL (returns to HBL immediately).

    O3DS XL | 9.2sys/10.7emu
     
  18. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    If you are using the .3dsx version, you need to run it from sysNAND 9.2 even if your games are on emuNAND, also I have noticed that it freezes if you don't load a GBA game before running it.
     
  19. Cecil_FF4

    Cecil_FF4 Member

    Newcomer
    16
    2
    Apr 25, 2016
    United States
    It still froze, even after loading a GBA game and then immediately trying to load the bin through A9LH. I'm using an injected GBA, btw, through emunand on Luma3DS 5.2, but my injected games have no trouble creating and retaining saves.
     
  20. matpower
    OP

    matpower A Hero of Justice

    Member
    794
    537
    May 5, 2012
    Brazil
    Kazamatsuri
    Could you try running the game from sysNAND? (I would make NAND and save backups just in case something happens with the save)