GBA Game Save to GBA VC save

Discussion in '3DS - Homebrew Development and Emulators' started by theoldbucwild, Apr 30, 2017.

  1. theoldbucwild
    OP

    theoldbucwild GBAtemp Regular

    Member
    146
    23
    Apr 15, 2017
    United States
    I want to know if there is a way to take a save from a gba game and make a gba vc game, but have the save with the vc.
     
  2. Dionicio3

    Dionicio3 Skiddo

    Member
    3,351
    6,717
    Feb 26, 2017
    United States
    Hollister, CA
    Inject using decrypt9
     
  3. theoldbucwild
    OP

    theoldbucwild GBAtemp Regular

    Member
    146
    23
    Apr 15, 2017
    United States
    How? I just got a Mother 3 VC cia with no save file on it so how do I put the one from mGBA on it? I tried to use decrypt9 but could you explain more please
     
  4. Dionicio3
    This message by Dionicio3 has been removed from public view by porkiewpyne, Apr 30, 2017.
    Apr 30, 2017
  5. Flame

    Flame Me > You

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

    Our Patreon
    4,239
    5,872
    Jul 15, 2008
    turn on your VC GBA game and then just close that game

    turn off your 3DS, then turn on your 3ds but with the button you use for Decrypt9

    in Decrypt9 Go to:-
    SysNAND Options,
    Miscellaneous,
    GBA VC Save Dump

    then you should have a "gba.sav" file in the files9 folder on your SD card.

    For injecting the save, simply replace gba.sav with the save you want then select "GBA VC Save Inject" instead.
     
    Sonic Angel Knight and Tesslaa like this.
  6. theoldbucwild
    OP

    theoldbucwild GBAtemp Regular

    Member
    146
    23
    Apr 15, 2017
    United States
    Thanks
     
  7. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    11,381
    6,072
    May 27, 2016
    United States
    New York
    First make sure your game can even save, some virtual console injects won't save properly without a patch before creating the cia, second, make sure the save data matches the file size for the dumped save data from VC, i think some versions of decrypt9/hourglass9 won't recognize the unmatched file size so is important to make sure it does, if the file size is larger, you may have to open it up in hex editor, compare it and then trim it accordingly.

    Emulators will auto save data according to how the rom is programmed to use save data, VC only uses one kind of save data which is why it needs rom patched before cia creation and may not even work properly and is mostly the games fault and the VC not supporting the game properly, so if that the case is not much you can do, just keep using a emulator, the most games can work with on VC is maybe rom files of least 4MB or 8MB i would think is best compatible.
     
    Last edited by Sonic Angel Knight, Apr 30, 2017
    theoldbucwild likes this.
  8. theoldbucwild
    OP

    theoldbucwild GBAtemp Regular

    Member
    146
    23
    Apr 15, 2017
    United States
    Guys, what do I do? I have the mother 3.sav in files9 and the gbavc.sav in there too?​
     
  9. theoldbucwild
    OP

    theoldbucwild GBAtemp Regular

    Member
    146
    23
    Apr 15, 2017
    United States
    Guys, the problem is that the Mother 3 sav is 128 KB and the GBA VC is 64 KB
     
  10. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    11,381
    6,072
    May 27, 2016
    United States
    New York
    You left a like on my post that just gave you the information to your question. :mellow:

    Trim the save data with hex editor and then inject the save data.
     
  11. theoldbucwild
    OP

    theoldbucwild GBAtemp Regular

    Member
    146
    23
    Apr 15, 2017
    United States
    Uh what would I change, I don't want to screw something up
     
  12. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    11,381
    6,072
    May 27, 2016
    United States
    New York
    If you have a program like hex workshop (Is what i use) use the compare feature to open both of the files up. Scroll to the end of the file for each of them. Remember the difference between the two. Go to the end of the virtual console save data you dumped. Where the last address is listed, remember that. Obviously the smaller file is the one dumped with decrypt9, then look at the emulator save data. Go to where the VC save data ended. And highlight all of the extra data and erase it.

    For example if the last address of data ends at 00002A14 Then delete all data that exceeds that address in the emulator data. (most of it should either be repeating zeros or letter F.)

    Simply you use this process to trim the save data to match the file size of the dump and then inject it after you do.
     
    B_E_P_I_S_M_A_N likes this.
  13. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N オンライン翻訳者が悪い

    Member
    1,147
    3,803
    Jun 7, 2016
    United States
    Hell
    Wouldn't it be simpler to re-save in a 64kB format via the emulator?
     
  14. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    11,381
    6,072
    May 27, 2016
    United States
    New York
    Can all emulators do that? I dunno anything about MGBA, i only ever use VBA on pc, GPSP kai on psp, and GBA.EMU on android. It just auto saves however it wants. To be honest, not all games use the same save type or save space. For that very reason, emulators like VBA have only 64K or 128K, while actual game carts are which VC emulates, some are smaller like 32K or less. I only found it effective to trim the game to get my save injections to work, i know cause i done it with breath of fire rom injections and emulator conversion. Or you can ask @d0k3 If his programs are modified to accommodate for this, i remember asking about it.
     
    B_E_P_I_S_M_A_N likes this.
  15. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N オンライン翻訳者が悪い

    Member
    1,147
    3,803
    Jun 7, 2016
    United States
    Hell
    Yeah I was referring to changing the save type in VBA. Not sure if mGBA supports this or not.
     
  16. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    11,381
    6,072
    May 27, 2016
    United States
    New York
    VBA only has two file sizes for games, 64K and 128K, even games that don't require such big file size, it does naturally do it, i dunno why but is not me who made the emulator. Still changing the size won't fix anything, especially for games that can't go to 32K when it needs to which VC games would do since the save emulation is closer to Actual GBA game carts.
     
    B_E_P_I_S_M_A_N likes this.
Loading...