gba vc game save files

Discussion in '3DS - Homebrew Development and Emulators' started by tall guy, Sep 25, 2018.

  1. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    I'm trying to edit a gba vc game savefile, with godmode9 i can dump the savefile ,but when i want to restore it , i always get the
    error: 'game savefile inject failed' ,why is that?
     
  2. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    First, make sure your extracted, edited *.sav works with the exact *.gba game using a desktop version of the mGBA emulator. Testing with mGBA is recommended because it's considered the most accurate GBA emulator (to date).

    Next, read here about how to restore the decrypted *.sav back onto the GBA VC title.
    If the edited save can't be restored, assume your edits have incompatible discrepancy between native hardware and emulated software.
     
  3. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    If a start the game ,with the extracted savefile ,with the mGBA emulator , the savefile is not loaded, i have to start a new game with mGBA. If i change the name of the extracted savefile then it works with the mGBA emulator on pc. But i always get "savegame inject failed" when i want to put it back on the 3DS! Even when i extract it and the try to inject it again wright away ,i got this error. Whatever i do, i cannot inject a savefile.
     
    Last edited by tall guy, Sep 26, 2018
  4. Cesar9883

    Cesar9883 Member

    Newcomer
    1
    Aug 28, 2016
    Canada

    Did you make sure that the sav is the same size as one extracted from the gbavc?

    at the time of injecting a sav of an emulator to the vc I gave error because the sav did not have the same size, to fix it I used a trimmer
     
    TurdPooCharger likes this.
  5. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    The one i used was the extracted gbavc save file , even when i dumped it with godmode9 and then want to inject it again, i got this error:
    "savegame inject failed" , the size is 128kB.
     
  6. d0k3

    d0k3 3DS Homebrew Legend

    Member
    13
    Dec 3, 2004
    Germany
    Did you really follow the instructions? As I said, we need the actual savefile and the S:/agbsave.bin file to find out what happens there.
     
  7. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    the dumped save file is in: S:gm9/out
     
  8. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    When i want to upload the save file i get this message : "The uploaded file does not have an allowed extension. "
    The dumpted savefile looks like this: 0004000000507500.gbavc.sav , and it's located in S: gm9/out .
    I cannot inject it back again.
     
    Last edited by tall guy, Oct 1, 2018
  9. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    Can you GodMode9 dump the current save found in your GBA VC? Provide this and the hacked *.sav file you're trying to inject. Upload the two *.sav files in an archive here. What game are you trying to get this to work on? Tell us the game's exact name, region (ie, EUR / JPN/ USA, etc.), and whether there are any rom hacks patched on it.

    If you have the *.gba rom that was used to make a GBA VC injection, try to get a CRC32 hash of it (may need to archive it in WinRAR).
    Example CRC32 in WinRAR

    You can also point to us the game found here:
     
  10. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    Uploaded the save file good i hope, i also cannot inject the savefile back , even when i did not touched it. Playing pokemon BlazedGlazed.
     

    Attached Files:

    Last edited by tall guy, Oct 1, 2018
  11. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    Archive the *.sav file(s) using 7-zip or WinRAR in a .zip, .7z, or .rar container. Upload your saves here on GBAtemp; see Upload a File next to Post Reply. Tell us the exact name and region of the GBA game you were playing. Do not upload the *.gba rom on GBAtemp as this goes against ToS.
     
  12. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    just did it in the previous message.
     
  13. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    The *.gba rom I used in my NSUI injection was Pokemon Blazed Glazed v1.3 with a CRC32 hash of 33A19F07 and uncompressed size of 32 MB. This was found at a blog site dated 2017/03. In NSUI setting, the ROM save type was kept with the default setting, Flash 1Mbit (Macronix, ID: 0x09C2) + RTC.

    I had no problems using your 0004000000507500.gbavc.sav renamed to match the blazed-glazed-v1.3.gba on Windows desktop mGBA v0.7-b1 emulator.

    After launching the game, making a dummy character profile *(& saving it), exiting back to HOME Menu, Rosalina menu (L-shoulder) + (Down, d-pad) + (Select) to Reboot and hold (Start) to get to Luma chainloader > GodMode9 trick.
    1. I pressed (Y) on 0004000000507500.gbavc.sav to [CLIPBOARD] select the file.
    2. Went into [S:] SYSNAND VIRTUAL, pressed (A) on agbsave.bin, AGBSAVE options... > Inject GBA VC save, and got the Savegame inject success.
    3. Pressed (Start) to boot back to HOME Menu and launched Pokemon Blazed Glazed.
    4. Launched the character profile, pressed (Start) to get to SAVE, and saved the game with YES.
    5. After saving, pressed (HOME) button to exit back to HOME Menu.
    6. Launched Pokemon again to see that BLAGAZ is still present.
    If doing this doesn't work, I suggest you copy everything off your SD card, reformat it as FAT32 + 32 KB cluster size using guiformat, and with the card empty, run a Full Write + Verify Test in H2testw. You may have a hardware defective card.

    [​IMG]

    [​IMG]
     
    Last edited by TurdPooCharger, Oct 1, 2018
    Arecaidian Fox likes this.
  14. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    I also have no problems running that savefile on emulator on pc, but i cannot inject it back on 3DS.
     
  15. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    I don't know what else to tell you at this point other than reformat and check the card like what was mentioned in post #13. If the results comes back clean without an error in H2testw, reinstall that game's *.cia, and try injecting the save again.

    Also, make sure you're using the latest custom firmware setup on both your SD card and CTRNAND: Luma3DS v9.1, boot9strap v1.3, and GodMode9 v1.7.1.
    If instead you have Luma3DS v7.0.5 or older (arm9loaderhax), your setup needs to be updated.
    Edit - If you used Asdolo's previous Ulimate GBA VC Injector, try instead making another GBA VC injection of Pokemon Glazed Blazed with NSUI Beta 27.
     
    Last edited by TurdPooCharger, Oct 1, 2018
  16. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    How do i check the what boot9strap version i have, luma and godmode9 are the versions you mentioned.
     
  17. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    Only update the custom firmware AFTER you've reformatted and checked your SD card with guiformat and H2testw. If your card is bad or fake, you can brick your 3DS.

    Turn on the 3DS and hold (Select). If you have Luma3DS, you should be greeted with a configuration menu like this:

    [​IMG]

    If it says Luma3DS v7.0.5 configuration or older, follow the A9LH to B9S guide.

    ***

    If it's a version that v7.1 to v9.0, go ahead and do the steps in updating your B9S custom firmware. Here's a condensed and combined guide of Updating B9S and CTRNAND Luma3DS.
     
    Last edited by TurdPooCharger, Oct 1, 2018
  18. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    I have the Luma3DS v9.1
     
  19. TurdPooCharger

    TurdPooCharger Meh

    Member
    10
    Jan 1, 2018
    United States
    Alright, the rest is up to you.
    1. Reformat and check the SD card with guiformat and H2testw.
    2. Make another PKM: Blz Glz GBA VC injection with NSUI Beta 27. Reinstall.
    3. Hanky pranky the save wanky with GodMode9 v1.7.1.
    Good luck!
     
  20. tall guy
    OP

    tall guy GBAtemp Fan

    Member
    4
    Mar 15, 2009
    Belgium
    If i do all this, i'm still on cfw? And do i have to start a new game? And thanks a lot for all your time !:)
     
    Last edited by tall guy, Oct 1, 2018
Loading...