ROM Hack Help to Import .SAV Pokémon GSC from VBA to VC 3ds

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
Hello guys.

I need some help.

I've been exporting saves from emulator VBA (PC) and importing them at the Virtual Console on my o3ds XL.

First, I export an inicial save from my game at Virtual Console (3ds) with SaveDataFiler. Then I have a sav.dat, usually 32.768 bytes.

Then i export a save from Visual Boy Advanced in File-> Export Battery file. I always get a file with 32.768 bytes. Replacing this file in the SaveDataFiler folder and importing at the 3ds worked fine until now.

Iit worked for Pokemon Red, Blue, Yellow. But for Pokemon Gold, Silver and Cristal it never worked!
The problem is that SaveDataFiler exports a sav.dat bigger then 32.768 bytes. It has 32.784 bytes.

When i replace this sav.dat [32.784 bytes] for my battery on PC [32.768 bytes] and import on SaveDataFiler, it shows that the save is corrupted when I lunch the game.

OBS: The automatic restore points is disable on Virtual Console.

Is there anyone who could actually import a Pokemon GSC to VC? If yes, i'm gonna keep trying. Maybe looking for other CIAs versions.

Thanks in advance

I had the same issue yesterday.

What I did was to backup a save from VC gold injected rom's save, and compared it to my emulator gold save.

Once I identified that the save has the same structure, but the emulator save has extra bytes, what I did was delete the extra data at the end.

After that, I injected it using savedatafiler, deleted secure value, and went to play.

Proud to say it worked

(In case you're curious, I'm using a save from vba, though I moved my gameplay to bgb emulator before shrinking it for VC, if that matters.

I used hex editor to delete the extra bytes at the end.
 

llvictorll

Active Member
OP
Newcomer
Joined
Jan 31, 2015
Messages
27
Trophies
0
Age
35
XP
117
Country
Brazil
Ok maybe i miss somthing, and sorry for introduce me in the discussion, but...is possibile import your save file from Pokèmon Red (emulator on pc) to the VC version? °_°

Sure, just follow this thread. The gold/silver/crystal requeries some aditional steps.
 

PedroKeitawa

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
1,042
Trophies
0
Age
34
Website
natsunokaze.altervista.org
XP
1,134
Country
Italy
Sure, just follow this thread. The gold/silver/crystal requeries some aditional steps.

So i can use the save editor to take the pc, i have PAL 3DS so my VC game is Pokèmon Rosso like the rom i have on my pc (not injected the recent relase), and after that? I have to use some particular options for obtain the file?
 

llvictorll

Active Member
OP
Newcomer
Joined
Jan 31, 2015
Messages
27
Trophies
0
Age
35
XP
117
Country
Brazil
So i can use the save editor to take the pc, i have PAL 3DS so my VC game is Pokèmon Rosso like the rom i have on my pc (not injected the recent relase), and after that? I have to use some particular options for obtain the file?

Just try to import a save on your 3ds and see if that works out for you. Follow the thread to do that, using the VisualBoyAdvance-M-2.0.0-beta2 emulator [PC] and SaveDataFiler [3DS].
 

PedroKeitawa

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
1,042
Trophies
0
Age
34
Website
natsunokaze.altervista.org
XP
1,134
Country
Italy
Just try to import a save on your 3ds and see if that works out for you. Follow the thread to do that, using the VisualBoyAdvance-M-2.0.0-beta2 emulator [PC] and SaveDataFiler [3DS].

Ok maybe i miss somthing but i try the save manager on the VC copy if Pokémon Red PAL and the screen go red and freeze. The save data filler, if i don't go wrong, in the italy shop is called "Trasferimento di dati di salvataggio" and only work for the cartridge game. Im on the last FW no emunad. So i miss somthing or i do all wrong? Becouse no one of the two method i try can extrac the save file.
 

llvictorll

Active Member
OP
Newcomer
Joined
Jan 31, 2015
Messages
27
Trophies
0
Age
35
XP
117
Country
Brazil
Ok maybe i miss somthing but i try the save manager on the VC copy if Pokémon Red PAL and the screen go red and freeze. The save data filler, if i don't go wrong, in the italy shop is called "Trasferimento di dati di salvataggio" and only work for the cartridge game. Im on the last FW no emunad. So i miss somthing or i do all wrong? Becouse no one of the two method i try can extrac the save file.

I really cant say for PAL italy systems. Maybe someone can confirm that for you.
 

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
Ok maybe i miss somthing but i try the save manager on the VC copy if Pokémon Red PAL and the screen go red and freeze. The save data filler, if i don't go wrong, in the italy shop is called "Trasferimento di dati di salvataggio" and only work for the cartridge game. Im on the last FW no emunad. So i miss somthing or i do all wrong? Becouse no one of the two method i try can extrac the save file.

trying very hard to understand what you are saying.

let's see:
1. did you delete secure value after inserting save?
2. were you able to launch the game?
3. I'm informing you that savedatafiler works on cartridge games and eshop games and cia games
 

PedroKeitawa

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
1,042
Trophies
0
Age
34
Website
natsunokaze.altervista.org
XP
1,134
Country
Italy
trying very hard to understand what you are saying.

let's see:
1. did you delete secure value after inserting save?
2. were you able to launch the game?
3. I'm informing you that savedatafiler works on cartridge games and eshop games and cia games

1.ehm sorry but i don't know what is that ^_^"
2.Yes i buy the game from the eshop and of course work
3.Thanks for the information

Edit: I discover now the Savedatafiler is a .cia file so...i can't use becouse im on the last FW (no emunad)
 
Last edited by PedroKeitawa,

llvictorll

Active Member
OP
Newcomer
Joined
Jan 31, 2015
Messages
27
Trophies
0
Age
35
XP
117
Country
Brazil
1.ehm sorry but i don't know what is that ^_^"
2.Yes i buy the game from the eshop and of course work
3.Thanks for the information

Edit: I discover now the Savedatafiler is a .cia file so...i can't use becouse im on the last FW (no emunad)

Sorry to hear, we should ask you about your current firmware before.

My advise is to not upgrade for now. Maybe (and I hope so) they'll come with a solution for those with firmware 10.6 pretty soon.
 

PedroKeitawa

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
1,042
Trophies
0
Age
34
Website
natsunokaze.altervista.org
XP
1,134
Country
Italy
Sorry to hear, we should ask you about your current firmware before.

My advise is to not upgrade for now. Maybe (and I hope so) they'll come with a solution for those with firmware 10.6 pretty soon.

My real hope is somthing via homebrew (i use Ninjhax) for apply cheat code on the game. But this is for another topic. Thanks anyway for the information ;)
 

