Pokemon Gold and Silver VC: Can't Import saves from VBA

Discussion in '3DS - Homebrew Development and Emulators' started by PKMWM1, Sep 22, 2017.

  1. PKMWM1
    OP

    PKMWM1 Member

    Newcomer
    32
    1
    Sep 6, 2015
    United States
    Has anyone else had the problem of trying to export an older save from VisualBoyAdvance (VBA) into the new re-releases of Gold and Silver, but find that they whenever you try to boot up the game, it just says that the data was corrupted and has to be initilizzed (which means erased)?

    I've tried some experimentation:
    Importating a save file from VisualBoyAdvance save directory - Corrupt
    Exporting a battery from VisualBoyAdvance. Both Battery Mode and Flash Save - Corrupt
    Taking an exported save and opening it in PKHeX making a change to trainer ID. Saveing and trying to import into VC - corrupt
    Exporting a save from VC, editing it in PKHeX, reimporting Save - Worked.
    Exporting a save from VC into VisualBoyAdvance opening the save, re-saving and exporting back - corrupt

    For some reason, I can export and import saves from the VC using JKSM and edit them in PKHex. However, any save that is touched by the emulator doesn't work at all with the Virtual Console games. I was thinking it was the clock. My visualboyadvance always causes my in-game clock to be "TIME NOT SET" on the menu and requires me to set the clock every time I try to enter the game. Maybe this is the problem. But I can't figure out a way to send a game from VisualBoyAdvance into Virtual Console at all. I even tried deleting the secure values using JKSM and savedatafiler, but it still doesn't work. Anybody have a solution? I want to play through the game on my 3ds, then send the save to my PC to play Stadium 2 on an emulator, but I can't make it work
     
  2. Kaphotics

    Kaphotics badc0ded

    Member
    611
    460
    Sep 10, 2010
    United States
    Pay attention to the file sizes
     
  3. 8BitWalugi

    8BitWalugi Taiyohhhhhh!

    Member
    3,427
    273
    Mar 22, 2008
    Australia
    Side 7
    I transferred over my cartridge save file just fine. Make sure it’s a battery export, 32kb in size, and named sav.dat
     
  4. chrisrlink

    chrisrlink your friendly neighborhood serial killer

    Member
    1,468
    168
    Aug 27, 2009
    United States
    Elm street
    i yet to have issues with pkhex on gold vc just using it alone without importing to VBA just pull the file types drop down to "all files when saving your .dat (and just overwrite your save) it should work i got 5 99x rare candies among other items from game start
     
  5. jaderocc

    jaderocc Advanced Member

    Newcomer
    76
    8
    Nov 21, 2016
    United States
    what did you use, jksm?

    every time i try to import a cartridge save it tells me it needs to "initialize the data" :/
     
  6. Windylacine

    Windylacine GBAtemp Regular

    Member
    262
    66
    Apr 15, 2016
    I deleted the last two lines of code in HxD editor then saved as a Sav.dat to import in my VC copy of Pokemon Silver in JKSM, it worked well.
    you should try it out.
     
    360henkaku and Ximikal like this.
  7. CrazyMaxx

    CrazyMaxx GAMER

    Member
    328
    18
    Nov 13, 2015
    Gambia, The
    i tried both things always say game save is corrupt :/
     
  8. Trevorman5

    Trevorman5 Newbie

    Newcomer
    1
    0
    Dec 6, 2014
    United States
    Bristow, Virginia
    What i did was just added the last line of code in HxD from my Silver save, that I didn't transfer over from a physical cartridge, and it worked perfectly. The last line I had to transfer from Silver to Gold was like 18000 idk, but it had a D in it on the right side of the line. Just copy the last line from a save file that was made in the VC copy and you should be good. It worked for me anyway.
     
  9. DJPlace

    DJPlace P!ssed OFF Pyscho of GBA!!

    Member
    4,628
    393
    Apr 16, 2008
    United States
    if this seems like a pain to do i'm not going bother.
     
  10. Shinigati

    Shinigati GBAtemp Regular

    Member
    281
    71
    Oct 31, 2012
    The problem is file size, VBA seems to only export the file at 32kb while 33kb is used on the VC. i also opened up a hex editor to compare the filesize and adding a single line at the end fixes the problem, i'm not sure if you can fill it with all 00's or if it has to be the same hex code the new save used but if you want to try it i had to add this line: 08 00 00 00 00 00 00 00 16 65 6C 86 1F 00 00 20
     
  11. celebi23

    celebi23 Member

    Newcomer
    31
    0
    Nov 6, 2004
    United States
    I having the exact same issue. I thought I was going crazy that I was missing something.
     
  12. CrazyMaxx

    CrazyMaxx GAMER

    Member
    328
    18
    Nov 13, 2015
    Gambia, The
    I have a another way, I removed the 2 last lines with Hxd and copy and past the last line from the vc save, this last line is only on that new Vc games

    Now its work fine

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

    Themonkeyking Newbie

    Newcomer
    5
    1
    Aug 9, 2012
    can you edit this save for me pls ?

    mega.nz/fm/xHZxBKLR
     
  14. Gcentrex

    Gcentrex GBAtemp Regular

    Member
    291
    88
    Oct 29, 2015
    United States
    New York
    TheMCNerd2017 likes this.
  15. 360henkaku

    360henkaku Newbie

    Newcomer
    1
    0
    Sep 25, 2017
    Philippines
    Deleting the last two lines worked for me. No need to re-save it. Just rename it to sav.dat

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

    I would help you but your link isnt accessible
     
  16. Kazalber

    Kazalber Newbie

    Newcomer
    3
    0
    Sep 25, 2017
    Guatemala
    EDIT: Deleted my previous reply for safety and legal reasons :ph34r:
    Adding a line in HxD did the work for me.
     
    Last edited by Kazalber, Sep 26, 2017