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

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
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,

CrispyCola

zero-two
Member
Joined
Feb 8, 2017
Messages
320
Trophies
0
Location
the stars
XP
241
Country
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.
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,

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
United States
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

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,

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
15,580
Trophies
3
Age
23
XP
18,993
Country
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.
Search for d3dx9_41.dll, then place in the same folder as the emulator's .exe file.
 

CrispyCola

zero-two
Member
Joined
Feb 8, 2017
Messages
320
Trophies
0
Location
the stars
XP
241
Country
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.
Try MGBA
I think it has an option for battery files
 

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
United States
Search for d3dx9_41.dll, then place in the same folder as the emulator's .exe file.

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,

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
My 3ds is unmodded and running the latest version, so I don't think I can do anything from that end, just PC

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
 
  • Like
Reactions: Quantumcat

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
United States
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

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...
 

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
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...

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 :(
 

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
United States
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 :(


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
 

bootmonster

Well-Known Member
Member
Joined
Oct 26, 2002
Messages
477
Trophies
2
XP
1,648
Country
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?
 

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
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?

Yeah, 11.6. I thought that it is currently impossible to exploit that version unless you have preexisting hacks on it?
 

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
Yeah, 11.6. I thought that it is currently impossible to exploit that version unless you have preexisting hacks on it?

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.
 

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
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,

Oakfeather

Member
OP
Newcomer
Joined
Jan 12, 2018
Messages
9
Trophies
0
Age
32
XP
43
Country
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 https://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! :)
 
  • Like
Reactions: GizmoTheGreen

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Shape @ Shape:
    b-b-b-BLAST PROCESSING
    +1
  • The Real Jdbye @ The Real Jdbye:
    gee, it sure is BORING around here...
  • K3N1 @ K3N1:
    Especially now
  • ZhiShuiTingLan @ ZhiShuiTingLan:
    How to upgrade fast
  • ZhiShuiTingLan @ ZhiShuiTingLan:
    I can't understand English at all, I can only rely on translation
  • The Real Jdbye @ The Real Jdbye:
    Upgrading quickly can depend on what you're trying to upgrade. Can you provide more information about what you're looking to upgrade, and what you're hoping to achieve by upgrading quickly?
    +1
  • K3N1 @ K3N1:
    It's a good idea to wait it out and let things happen naturally tinkering with update files can cause worse than good
    +1
  • BlazeMasterBM @ BlazeMasterBM:
    i farted
  • x65943 @ x65943:
    Stop eating so much garlics
  • Shape @ Shape:
    Did someone say upgrading? Are we trying to upgrade the system or the toaster?
  • K3N1 @ K3N1:
    My toaster is IP68 so I work on it in my bathtub
    +1
  • Shape @ Shape:
    What kind of thermal paste are you using for on bathtub's vCPU hypervisor
  • K3N1 @ K3N1:
    Corsair
    +1
  • Shape @ Shape:
    That's a good, real thermal paste. I bet it's given you great results.
  • K3N1 @ K3N1:
    I'm a huge fanboy and brand loyal so we can argue about the kind you use
  • Shape @ Shape:
    Jif. I get horrible results, I'm going through probably 12 jars of it a week and at least 8 PCs.
  • Shape @ Shape:
    It's no argument.
  • K3N1 @ K3N1:
    Try jelly it makes it moist
    +1
  • Shape @ Shape:
    Why is corsair the best paste tho fr?
  • K3N1 @ K3N1:
    Because some random guy on the internet said it was
    +1
    K3N1 @ K3N1: Because some random guy on the internet said it was +1