vree

Well-Known Member
Member
Joined
Sep 12, 2005
Messages
702
Trophies
1
XP
1,410
Country
United Kingdom
The problem is that your exported save [ON PC] doest have 32.816 bytes, but 32.768 bytes.

My guess is that you arent using the last version of VisualBoyAdvance-M-2.0.0-beta2, but old emulators, like I was when a wrote the first reply of this thread. The Old VisualBoyAdvance exported an save file of 32.768 bytes [wrong size for gold, silver and cristal, but ok for red, blue, yellow because the sav.dat of those games has 32.768 bytes as well].

The exported save on pc [GOLD, SILVER, CRISTAL] should have 32.816 bytes. When you delete the last 2 lines, it should have 32.784 bytes, exacly the same size of sav.dat exported by SaveDataFiler on 3ds.

The lines that you should delete:

Ok Used the VisualBoyAdvance-M-2.0.0-beta2, ok so I did what you said first the filesize was 32.816 bytes after deleting the last two rows 32.784. And after that I renamed it to sav.dat. Imported it and..... nothing New Game just pops up.
 

llvictorll

Active Member
OP
Newcomer
Joined
Jan 31, 2015
Messages
27
Trophies
0
Age
35
XP
117
Country
Brazil
Ok Used the VisualBoyAdvance-M-2.0.0-beta2, ok so I did what you said first the filesize was 32.816 bytes after deleting the last two rows 32.784. And after that I renamed it to sav.dat. Imported it and..... nothing New Game just pops up.

You have to be sure that the "Restore Points" in game are disable. Use "START + X + R", disable, move your caracter, save the game, then reboot you console holding POWER. To confirm that's working, if you open the game again it should start from the begin, and no Restore Message should appear. Only if you did that right you can use SaveDataFiler to Export. There are other files *.dat and those are Restore Points.

You have to replace a sav.dat after export from a game with Restore Points disabled. And always delete the security value before import a save with SDF.
 
