Homebrew GBC 3DS inject save backup?

aos10

Yuuki chan
OP
Member
Joined
Apr 10, 2012
Messages
4,756
Trophies
2
Age
38
XP
4,030
Country
Saudi Arabia
hi,i tried to use JKSM to back up the save game from pokemon prism to use it on PC and vice versa.
but the results was 3 files
rsm1.dat
rsm2.dat
sav.dat

the sav.dat is 32.02 KB

the save game used on emulator is pokemon.sav and the size is 32.0 KB
so it won't work.

any way to backup the save game and use it on other emulators?
 

Asdolo

the Hedgehog
Member
Joined
Apr 29, 2016
Messages
600
Trophies
3
Age
30
Location
Buenos Aires
Website
twitter.com
XP
1,257
Country
Argentina
hi,i tried to use JKSM to back up the save game from pokemon prism to use it on PC and vice versa.
but the results was 3 files
rsm1.dat
rsm2.dat
sav.dat

the sav.dat is 32.02 KB

the save game used on emulator is pokemon.sav and the size is 32.0 KB
so it won't work.

any way to backup the save game and use it on other emulators?

Which PC emulator are you using, and how did you obtain the .sav file from PC?
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,608
Country
Germany
It has something to do with RTC data I think. You should be able to just add the missing bytes to the sav.dat file with a HEX Editor to get it to the same size (32,812kB should work) as a VBA/BGB/Gambatte save file to make it work. At least that's what I always did with Crystal
 

KingAsix

ByJustAsix
Member
Joined
Jun 25, 2008
Messages
1,684
Trophies
1
Age
32
Location
ICS
Website
www.byjustasix.com
XP
2,394
Country
United States
did that worked?

I got it to work by doing what MichiS97 suggested. VBA-M save files are bigger than the 3DS ones, but trimming them down in a HEX editor got it to work. To further verify, I took a save from my Android emulator, My OldBoy!, and found it to be smaller. Adding bytes to that save got it to work. So I'm assuming as long as the file size matches the 3DS one it should work.
 

aos10

Yuuki chan
OP
Member
Joined
Apr 10, 2012
Messages
4,756
Trophies
2
Age
38
XP
4,030
Country
Saudi Arabia
I got it to work by doing what MichiS97 suggested. VBA-M save files are bigger than the 3DS ones, but trimming them down in a HEX editor got it to work. To further verify, I took a save from my Android emulator, My OldBoy!, and found it to be smaller. Adding bytes to that save got it to work. So I'm assuming as long as the file size matches the 3DS one it should work.
where should i add the bytes? or it doesn't matter where i add them?
 

KingAsix

ByJustAsix
Member
Joined
Jun 25, 2008
Messages
1,684
Trophies
1
Age
32
Location
ICS
Website
www.byjustasix.com
XP
2,394
Country
United States
where should i add the bytes? or it doesn't matter where i add them?

Both my trims/extensions were done at the end of the file. When I had to add bytes I just added FF or 00s....Some of my saves were padded with FF while others were padded with 00. Did matter to the 3DS though as long as they were the same file size.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Lmao that sold out fast +1