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

alex34567

Member
OP
Newcomer
Joined
Jan 17, 2016
Messages
18
Trophies
0
Age
23
XP
124
Country
United States
I got that to generate a cia, gonna try it now. Thanks for the help. ^_^
I want to see if I can use this to inject a save file to fix Super Mario Advance 4, for some reason the game has trouble writing 128KB saves, and instead says "File is corrupt"
Edit: @alex34567
Okay, well, the cia it generated... it uh, has the title id 00ffbb00 instead of 00cf1300 like I had inputted.
Try this build https://github.com/alex34567/Agbsave9/raw/master/release/Agbsave9-20160123-231410.zip.
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,774
Country
United States
Same problem as before, it's got a title id of 00ffbb00 instead of the one I provided.
Something I noticed is that it says that common key couldn't be loaded or something?

I don't mind continuing to test this for future reference, seems like it's a pretty promising little project, especially if I can get it fix Super Mario Advance 4.

bug aside, this is really cool, I hope you continue to maintain this once it's gotten good enough to work consistently. ^_^
 
Last edited by CheatFreak47,

mounteerie

New Member
Newbie
Joined
Jan 3, 2016
Messages
4
Trophies
0
Age
27
XP
46
Country
Same problem as before, it's got a title id of 00ffbb00 instead of the one I provided.
Something I noticed is that it says that common key couldn't be loaded or something?

I don't mind continuing to test this for future reference, seems like it's a pretty promising little project, especially if I can get it fix Super Mario Advance 4.

Yup, can confirm the same error. Entering a title id of 00fc8300 results in a title id of 00ffbb00.

Edit: This comment on this commit is correct. However, I am now getting "The SD card has been removed" when trying to launch the save injector.

Edit 2: Success, I've uploaded my (hopefully) working edit plus some updated instructions. Merge them if you wish, @alex34567
https://github.com/mounteerie/Agbsave9
 
Last edited by mounteerie,
  • Like
Reactions: CheatFreak47

the assaf

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
489
Trophies
0
Age
29
XP
360
Country
If I already have the cia for my game will I need to rebuild it with others tools? And thank you vary much!!
 

mounteerie

New Member
Newbie
Joined
Jan 3, 2016
Messages
4
Trophies
0
Age
27
XP
46
Country
If I already have the cia for my game will I need to rebuild it with others tools? And thank you vary much!!

Check out the instructions I wrote up here https://github.com/mounteerie/Agbsave9
Download this release: https://github.com/mounteerie/Agbsave9/releases/download/0.2.5/agbSave9.0.2.5.zip

This is how I managed to get it to work. You will need to build a cia to inject the save file, but you don't require anything but a save file and everything in the instructions I linked.
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,774
Country
United States
Check out the instructions I wrote up here https://github.com/mounteerie/Agbsave9
Download this release: https://github.com/mounteerie/Agbsave9/releases/download/0.2.5/agbSave9.0.2.5.zip

This is how I managed to get it to work. You will need to build a cia to inject the save file, but you don't require anything but a save file and everything in the instructions I linked.

Tried this one, this fixed the issue with 00ffbb00, but it doesn't seem to work anyway, because when I imported the CIA, it left a black box with no banner on the menu which when launched lead to a "SD Card has been removed"

Wish I had better luck, in case anyone else wants to take a crack at this:

https://u.teknik.io/JOq0NR.sav I want to inject this sav into a CIA with the title ID of 00cf1300 and save type of 1.
 
Last edited by CheatFreak47,

the assaf

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
489
Trophies
0
Age
29
XP
360
Country
I can't seem to generate that CIA. it took me lot of time to figure up how to use that inputs (using "", title id of 8 hex digits (which is the Unique Id actually), I looked at the source and learned python for do it all right) and now it have that problem:
hNoDMPj.png
thanks.
 

mounteerie

New Member
Newbie
Joined
Jan 3, 2016
Messages
4
Trophies
0
Age
27
XP
46
Country
I can't seem to generate that CIA. it took me lot of time to figure up how to use that inputs (using "", title id of 8 hex digits (which is the Unique Id actually), I looked at the source and learned python for do it all right) and now it have that problem:
hNoDMPj.png
thanks.

Are you using Python 3? The fact you have to use quotes suggest you aren't, as I made the same mistake. Download it from here: https://www.python.org/downloads/release/python-351/

--------------------- MERGED ---------------------------

Tried this one, this fixed the issue with 00ffbb00, but it doesn't seem to work anyway, because when I imported the CIA, it left a black box with no banner on the menu which when launched lead to a "SD Card has been removed"

Wish I had better luck, in case anyone else wants to take a crack at this:

https://u.teknik.io/JOq0NR.sav I want to inject this sav into a CIA with the title ID of 00cf1300 and save type of 1.
I had the same "SD Card has been removed" error. I believe the fix was to reboot the 3ds after installing/uninstalling each CIA. Did you try that? It's also possible that something else caused it, although I have tried once more using that method and it worked.
 
  • Like
