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

Xerocide

New Member
Newbie
Joined
Jul 9, 2008
Messages
1
Trophies
0
XP
164
Country
United States
I'm having an issue with the step where I create the .cia file. I have already run the program on my 3DS, I got the save type and titleid, but that is where I seem to be stuck. When I use the gen_rom.py script to create the .cia, I enter in:

Type in your save's name: agb_dump.sav
Type in the output cia's name: firered.cia
Type in the save type: 0
Type in the title id of the game you wish to inject: 00fba800

But then nothing appears to happen, no .cia file is generated. I'm assuming it should be generated in the same folder as the gen_rom.py script and it's not. Any suggestions would be greatly appreciated.
 

Lox

New Member
Newbie
Joined
Feb 15, 2016
Messages
2
Trophies
0
Age
30
XP
45
Country
Netherlands
I've an issue with starting the agbsave9 on home-brew, as it just goes to red, black, red, and returns to home-brew channel. I've tried dumping the save in Emu and Sys.

*Edit.

Seems that launching via HBL CIA isn't working. However, browserhax does.
 
Last edited by Lox,

Disharmony16

~DooM-BringeR~
Member
Joined
Aug 31, 2015
Messages
241
Trophies
0
Location
Troll Islands
XP
462
Country
United States
I just made it like any other saves, try to edit, open in emulator and save again before inject, maybe you are putting wrong save type?
I install the cia and it just show me a banner of fire emblem later that i run it the program said what the program should said but when i go to the Nintendo folder and search the save i just found a save called "00000001.sav" with 192kb of size when i try to edit with a poke save editor it just said that the save is invalid i really don't know how to edit it.
Title id of the pokemon esmerald: 00c87300
Save type 1
 

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
260
Country
Brazil
I install the cia and it just show me a banner of fire emblem later that i run it the program said what the program should said but when i go to the Nintendo folder and search the save i just found a save called "00000001.sav" with 192kb of size when i try to edit with a poke save editor it just said that the save is invalid i really don't know how to edit it.
Title id of the pokemon esmerald: 00c87300
Save type 1
you don't edit the 0000001.sav if you wanna to edit the save that is in your 3DS you have to use adb_dump homebrew to dump your save file, then you edit
if you are injecting a savegame, just edit before inject
 
Last edited by Argentlan,

Keizel

Well-Known Member
Member
Joined
Jun 28, 2015
Messages
381
Trophies
0
XP
372
Country
United States
I am trying use this program (I use Python 3.5.1) but when I use gen_rom.py, this have a error:

[SETTING ERROR] 'C' could not be opened
[RESULT] Invalid arguments, see 'C:\Users\Keizel\Desktop\Agbsave9-20160208-200546\agb_inject\makerom.exe -help'
 

Derverd

Well-Known Member
Member
Joined
Dec 22, 2014
Messages
172
Trophies
0
Location
Mars?
XP
152
Country
Australia
Hi! When I do the second step to create the .cia it closes after I put in agb_dump.sav
If I put the answer in brackets ("agb_dump.sav") it lets me go to the next steps however they all have to be in brackets as well to continue. But when I get to the unique id part and press enter (regardless of brackets or not) it puts out some text and then quickly closes, not creating the .cia or anything. Any help please? I really want to have my 500+hour pokemon ruby save on my 3ds

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

Through my extremely quick printscreen ability I have found my error.

(normal beginning)
Type in the title id of the game you wish to inject: "00beee00"
Traceback (most recent call last):
File "C:\Users\Blahoolidooli\Desktop\3ds\4 GBA STUFF\Agvsave9-20160205-184049\agb_inject\gen_rom.py", line 27, in <module>
rom[0x1ffff] = savetype
IndexError: bytearray index out of range

Is this because my file directory is really long?
 

the assaf

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
489
Trophies
0
Age
29
XP
360
Country
Hi! When I do the second step to create the .cia it closes after I put in agb_dump.sav
If I put the answer in brackets ("agb_dump.sav") it lets me go to the next steps however they all have to be in brackets as well to continue. But when I get to the unique id part and press enter (regardless of brackets or not) it puts out some text and then quickly closes, not creating the .cia or anything. Any help please? I really want to have my 500+hour pokemon ruby save on my 3ds

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

Through my extremely quick printscreen ability I have found my error.

(normal beginning)
Type in the title id of the game you wish to inject: "00beee00"
Traceback (most recent call last):
File "C:\Users\Blahoolidooli\Desktop\3ds\4 GBA STUFF\Agvsave9-20160205-184049\agb_inject\gen_rom.py", line 27, in <module>
rom[0x1ffff] = savetype
IndexError: bytearray index out of range

