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

asdfqwer426

Member
Newcomer
Joined
Dec 8, 2010
Messages
15
Trophies
0
XP
176
Country
United States
I just want to clarify, so you guys are aware~

The reason right now that we're testing around and doing things is because that, though the patch is very close to being done, Crystal is having problems connecting to another copy of Crystal. Linking up with Red, Blue, or Yellow (and even Green, IIRC) works just fine. It's just getting the game to connect to another copy of Crystal that's being a bit of a bugger.

Well after reading all 26 pages of this thread, i have to say i was pretty happy to see it so close to being done at the end. I know enough coding to make sense of things like the RBY VC patch files when i look at them, but not enough to actively change the coding like you have, so excuse me if I'm using the wrong terms.

As i currently understand, all functions seem to work as they should except linking two copies of crystal does not seem to work. I would assume that for time-capsule links, a gen2 game would use the same code as a gen1 game, making it backwards compatible.

I do not know if this will help you at all in your efforts, but last year i looked into "TCPoke", a program for chrome/teensy that lets you trade pokemon over the internet straight from a GB link port. It worked by having the teensy emulate the "master" protocol on both ends, making the GB systems use the "slave" protocol. (in function, the only noticeable difference was both users were on the right side of the "trade table" in the game, instead of one on each side) The creator had a hard time getting gen 2 games to link up at first because apparently gen-2 games "require fast negotiation", and he had to increase the speed of the "read delay". you can see his teensy sketch here - https://github.com/pepijndevos/TCPoke/blob/master/tcpoke_teensy/tcpoke_teensy.ino

I don't know where in the trade process it hangs up on gen2 games, but I'm excited to see this working so i thought i would mention it. I almost hope this isn't the case, as that seems like it would be more an issue with the VC emulator not being fast enough, than something that could be fixed with patches.
 
Last edited by asdfqwer426,

Deleted member 370283

Well-Known Member
Member
Joined
Aug 19, 2015
Messages
496
Trophies
0
Age
22
XP
1,021
Country
United States
Well after reading all 26 pages of this thread, i have to say i was pretty happy to see it so close to being done at the end.
While I can agree that these new patches for link capability will be a big leap forward, I don't think we can quite be done yet. We still have the issue of the blanked out, white palettes (which will require the emulator itself to be modified).

As i currently understand, all functions seem to work as they should except linking two copies of crystal does not seem to work. I would assume that for time-capsule links, a gen2 game would use the same code as a gen1 game, making it backwards compatible.
Well, at the time I last updated you guys on what was going on, Crystal WAS actually connecting. It's just that it did it every 1 out of 10-20 times or so. As you can probably guess, that was no good. So... I looked for a solution, and I'm glad to say that I've finally got both copies of Crystal connecting and communicating together on the first try!

In terms of what you were talking about with backwards compatibility, the code didn't have much to do with it. How games connect using the link cable is mostly the same. The problem was just my VC patches not accounting for Crystal's connectivity quite correctly. Like I said though, it's fixed now.

I thank you for the tool you provided, but I don't really need that at the moment. You can breathe a sigh of relief that it wasn't the desync issue you thought it was. :)
 
  • Like
Reactions: Pandaxclone2

asdfqwer426

Member
Newcomer
Joined
Dec 8, 2010
Messages
15
Trophies
0
XP
176
Country
United States
In this case, i'm glad to hear i didn't know what i was talking about. haha.

I totally understand about the colors, i really did read all the pages. emulator writes a bunch of F values into banks 4-5 for some of the palettes. truth be told, i'm one who usually plays on my monochrome pocket so i'll have no problem sticking with G/S and just using the monochrome palette. It's the trading and battling I'm really looking forward to.

EDIT: i do know your patch is currently only for crystal, but once you've got the offsets, i know enough i should be able to figure out G/S myself. thanks again for all your work on this!
 
Last edited by asdfqwer426,

Captain Library

Well-Known Member
Member
Joined
Jun 21, 2012
Messages
116
Trophies
1
XP
1,058
Country
United Kingdom
I'm a rather quiet lurker creature but, I've been following this thread very closely. Super impressed with how far this has come and I look forward to the end results :)
I would want to use this version of VC for Pokémon GSC and that's pretty much it, but in theory would the work you've done here be compatible with other games with link cable capabilities?
 
  • Like
Reactions: CatmanFan

Deleted member 370283

Well-Known Member
Member
Joined
Aug 19, 2015
Messages
496
Trophies
0
Age
22
XP
1,021
Country
United States
...but in theory would the work you've done here be compatible with other games with link cable capabilities?
Yes. The functionality seems to be very heavily based on the Pokemon link cable code, but I don't think it would be very hard to fix it up to work with other link cable games.
Wow this is awesome, it really is working!
Thanks. I'm prepping for a beta release of the patch (there is still a bug in there somewhere, but it doesn't really affect gameplay and I can't work it out at the moment) and @Traiver is making a conversion of the patch for the German version of Pokemon Crystal.

I looked into porting the patch to Gold and Silver, and it seems that a lot of code IS indeed similar, but there is some things that are different as well. It doesn't help either that the disassembly is incomplete. The patch will eventually be ported, but I think it's still a little far out.
 
  • Like
Reactions: duffmmann

noctis90210

Well-Known Member
Member
Joined
Dec 24, 2013
Messages
969
Trophies
0
Age
37
XP
1,635
Country
Battle demonstration bewteen 2 Pokémon Crystal VC's on the 3DS.



so the only thing that needed to be fixed is the color palettes?

just want to ask another question...
if we make a "custom VC" pokemon yellow (not the official one)...
we all know that the "pika" sound on title screen is mute (no "pika" sound) maybe that "sound file type" is not supported by manual VC injection...
are there any other "sound file type" present on crystal like the "pika" sound?
 

Traiver

Developer
Developer
Joined
Aug 1, 2014
Messages
1,326
Trophies
1
Location
???
XP
2,958
Country
United States
so the only thing that needed to be fixed is the color palettes?

just want to ask another question...
if we make a "custom VC" pokemon yellow (not the official one)...
we all know that the "pika" sound on title screen is mute (no "pika" sound) maybe that "sound file type" is not supported by manual VC injection...
are there any other "sound file type" present on crystal like the "pika" sound?
Yes there are but I'm pretty sure, it wouldn't work for the old generation of VC.
 
  • Like
Reactions: XRaidersP

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/2n3nUOadWxM?si=7QMANPmqPdFcdlfm