Last edited by llvictorll,

vree

Well-Known Member
Member
Joined
Sep 12, 2005
Messages
702
Trophies
1
XP
1,410
Country
United Kingdom
You have to be sure that the "Restore Points" in game are disable. Use "START + X + R", disable, move your caracter, save the game, then reboot you console holding POWER. To confirm that's working, if you open the game again it should start from the begin, and no Restore Message should appear. Only if you did that right you can use SaveDataFiler to Export. There are other files *.dat and those are Restore Points.

You have to replace a sav.dat after export from a game with Restore Points disabled. And always delete the security value before import a save with SDF.

Ok when I try that and save again and start the game back up it still asks to continue where I left of. :S No restore point option tough.

And even then when I say no the old save is still there :S
 
Last edited by vree,

Queno138

Ravens
Member
Joined
Sep 18, 2010
Messages
2,425
Trophies
0
Location
Luigi's Dark Mansion
XP
1,070
Country
Senegal
Ok when I try that and save again and start the game back up it still asks to continue where I left of. :S No restore point option tough.

And even then when I say no the old save is still there :S

Erm, any chance that you injected the save into the wrong game?
It's a very easy mistake to make.

If you injected the save in to the right game, there's usually only two outcomes:
1. it tells you save corrupt
2. you get to see your new save.

to see your old save would suggest that it wasn't done right, and you may have replaced something else.

edit:

what I would suggest you to do:

1. use bbm to hover over the .cia of the game you wanna install, remember the numerical game id
2. switch to savedatafiler, export save from said numerical game id
3. on your computer, replace the sav.dat in that correct folder of the game save you extracted
4. back to SDF, inject the folder
5. at the extraction menu, hover over numerical ID and delete secure value.
 
Last edited by Queno138,

vree

Well-Known Member
Member
Joined
Sep 12, 2005
Messages
702
Trophies
1
XP
1,410
Country
United Kingdom
Erm, any chance that you injected the save into the wrong game?
It's a very easy mistake to make.

If you injected the save in to the right game, there's usually only two outcomes:
1. it tells you save corrupt
2. you get to see your new save.

to see your old save would suggest that it wasn't done right, and you may have replaced something else.

edit:

what I would suggest you to do:

1. use bbm to hover over the .cia of the game you wanna install, remember the numerical game id
2. switch to savedatafiler, export save from said numerical game id
3. on your computer, replace the sav.dat in that correct folder of the game save you extracted
4. back to SDF, inject the folder
5. at the extraction menu, hover over numerical ID and delete secure value.


Maybe it's because I'm using JK save manager?
 

vree

Well-Known Member
Member
Joined
Sep 12, 2005
Messages
702
Trophies
1
XP
1,410
Country
United Kingdom
Just wanted to post that I resolved my issue. When I use JK save manager I also had to delete the restore point in the folder for the resume option. They seemed to interfere with the save.dat.

Still thanks all for the support ;)

Just a quick question is this process reversible to get back a .sav?
 
Last edited by vree,

djalmafreestyler

Well-Known Member
Member
Joined
Jan 31, 2011
Messages
637
Trophies
0
XP
342
Country
Brazil
I FINALLY GOT THIS WORKING

Here is what i did:

-> Used VisualBoyAdvance-M-2.0.0-beta2 to export a pokemon.sav -> Size: [32.816 bytes]

-> Export a sav.dat with SaveDataFiler -> Size: [32.768 bytes]

-> Open both files with a Hex Editor.

-> Copied from the pokemon.sav file the hex BE0 to 8000 [File with 32.816 bytes]

-> Pasted in the sav.dat in BE0 to 8000 [File with 32.768 bytes]

-> Delete secure value

-> Imported new save

I had to adjust the clock in game after doing this.

Thank you guys.

--------------------- MERGED ---------------------------



But does your clock works? I mean, in game linked with 3ds.

Mine is working fine now.

Does it work with other games and for GB, GBC, GBA?
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,656
Trophies
3
Age
29
XP
3,496
Country
France
Does it work with other games and for GB, GBC, GBA?
Import save from VBA and inject them on VC GB and GBC (even injected) is very easy, I did it a long times before I see this thread (I would have helped if I had seen it, sorry :/ ).
We can inject GBA saves too, but there is more steps to do
 
Last edited by Asia81,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @salazarcosplay, yes