AGBSave9 VS Decrypt9 for GBA VC Injection

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Majickhat55, Sep 8, 2016.

  1. Majickhat55
    OP

    Majickhat55 The Red Woman

    Member
    4,631
    2,308
    Mar 28, 2016
    United States
    Asshai
    So I've recently been using the AGBSave9 to export/import my GBA VC saves but it's a pretty tedious process although it does work. I saw that Decrypt9 had GBA save manipulation now so I tried to use that one for ease of access but it never seems to work for me. I have the needed slotkey and it says it "succeeds" yet I'm always reverted back to my backup save instead. The ROM in question is Pokemon Leaf Green BTW.

    I have seen on other forums that the standard save should be 128kb vs 64kb Flash 1 but both programs only dump a 64kb file. PKHeX/PikaSav/Rhydon recognize the save dumped with AGB while, PKHeX/Rhydon are the only ones who recognize the export from Decrypt9. Both dumps work fine on a PC emulator without changes.

    So I saw that someone suggested to change the file size of the save through the emulator but Decrypt9 will not recognize a 128kb.bin file, so that's a no go. I also saw the suggestion to go to D0 88 8D 83 42 and replace anything in between it and 24 10 49 10 68 with 00, but I don't want to have to rebuild the CIA just to use Decrypt9 for Save injection unless I have to.

    I'm using a N3DSXL on Luma 6.0.1 with A9LH updated sysNAND. I have also seen other threads mentioning to use a previous version of Luma (5.5?) to get the VC injection working but IIRC that was only in regards to AGBSave9, which I said works fine, it's just a tedious process. (Even with that I still get the "The save is corrupted. The previous save file will be loaded" but my edits are there, so IDC).

    That said, is there anything else I could probably try to get the Decrypt9 GBA VC Injection working? TIA.
     
    Last edited by Majickhat55, Sep 11, 2016
  2. ThisIsDaAccount

    ThisIsDaAccount GBAtemp Advanced Fan

    Member
    814
    387
    Apr 8, 2016
    United States
    The hex editing only applies to the Pokemon rom itself. After you hex edit the rom, open it up with the 128 Kb save file on an emulator on your computer. Afterward, save in-game. This will result in a 64 Kb save.

    Edit: just so you know, this is all theory.
     
  3. Majickhat55
    OP

    Majickhat55 The Red Woman

    Member
    4,631
    2,308
    Mar 28, 2016
    United States
    Asshai
    My saves are already 64kb anyway.....
     
  4. ThisIsDaAccount

    ThisIsDaAccount GBAtemp Advanced Fan

    Member
    814
    387
    Apr 8, 2016
    United States
    Ah, ok, I misread the question. To get them back to 128 kb, you will need to use visualboyadvance. Put the unedited rom and 64 kb save file in the same directory with the same name besides the extension, and load the rom with VBA. Afterward on emulation options, you will need to click edit and go to 3005004. Change the byte there to 00 or 01 (I forget which). Then you will be able to load the save on visualboyadvance. Create a save state to make sure you do not lose the save after loading.

    Then, set the save type to flash 64 and save the game. After you saved once, switch it back to flash 128 and save again. This should make the save file 128 kb.

    I'm looking for the YouTube tutorial I used on the hex edit, because I might be confusing myself. I'll post it here when I find it.
     
  5. Majickhat55
    OP

    Majickhat55 The Red Woman

    Member
    4,631
    2,308
    Mar 28, 2016
    United States
    Asshai
    I don't need to get them back to 128kb lol. There were never that size in the first place. They load both on the 3DS and the Emulator with the size dumped (64kb). My problem is injecting using Decrypt9, my saves are fine since they work wonderfully with ABGSave9. Thank you for the insight though :D

    — Posts automatically merged - Please don't double post! —

    I think you just mis-read my OP. I stated I had already done that (changing the save size: Decrypt9 will not recognize a 128kb file). I'm just trying to get Decrypt9 to inject my save properly, that's all.
     
  6. ThisIsDaAccount

    ThisIsDaAccount GBAtemp Advanced Fan

    Member
    814
    387
    Apr 8, 2016
    United States
    Ah ok, I misread again, sorry :wacko:. I've never used Decrypt9's save injection, so I guess I can't help there.

    Yeah, I misread pretty bad. Sorry again
     
    Last edited by ThisIsDaAccount, Sep 8, 2016
  7. Majickhat55
    OP

    Majickhat55 The Red Woman

    Member
    4,631
    2,308
    Mar 28, 2016
    United States
    Asshai
    Well if you ever do, let me know how it works for you Lol.
     
  8. ThisIsDaAccount

    ThisIsDaAccount GBAtemp Advanced Fan

    Member
    814
    387
    Apr 8, 2016
    United States
    Yeah, will do.
     
  9. Majickhat55
    OP

    Majickhat55 The Red Woman

    Member
    4,631
    2,308
    Mar 28, 2016
    United States
    Asshai
    Bump.