ROM Hack [GB(C)] Injection with the New Generation of VC

Pandaxclone2

Pokemon Sprite Artist Hobbyist
Member
Joined
Aug 17, 2015
Messages
1,132
Trophies
0
Location
Earth's Bottle of Death.
XP
2,072
Country
Australia
Definitely some interest. It's a shame that progress died out seeing as link cable stuff is pretty much last on the list of things we have to code into a GBC emulator for the 3DS; at the very least I was hoping in the days before RBY VC came out that we'd at least learn enough to reverse engineer our own, but turns out it's not as simple as that.
 
  • Like
Reactions: SanoKeo

miladiir

Member
Newcomer
Joined
Jun 15, 2016
Messages
7
Trophies
0
Age
31
XP
54
Country
Gambia, The
Hey guys. I have a question regarding the injection of Savefiles.

I successfully injected a save file from my original Red and Yellow Rom into the eshop versions of those games with svdt. However I have trouble getting the same method to work with pokemon gold.
I can extract the sav.dat with svdt no problem. The flash save i get with vba is just a few bytes short, so I add a couple FF's to the file and save.
The extracted save has the exact same size as my modified save. I then reinject the save file with svdt. However when I open the game again, It just loads the game as if I didnt do anything.
I noticed that while the Yellow save only included a sav.dat the GBC games I tried this with also had rsm1.dat (or similiar) files. Deleting those resulted in corrupted saves.
Any advise?
 
Last edited by miladiir,

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,658
Trophies
3
Age
29
XP
3,504
Country
France
I did it with silver and crystal, and it worked as expected.
Maybe you did something wrong
I injected my ~90% save from VBA to injected rom, on old generation of VC
 

miladiir

Member
Newcomer
Joined
Jun 15, 2016
Messages
7
Trophies
0
Age
31
XP
54
Country
Gambia, The
I did it with silver and crystal, and it worked as expected.
Maybe you did something wrong
I injected my ~90% save from VBA to injected rom, on old generation of VC
Does the VC you used offer savestates? Like not actual saving ingame but a savestate in the VC? I think thats messing it up for me.
 

MushGuy

Well-Known Member
Member
Joined
Feb 11, 2010
Messages
1,280
Trophies
1
XP
2,597
Country
United States
So we managed to decrypt and extract the 2016 release of Pokémon Red.
I managed to inject Pokémon Crystal (French) instead and it's working.

So now I'm guessing things:
1) Inject several GB(C), like Gold/Silver/Crystal, and try local trade.
2) Try to merge the OldVC with the NewVC. Because the new can't use the insta-save (or perma-save, I don't know the english name because I play in French). So save in the VC Menu, if you see what I mean.

Who have x2 3DS and ability to run run CIAs for try the local trade with injected rom into the NewVC?
Edit: Nevermind
 
Last edited by MushGuy,

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,695
Trophies
1
Age
28
Location
Imola
XP
6,914
Country
Italy
The flash save i get with vba is just a few bytes short, so I add a couple FF's to the file and save.
The extracted save has the exact same size as my modified save.

Don't use the save directly created by the emulator as it includes RTC offset info, use (in VisualBoyAdvance) File/Export Battery :)
 

shahanshah

Well-Known Member
Member
Joined
Sep 5, 2015
Messages
308
Trophies
0
Age
32
XP
324
Country
Italy
Not gonna read through 24 pages of posts, can I play Pokémon Crystal (or other GB games) with multiplayer on the 3DS now, and if not, is anyone working on this?
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,695
Trophies
1
Age
28
Location
Imola
XP
6,914
Country
Italy
Not gonna read through 24 pages of posts, can I play Pokémon Crystal (or other GB games) with multiplayer on the 3DS now, and if not, is anyone working on this?
It's technically possible but netcode offsets have to be found and programmed into the patch files (of which there's no decent documentation, at least for this purpose)
 
  • Like
Reactions: Pandaxclone2

Deleted member 370283

Well-Known Member
Member
Joined
Aug 19, 2015
Messages
496
Trophies
0
Age
22
XP
1,021
Country
United States
So today, just for a bit of fun (since I was feeling slightly burnt out from another unrelated project) I decided to try to finally overcome the inevitable and make a patch for Crystal. The patch isn't fully complete yet, but here's what I have working:

Typically, if there is no Link Cable connected with a player on the other end, the game will simply prompt you that "Your friend is not ready." Here, I am actually able to enter both the Cable Club Colosseum and Trade Center with no problem. The only issue is that the VC doesn't take over and have you connect to another player! It just mirrors whatever you do. (For example, in a battle, both Pokemon would be exactly the same and would use the same moves)
This is good progress, and I still have more to add to the patches. Fingers crossed, guys!
 

Asdolo

the Hedgehog
Member
Joined
Apr 29, 2016
Messages
600
Trophies
3
Age
30
Location
Buenos Aires
Website
twitter.com
XP
1,255
Country
Argentina


Apologies for the shaky video.

EDIT: I should also mention that the save being used is one off of the internet, so the textbox style, name, and etc is not mine.


Awesome work!!! I think there's much trial and error on this job, plus the time of re-building every CIA you make (at least you're using Hans)...

So, right now, can you trade Crystal-to-Crystal?
 
  • Like
Reactions: Sonic Angel Knight

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Even my mum slept on that uremum