Points of Required Attention™
Smaghetti, a new Super Mario Advance 4 editor, is currently in development! Check out the thread HERE!

Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,313,834
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 03-28-24 07:09 PM
Guest: Register | Login

0 users currently in ROM Hacking | 3 guests

Main - ROM Hacking - Request: any and all assistance regarding trading Pokémon New thread | New reply


Kawa
Posted on 07-13-07 08:33 PM (rev. 4 of 07-15-07 03:45 PM) Link | Quote | ID: 54609


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 431/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
Something that's been on the OpenPoké wish list since the beginning is trading with the original games. But to do that, one would require the protocol.

So far, we've got a VBALink log, a truckload of rather vague disassembly (including an equally vague decompilation by Cearn) and a routine to convert regular monsters to OP style (the difference being ASCII names and no encryption).

Anything to get this going is appreciated.

Annotated VBALink log - now updated to have more differences, as noted.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

roxahris
Posted on 07-14-07 01:20 PM Link | Quote | ID: 54943


Level: 52

Posts: 202/568
EXP: 1069982
Next: 13858

Since: 02-19-07
From: Here?

Last post: 3895 days
Last view: 3858 days
Wouldn't it be possible to copy the code from the original game, analyse it, build a program that sends the required signals to tell the other GBA that it's another Pokemon game, and it's waiting for a trade, and then log what comes back?
Or try getting no$gba and debugging the link cable data using that?


____________________
Love your lawn.

Kawa
Posted on 07-14-07 01:22 PM (rev. 2 of 07-14-07 04:28 PM) Link | Quote | ID: 54945


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 434/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
I'm a jerk that used the wrong table to look for the monster names. They -are- being sent, u16 by u16.

sirhax0r, that wasn't very helpful at all. You basically restated everything I already knew and said, except for the program part which requires perfect timing or the game locks up with a communication error!

Update: I found that data is sent in chunks of seven u16 values, followed by a mystery value and a terminator that's 0x8888 if there's more or 0x0000 if you're done.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

HyperHacker
Posted on 07-15-07 01:12 AM Link | Quote | ID: 55071

...
Level: 73

Posts: 1141/1220
EXP: 3359060
Next: 126808

Since: 03-25-07
From: no

Last post: 6062 days
Last view: 6046 days
Is the mystery value a checksum? I'd have used one if I were them, given the number of times my traded Pokémon got corrupted during transfer on the GBC.

Kawa
Posted on 07-15-07 03:16 PM (rev. 3 of 07-15-07 05:44 PM) Link | Quote | ID: 55173


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 437/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
The mystery value is probably not a checksum.

New trade
Player 1 -- Brendan with Zigzagoon and Wurmple
Player 2 -- Landon with Treecko and Poochyena
Zigzagoon and Treecko are traded.

0000 81db
0000 46da
0000 a6d9
0000 1a06
0000 ccce Treecko's name: "TR"
0000 bfbf "EE"
0000 c5bd "CK"
6466 6466
8888 8888 @ ----------------------------------------------------------------
8e14 ffc9 "O."
a706 0000
a6d9 0202
1a06 bbc6 Treecko's OT: "LA"
c3d4 bec8 Zigzagoon's name: "ZI" "ND"
d4c1 c8c9 "GZ" "ON"
c1bb 00ff "AG"
a77a a77a
8888 8888 @ ----------------------------------------------------------------
c9c9 88bd "OO"
ffc8 0000 "N."
0202 2617
ccbc 5cdc Zigzagoon's OT: "BR"
c8bf 265b "EN"
bbbe 5cdc "DA"
00c8 6102 "N."
1e8d 1e8d
8888 8888 @ ----------------------------------------------------------------





Random, but maybe important thought


When trading, you first get a screen to select your Pokémon in. This screen features both player's full party. The complete 100-byte structure is sent for each monster. Now, what if all that's really sent afterwards are the indices for which monsters are traded? The new parties are sent in full afterwards for the same screen's purposes, which also enables evolve-on-trade monsters.

Just a thought.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Kawa
Posted on 07-16-07 07:46 PM (rev. 2 of 07-16-07 07:50 PM) Link | Quote | ID: 55469


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 441/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days

Breakthrough


My earlier thought is confirmed.

After the party selection screen comes up, editing the RAM to
turn "TREECKO" into, say "BREECKO" does not cause the 2nd player's view of your
party to update. This implies that it's not sent again when you choose SUMMARY.
Trading... still BREECKO/TREECKO...
Trade complete. Player 2 recieves TREECKO.
Party screen reappears. Player 1's view of Player 2's party says TREECKO,
because the full data is resent.
Conclusion: the whole transmission implied by the travel-along-the-wire cutscene
is a FAKE! Another potty-break hypothesis proven!

Edit: I leave you with the conclusion in motivator form!

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Kawa
Posted on 07-21-07 10:43 AM Link | Quote | ID: 56546


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 457/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
Okay, rollback killed the latest revelation.

Your own party is back to back with the "Other Dude"'s party. This is for both opponents and traders. HyperHacker won a cookie for guessing that.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Kawa
Posted on 07-22-07 12:50 PM Link | Quote | ID: 56786


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 469/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
[citation needed]

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

HyperHacker
Posted on 07-23-07 01:03 AM Link | Quote | ID: 56917

...
Level: 73

Posts: 1199/1220
EXP: 3359060
Next: 126808

Since: 03-25-07
From: no

Last post: 6062 days
Last view: 6046 days
Paula?

Kawa
Posted on 07-23-07 05:51 PM Link | Quote | ID: 57200


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 470/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
I was bored, let it pick a name by itself. Game chose Paula.

Last night, I was up till five to implement this screen in OP. Today, I tweaked the party screen and added a GiveMonster command to the scripts.

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Kawa
Posted on 07-25-07 07:26 PM Link | Quote | ID: 57874


CHIKKN NI A BAAZZKIT!!!
80's Cheerilee is best pony
Level: 138

Posts: 484/5344
EXP: 30874226
Next: 788755

Since: 02-20-07
From: The Netherlands

Last post: 4469 days
Last view: 2605 days
Isn't there anybody who would like to take a long, serious look at this log?

____________________
Wife make lunch - Shampoo
Opera - give it a spin
Spare some of your free time?
<GreyMaria> I walked around the Lake so many goddamn times that my sex drive was brutally murdered
Kawa rocks — byuu

Main - ROM Hacking - Request: any and all assistance regarding trading Pokémon New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.023 seconds. (340KB of memory used)
MySQL - queries: 32, rows: 62/63, time: 0.016 seconds.