3DS GBA Save Backup and Restore with GodMode9

Discussion in 'Nintendo 3DS Guides' started by InsaneNutter, Mar 24, 2018.

  1. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    12,351
    Likes Received:
    3,753
    Location:
    Yorkshire, England
    Could be several reasons, is your rom hack setup to correctly use 128k saves on the 3DS? if you have used this save on an emulator on the PC was it set to save 128k saves and not 64k?

    You also might have actually corrupted the save when editing it, did you test on an emulator first?
     
  2. Deivos

    Deivos New Member

    Joined:
    Sep 6, 2021
    Messages:
    1
    Likes Received:
    0
    Hello!
    Thank you for the tuto!
    I tryed with some CIA version of pokemon RFLG and it worked but with my emerald version i cannot restore my save. I mean i did all you said but it's still the same save from before. I tried many things but i couldn't find why it doesn't work.
    Could you help me please?

    Regards
     
  3. mark.mancera

    mark.mancera New Member

    Joined:
    Sep 16, 2021
    Messages:
    1
    Likes Received:
    0
    Thank you for this!
     
  4. Trip_Away

    Trip_Away Member

    Joined:
    Aug 27, 2022
    Messages:
    6
    Likes Received:
    4
    Sorry the necroposting, but i had a huge trouble.
    I had 2 pokemon games in my console: Pokemon Ruby and Pokemon Emerald. Who i inyect the Emerald save without that save affects my Ruby save?
    I try to inyect the save between the Godmode9 method but when i start the Ruby game i got "save deleted" error and when i inyect the Ruby save to fix that, the Emerald save screw complete.
     
  5. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    12,351
    Likes Received:
    3,753
    Location:
    Yorkshire, England
    Keep in mind you can only backup the save of the last GBA game you played, so launch the GBA game you wish to backup, for example Emerald and save it. You can then backup / restore that save.

    If you wish to then do the same for Ruby launch Ruby and save the game, you can then backup / restore that save instead and it will not affect the Emerald save.

    Ensure you are using 128k saves and GBA VC Pokemon games which have been setup for 128k saves.
     
  6. Trip_Away

    Trip_Away Member

    Joined:
    Aug 27, 2022
    Messages:
    6
    Likes Received:
    4
    OH THANKS, MAN!
     
  7. ZouL

    ZouL New Member

    Joined:
    Nov 21, 2022
    Messages:
    1
    Likes Received:
    0
    hi I try to inject my mgba .sav file to my 3ds using godmode 9 and it says injection failed.
    I looked at my .sav file properties and it shows the size is 128kb but the size on disk is 132kb
    Is that why I can't inject my sav file to my 3ds? and if it does how to rectify this problem
     
  8. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    12,351
    Likes Received:
    3,753
    Location:
    Yorkshire, England
  9. Jacrispy69

    Jacrispy69 New Member

    Joined:
    Dec 14, 2022
    Messages:
    1
    Likes Received:
    0
    How would you load the rom onto an emulator to use the save? Could I just get a rom and rename it to the title ID?
     
  10. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    12,351
    Likes Received:
    3,753
    Location:
    Yorkshire, England
    Generally you name the save the same as the rom, ensure they are in the same folder and the emulator will load the save
     
  11. Xenath3297

    Xenath3297 New Member

    Joined:
    Mar 30, 2023
    Messages:
    2
    Likes Received:
    0
    Halfway through exporting/injecting save files for Pokemon Emerald I've been getting errors injecting the save files back in.
    Here's some info:
    - I modded my 3DS 2 days ago with the latest resources (gm9 and others)
    - It worked at the start (had it exported on PC and added Old Sea Map back on the 3DS save file)
    - If I try injecting a save file that I just dumped it'll tell me the injection failed
    - I new game'd and tried again
    - PKHeX with the WC3 plugin can still load/edit the file, but it's seen as invalid by WC3Tool.0.1e
    - File size is 129KB (128KB on gm9)
    - File name is: 0004000000017E00.gbavc.sav
    - SD card is stock 4GB
     
  12. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    12,351
    Likes Received:
    3,753
    Location:
    Yorkshire, England
    Try loading the save in VBA-M and saving (ensure VBA-M is set to use 128kb saves and not 64kb) then restore that save to the 3DS.
     
  13. Xenath3297

    Xenath3297 New Member

    Joined:
    Mar 30, 2023
    Messages:
    2
    Likes Received:
    0
    So it won't let me continue from the save even though I get the message at the start saying it loads the battery from it (set it for 128kb saves).
    I can play from the save on mGBA though so I saved and tried to restore that, still failed.
     
  14. goomygoomygoomy

    goomygoomygoomy New Member

    Joined:
    Thursday
    Messages:
    1
    Likes Received:
    1
    Hi, just registered for this forum to share how I fixed this issue after some flailing around on Google without confirming any hard solutions anywhere. For me, I dumped my save from a FireRed romhack with gm9 and played it on my PC with mGBA with no issues. However I was getting the inject failed message with the save file from my PC. Seeing haryor's comment earlier in the thread made me think of using a hex editor, so I opened up both saves for comparison and saw there's an extra 16 bytes at the end of the mGBA-associated save for some reason. (There's a block of FFs from 0001C000 through 0001DFF0 in both saves, so I figured the 'extra' set was at the end.) I deleted those 16 bytes at the end using the hex editor and saved it, and the inject with that save worked fine! So I think that solved it for me. After editing, the saves are both 131072 bytes long according to the editor; before editing, the mGBA one was 131088.

    TL;DR:
    • .sav from mGBA had 16 extra bytes at the end of the file causing failed inject error
    • Used hex editor tool online to delete those 16 extra bytes
    • .sav inject then worked just fine with the instructions provided upthread by InsaneNutter
     
    InsaneNutter likes this.

Share This Page