Reactions: the assaf

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,774
Country
United States
Are you using Python 3? The fact you have to use quotes suggest you aren't, as I made the same mistake. Download it from here: https://www.python.org/downloads/release/python-351/

--------------------- MERGED ---------------------------


I had the same "SD Card has been removed" error. I believe the fix was to reboot the 3ds after installing/uninstalling each CIA. Did you try that? It's also possible that something else caused it, although I have tried once more using that method and it worked.

Tried that again with a reboot between, and tried installing with a couple different cia managers. Doesn't work. I'll rebuild the CIA again and try once more.

---

Yeah, nope, not working, it's still a black box. :/
And when I uninstall it with FBI it gives me an "SD was removed" error
And when I uninstall it with BBM the first time it uninstalls, it fails, and then the second time it succeeds, and when I return to the menu, it hides all SD Card contents until I reboot, where when I reboot, I need to boot into Sysmenu with the SD ejected or else when I turn the 3DS on, it freezes 100% of the time at A) Menuhax B) CTRBootManager or C) RxTools.

Basically this is some annoying shit, I'll wait until this thing produces CIAs that aren't broken.
 
Last edited by CheatFreak47,
  • Like
Reactions: Stack3r

mounteerie

New Member
Newbie
Joined
Jan 3, 2016
Messages
4
Trophies
0
Age
27
XP
46
Country
Tried that again with a reboot between, and tried installing with a couple different cia managers. Doesn't work. I'll rebuild the CIA again and try once more.

---

Yeah, nope, not working, it's still a black box. :/
And when I uninstall it with FBI it gives me an "SD was removed" error
And when I uninstall it with BBM the first time it uninstalls, it fails, and then the second time it succeeds, and when I return to the menu, it hides all SD Card contents until I reboot, where when I reboot, I need to boot into Sysmenu with the SD ejected or else when I turn the 3DS on, it freezes 100% of the time at A) Menuhax B) CTRBootManager or C) RxTools.

Basically this is some annoying shit, I'll wait until this thing produces CIAs that aren't broken.

I'm not sure help much more, I was only really sharing how I managed to get it working. However, I get the same error with that save file. Which game is it for? My save file is a 66kb file compared to your 131kb.
 

CheatFreak47

Catgirl Expert
Member
Joined
Oct 11, 2011
Messages
1,574
Trophies
2
Age
28
Location
Michigan, USA
XP
2,774
Country
United States
I'm not sure help much more, I was only really sharing how I managed to get it working. However, I get the same error with that save file. Which game is it for? My save file is a 66kb file compared to your 131kb.
It's for Super Mario Advance 4: Super Mario Bros. 3 [Wii U eShop Virtual Console]
I'm trying to inject a full 128kb save into the game so I can bypass the save creation error this game typically has on a constant basis.
 
Last edited by CheatFreak47,

Stack3r

Shizuo Heiwajima
Member
Joined
Jan 24, 2014
Messages
980
Trophies
0
Age
31
Location
Ikebukuro
XP
1,472
Check out the instructions I wrote up here https://github.com/mounteerie/Agbsave9
Download this release: https://github.com/mounteerie/Agbsave9/releases/download/0.2.5/agbSave9.0.2.5.zip

This is how I managed to get it to work. You will need to build a cia to inject the save file, but you don't require anything but a save file and everything in the instructions I linked.
Okay so i followed all the steps and installed the generated cia, it will appear on my homemenu and just disappear before i can click on it now what.
 
Last edited by Stack3r,

DeltaDragoon

Member
Newcomer
Joined
Nov 3, 2014
Messages
9
Trophies
0
Age
30
XP
103
Country
United States
Well I haven't gotten it working yet but I was able to create the save game cia file and I was able to install it and get the "AGB_FIRM save injector" and do the rest of it but when I replaced the saves located in the 3DS folders nothing was replaced in-game, the saves were just blank saves. I'm wondering if it has something to do with unlinked NANDs, as mine are unlinked as I haven't had a reason to link them back up. I don't know much about how the two NANDs work and how saves work but if they're unlinked couldn't that cause a problem?
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Well I haven't gotten it working yet but I was able to create the save game cia file and I was able to install it and get the "AGB_FIRM save injector" and do the rest of it but when I replaced the saves located in the 3DS folders nothing was replaced in-game, the saves were just blank saves. I'm wondering if it has something to do with unlinked NANDs, as mine are unlinked as I haven't had a reason to link them back up. I don't know much about how the two NANDs work and how saves work but if they're unlinked couldn't that cause a problem?
It may... Try injecting the save to sysNAND and emuNAND
 

Stack3r

Shizuo Heiwajima
Member
Joined
Jan 24, 2014
Messages
980
Trophies
0
Age
31
Location
Ikebukuro
XP
1,472
This is really getting annoying, i followed all the steps and took a save from vba and after i reinstall my game and inject the data folder back i just have the new game option
 

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
260
Country
Brazil
when I open the 3dsx file by Emunand my 3ds just freeze in black screen, what happened?

And in sysnand it doesn't show any gba title to extract, I am a little confused
 
Last edited by Argentlan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/sGvT5FKSiyk?si=TYqsdjjbF-4N8Xc8