[Question] VC GBA saves edit?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Fernando Ruelas, Feb 9, 2016.

  1. Fernando Ruelas
    OP

    Fernando Ruelas Newbie

    Newcomer
    8
    2
    Feb 9, 2016
    Mexico
    Hi guys, I am asking this because I have not found anything related to VC GBA save files edit, I have tried to backup the save data using all the save manager tools available (hombrew and cia) with no luck, I also tried backing up the save data from the installed GBA games (cia) in emunand and sysnand, is there a way to backup the save data to sd card and edit the save files?

    Edit - Got it to work, the trick is the following:

    1 - Open your GBA game and save the current game (I was using Pokemon Emerald).
    2 - Close the game and shutdown your 3DS, start Decrypt9 and go to Sysnand/Misc/ gbadump and dump your GBA save game.
    3 - Copy your gbasave.bin from the root of your sd card to your computer, edit the save (if needed you can change the .bin to .sav)
    4 - Copy back your edited gbasave.bin to your sd card root.
    5 - Now reinstall your GBA game (the same one you extracted the save file), this is to clear all game data from the 3DS.
    6 - Now open the GBA game and verify that there is no saved games there.
    7 - Shutdown and enter Decrypt9 and navigate to Sysnand/Misc/gbasave and inject now the gbasave.bin in your sd card.

    and Done you have successfully injected your save into your game.

    If the instructions are confusing I can make them more specific just send a message.
     
    Last edited by Fernando Ruelas, Aug 22, 2016
    Tsubakiandou likes this.
  2. SANNIC789

    SANNIC789 GBAtemp Advanced Fan

    Member
    704
    91
    Oct 3, 2015
    United States
    i dont think u can
     
  3. Darthlink9

    Darthlink9 GBATemp Resident Heartbreaker

    Member
    334
    71
    Feb 18, 2016
    United States
    Nearby
    I have a theory, but no means to test it, nor do I have the know how or the technical knowledge to do so. My theory is this: "export the saves from the GBA VC, then convert the save to be edited to an emulator readable format (example, a VBA save file) edit the save in the Emulator, then simply convert back to a VC save and inject. "Would be great if JKSV or a similar utility could do this though, huh? But as I states earlier I have virtually no Technical knowledge on the subject. I may just be stating nothing but waffle, if so, sorry bout that folks.
     
  4. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N I have graced this thread with my presence.

    Member
    821
    3,067
    Jun 7, 2016
    United States
    Hell
    There's agbsave9, but, from what I remember, you can only read saves, not write to them. So it's essentially a one-way deal.
     
  5. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,310
    5,233
    May 27, 2016
    United States
    New York
    Is it also possible to fix saves? Some games when injected won't save. :unsure:
     
  6. ThisIsDaAccount

    ThisIsDaAccount GBAtemp Advanced Fan

    Member
    695
    302
    Apr 8, 2016
    United States
    Injecting saves is now possible on AgbSave9. Look here for more details:
    https://gbatemp.net/threads/dumping-and-injecting-gba-vc-saves-with-agbsave9.421836/

    To fix most injected GBA games, you have to use the SRAM patcher that comes packaged with Riku's converter. Patch the games before conversion. The only exception for this are the Pokemon games, which require something a bit more complicated. Look here for how to fix them:
    https://www.reddit.com/r/3dshacks/comments/4ovk16/guide_fix_saving_for_injected_gba_pokemon_games/?
     
    Last edited by ThisIsDaAccount, Jul 28, 2016
    B_E_P_I_S_M_A_N likes this.
  7. Posghetti

    Posghetti Greninja Master

    Member
    GBAtemp Patron
    Posghetti is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    1,064
    360
    Mar 15, 2016
    United States
    Michigan
    I don't edit much GBA VC game saves besides Pokemon Yellow/Red/Blue but I can tell you that you can edit those games :P

    I used JK's Save Manager to extract the save then used Pikasav to do the rest, works just fine for me
     
  8. ThisIsDaAccount

    ThisIsDaAccount GBAtemp Advanced Fan

    Member
    695
    302
    Apr 8, 2016
    United States
    Red, Blue, and Yellow are regular Gameboy games, emulated on the 3ds. This thread is about Gameboy Advance games, like Pokemon FireRed and LeafGreen. Dealing with these is more complicated because they're not emulated, but instead played directly on the 3ds hardware like on the DS lite.
     
  9. Darthlink9

    Darthlink9 GBATemp Resident Heartbreaker

    Member
    334
    71
    Feb 18, 2016
    United States
    Nearby
    I'm aware of that. Just seems easier (at least to me) to either build an app to do all the technical bullsh!t for you, or fork an existing app such as JKSV and integrate the GBA save feature. Really, anything is possible, so long as you have the knowledge, skills, or dedication to do so.
     
  10. Aletron9000

    Aletron9000 3DS Master

    Member
    1,603
    454
    May 10, 2016
    United States
    3DS ARM9 CPU
    The newest build of decrypt9wip supports injecting gba vc saves. But you need slot0x24KeyY.bin. I think that is currently unknown to the public
     
  11. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N I have graced this thread with my presence.

    Member
    821
    3,067
    Jun 7, 2016
    United States
    Hell
    Really? How would one go about this?
     
  12. Aletron9000

    Aletron9000 3DS Master

    Member
    1,603
    454
    May 10, 2016
    United States
    3DS ARM9 CPU
    go to the Decrypt9WIP page (not releases, the code tab) download the source code then build it with make. .bin is arm9 and .elf can be converted to .3dsx (if you dont have a9lh, just take .elf and run it through 3dsxtool.exe included in devkitPro). Run the newely built Decrypt9. Under "SysNAND/EmuNAND Options" under Miscellaneous, there is gba vc save dump and inject. But this requires slot0x24KeyY.bin which i have been unable to find anywhere, it might be currently unknown.
     
    B_E_P_I_S_M_A_N likes this.
  13. Yuuyuun

    Yuuyuun Member

    Newcomer
    37
    27
    Mar 6, 2016
    Brazil
    Netherworld.
    I have the key, but I don't have a newer compiled version of decrypt9 to test.
     
  14. Aletron9000

    Aletron9000 3DS Master

    Member
    1,603
    454
    May 10, 2016
    United States
    3DS ARM9 CPU
    i have exactly the opposite, i have the compiled decrypt9, but not the 0x24 key Y.


    EDIT: LOL, found the Key
     
    Last edited by Aletron9000, Jul 30, 2016
  15. Yuuyuun

    Yuuyuun Member

    Newcomer
    37
    27
    Mar 6, 2016
    Brazil
    Netherworld.
    Wanna trade? lol.

    Edit: already got it.
     
    Last edited by Yuuyuun, Jul 30, 2016
  16. Aletron9000

    Aletron9000 3DS Master

    Member
    1,603
    454
    May 10, 2016
    United States
    3DS ARM9 CPU
    this is how to get the compiled decrypt9

    if you have any questions, feel free to ask.
     
  17. liljohn360

    liljohn360 Newbie

    Newcomer
    5
    0
    Jul 31, 2016
    Is there any way you could upload the compiled Decrypt9? I'm a complete noob and I have no idea how to build it, but I'd like to use the save inject feature! Also, where did you locate your slot0x24KeyY.bin?
     
  18. Aletron9000

    Aletron9000 3DS Master

    Member
    1,603
    454
    May 10, 2016
    United States
    3DS ARM9 CPU
    1. I don't know if i can post it
    2. pastebin (someone tell me if this breaks the rules, there is no direct link)
     
  19. liljohn360

    liljohn360 Newbie

    Newcomer
    5
    0
    Jul 31, 2016
    That's understandable, thank you anyways! I'll just wait until the build including the GBA save injector is released.
     
  20. Aletron9000

    Aletron9000 3DS Master

    Member
    1,603
    454
    May 10, 2016
    United States
    3DS ARM9 CPU
    EDIT: NVM, can't get anything to work
     
    Last edited by Aletron9000, Aug 1, 2016