Is this because my file directory is really long?
Happened to me and to bunch of other fellas, just make sure you have Python 3 installed. And you know that agb_dump.sav is probably not the file that you need (because you want to inject your 500+ hours game and not a dump you just made. Of corse you might want to transfer saves between 3ds.)
 

Derverd

Well-Known Member
Member
Joined
Dec 22, 2014
Messages
172
Trophies
0
Location
Mars?
XP
152
Country
Australia
Happened to me and to bunch of other fellas, just make sure you have Python 3 installed. And you know that agb_dump.sav is probably not the file that you need (because you want to inject your 500+ hours game and not a dump you just made. Of corse you might want to transfer saves between 3ds.)
ahk yeah I have python 2.7

I renamed my .sav file because I thought the problem was the name of the .sav originally xD
 

Excelsis

Active Member
Newcomer
Joined
May 25, 2007
Messages
44
Trophies
1
Age
36
Location
Quebec
XP
287
Country
Canada
I am trying use this program (I use Python 3.5.1) but when I use gen_rom.py, this have a error:

[SETTING ERROR] 'C' could not be opened
[RESULT] Invalid arguments, see 'C:\Users\Keizel\Desktop\Agbsave9-20160208-200546\agb_inject\makerom.exe -help'

Having the same issue here with the latest version. Works fine with the previous release without eeprom support. Obviously I need eeprom support for THAT one game, always how things work, eh?
 

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
260
Country
Brazil
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
 
Last edited by Argentlan,
  • Like
Reactions: tatundria

MushGuy

Well-Known Member
Member
Joined
Feb 11, 2010
Messages
1,281
Trophies
1
XP
2,644
Country
United States
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
Seriously, someone needs to make a detailed tutorial on how to use this thing, for extracting and injecting.
 
  • Like
Reactions: Argentlan

Argentlan

Well-Known Member
Member
Joined
Oct 27, 2015
Messages
236
Trophies
0
XP
260
Country
Brazil
Seriously, someone needs to make a detailed tutorial on how to use this thing, for extracting and injecting.
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, google it
Remember, you shall only inject in Sysnand!(but the save will works on emunand)
Download the lastest Agbsave9 release HERE
if you are in Windows overwrite gen_rom.py with that modified version at the moment the official one with EEPROM support (version 1.0) is not working on windows
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 from your game first to see what is the save type and your title id in dump log
then put a "whatevername.cia" in cia name
it should look like this
DgZFi7j.png

ok, now copy the cia to your SD and installs it OVERWRITING the original game, I used FBI to this
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 backup .sav file from SD:/Nintendo3DS/(lot of numbers, go to sysnand folder)/(morecharacters)/title/00040000/(your game title id)/data/
install the original cia of your game again and then restore the sav file that you just backuped

I think that is all folks
 
Last edited by Argentlan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @AncientBoi, you've got Kenny here.
    +2
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although it has to be bigger for ancientboi to like it
    +1
  • K3Nv2 @ K3Nv2:
    Whoever liked it is gay it's just a smiley face
    +2
  • BigOnYa @ BigOnYa:
    Lol, that's so funny
  • BakerMan @ BakerMan:
    guys, another dessert related question
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, didnt know i was gay
  • BakerMan @ BakerMan:
    is it "care-a-mell" or "car-mull"?
  • Xdqwerty @ Xdqwerty:
    @BakerMan, either works
  • BakerMan @ BakerMan:
    yeah, i just mean in y'all's opinions
  • Xdqwerty @ Xdqwerty:
    btw guys i played some roblox game with a friend from there that missed me
  • Xdqwerty @ Xdqwerty:
    is that a good thing?
  • Xdqwerty @ Xdqwerty:
    im coming back to roblox relatively slowly
  • BigOnYa @ BigOnYa:
    Care A mell is how I've always pronounced it. But i heard both ways. Goes both ways, like kenny.
  • K3Nv2 @ K3Nv2:
    Well now my routers not picking up my ring device fucking hate ring
  • BigOnYa @ BigOnYa:
    Be a good time to leave flaming dog poo in a bag on your porch...
  • K3Nv2 @ K3Nv2:
    You're as much as a threat to me that my grandma is
    +1
  • BigOnYa @ BigOnYa:
    Damn, somebody not getting they nipples twisted right today? Lol
    +1
  • BigOnYa @ BigOnYa:
    I don't have any "Ring" devices so don't know, we have "Rang" devices tho, from the dollar tree
  • K3Nv2 @ K3Nv2:
    Any grown woke man would know not to piss off grandma
    +1
  • BigOnYa @ BigOnYa:
    Grandma's a shooter, not a fighter.
  • K3Nv2 @ K3Nv2:
    Made uregrandma shoot
    K3Nv2 @ K3Nv2: Made uregrandma shoot