Need help running a Pokemon Yellow VC save on an emulator on PC.

Discussion in '3DS - Homebrew Development and Emulators' started by Oakfeather, Jan 12, 2018.

  1. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    So I tried starting up Pokemon Yellow on 3ds VC yesterday, and it gave me a message saying : "save data is corrupted and will be initialized". I'm hoping that I could get the save to run on an emulator even if the 3ds can't read it properly.

    I have a backup on computer of the files from my 3ds's SD card. I tried to find the save file, and I found a file called 00000001.sav in folder 00171200 (Yellow game ID is 01712) which I think is the right file. How can I get this to run in an emulator like VBA or Gambatte?

    My 3ds is unmodded and running the latest version, so I don't think I can do anything from that end, just PC.


    EDIT:

    Current issue:

    I got VBA installed and working.

    BUT, I tried to load the battery save file and I got this message: "Battery file's size incompatible with the rom settings C:\...\...\Desktop\00000001.sav (1). Warning : save of the battery file is now disabled !"

    The file is 128 kb rather than the normal 32 (?) kb :X I tried switching VBA options -> emulator -> save type to 128 flash instead of 32. Still got the same error about file size. What should I do?
     
    Last edited by Oakfeather, Jan 12, 2018
  2. CrispyCola

    CrispyCola i cant think of a title

    Member
    2
    Feb 8, 2017
    United States
    my 'puter
    1. Load the pokemon yellow ROM with VBA.
    2. Click File..., then click Import..., then Battery File and browse for the .sav file. Open it.
    Hope this helps
     
    Last edited by CrispyCola, Jan 12, 2018
  3. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    Is there another emulator you could recommend that does the same thing? I tried running VBA (I used to use it way back in 2005 or so without issue lol) but got an error saying "d3dx9_41.dll not found". I'm running the latest DirectX, but maybe I need to downgrade since VBA is old?

    I tried Gambatte also which does start up but I don't see any option for loading a Battery file.

    I haven't used an emulator in 10+ years so I'm a bit of a noob with them right now, lol.
     
    Last edited by Oakfeather, Jan 12, 2018
  4. Robz8

    Robz8 Coolest of TWL

    Member
    15
    Oct 1, 2010
    United States
    Search for d3dx9_41.dll, then place in the same folder as the emulator's .exe file.
     
  5. CrispyCola

    CrispyCola i cant think of a title

    Member
    2
    Feb 8, 2017
    United States
    my 'puter
    Try MGBA
    I think it has an option for battery files
     
  6. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    Okay, I searched for the d3dx9_41.dll and it wasn't on my computer despite being on the latest DirectX, so I installed DirectX again and restarted. The file appeared! VBA now works!

    BUT, I tried to load the battery save file and I got this message: "Battery file's size incompatible with the rom settings C:\...\...\Desktop\00000001.sav (1). Warning : save of the battery file is now disabled !"

    The file is 128 kb rather than the normal 32 (?) kb :X

    What to do?

    EDIT: Did some googling and tried switching VBA options -> emulator -> save type to 128 flash instead of 32. Still got the same error about file size.
     
    Last edited by Oakfeather, Jan 12, 2018
  7. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    Anyone have suggestions?
     
  8. Queno138

    Queno138 Ravens

    Member
    6
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    Even if a ".sav" can be seen on your 3DS SD card, it's encrypted.

    Since you're using an unmodded 3DS, I assume that also means you don't have homebrew.

    Without homebrew, you won't be able to decrypt the save, so it's all pointless
     
    Quantumcat likes this.
  9. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    Damn, that's what I was afraid of.

    Thanks for the reply...

    Does anyone know a way to fix the corrupted save file error on the 3ds? I really don't want to lose my save file...
     
  10. Queno138

    Queno138 Ravens

    Member
    6
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    What caused the corruption at the first place?
    Were you trying to replace the save or something? Even if you corrupt your save via glitches, that message doesn't typically pop up.

    Additionally Nintendo 3DS has an "anti save restore", meaning you won't be able to copy paste an older version from your computer.

    If you don't have the exact save file, your game is gone :(
     
  11. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States

    I think the only thing I did that could have caused it is I put the SD card into my computer to back up the files (as I have done before without problems) but I think that I put some new files onto the SD card to do something unrelated (I just wanted to use the SD card for some non-3ds files) and then when I was done I deleted the other stuff I had on it and put the 3ds files back onto the SD card.

    All of my other VC games are still working totally fine. It's just Pokemon Yellow is suddenly corrupted.

    I have the full backup of my SD card on the computer still :( but it just reads as corrupted now... :( oh well
     
  12. bootmonster

    bootmonster GBAtemp Fan

    Member
    4
    Oct 26, 2002
    United States
    Only way to *maybe* recover the save is to hack your 3ds, and try extracting the encrypted save file.

    What firmware are you on? Assume 11.6?
     
  13. Queno138

    Queno138 Ravens

    Member
    6
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    Indeed. Hack your 3DS,
    Use a save editor (like JSKM) to delete secure value
     
  14. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    Yeah, 11.6. I thought that it is currently impossible to exploit that version unless you have preexisting hacks on it?
     
  15. Queno138

    Queno138 Ravens

    Member
    6
    Sep 18, 2010
    Senegal
    Luigi's Dark Mansion
    Nope. As long as you've got a compatible NDS flashcart, you'll be able to hack it using ntrhax/magnethax.

    Read the guide at the site: 3ds.guide


    Also, to illuminate you on why your yellow save got "corrupted", it's possible that you made a save on your 3DS after the SD backup to your PC.

    "secure values" are anti-save restore feature of the 3DS, that is written to the 3DS' memory (nand) itself, so a SD backup wouldn't help, if the save states are from different instances.
     
  16. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    "Nope. As long as you've got a compatible NDS flashcart, you'll be able to hack it using ntrhax/magnethax.

    Read the guide at the site: 3ds.guide"

    Thank you, I will give that a go.

    "Also, to illuminate you on why your yellow save got "corrupted", it's possible that you made a save on your 3DS after the SD backup to your PC.

    "secure values" are anti-save restore feature of the 3DS, that is written to the 3DS' memory (nand) itself, so a SD backup wouldn't help, if the save states are from different instances."

    I haven't played the game in a very long time so I don't think I accessed Pokemon Yellow at all in the time period when I backed up the SD card and then restored it, but I suppose it is a possibility.

    I see. Thanks for the info.

    I'll update this thread later on whether or not I am able to restore the save after hacking my 3ds and trying something like JSKM.
     
    Last edited by Oakfeather, Jan 13, 2018
  17. GizmoTheGreen

    GizmoTheGreen GBAtemp Advanced Fan

    Member
    4
    Oct 8, 2009
    snip
     
  18. Oakfeather
    OP

    Oakfeather Newbie

    Newcomer
    1
    Jan 12, 2018
    United States
    Update--

    I ordered a Flashcart (R4 SDHC Gold Pro) using the 3ds.guide, followed all of the steps, and installed SaveDataFiler. From there I was able to export my Pokemon Yellow save to run on an emulator, and I also was able to delete the secure value which allowed me to run my save again! I have my Pokemon back! (I also found http://apg-clan.org/showthread.php/65789-Pokemon-GameBoy-Rom-Save-Transfer-To-3DS-(R-B-Y) this guide helpful)

    Thanks so much for the help you guys! :)
     
    GizmoTheGreen likes this.
  19. maskedwari

    maskedwari Newbie

    Newcomer
    1
    Jul 11, 2018
    United States
    Can I export a save via GodeMode9?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice