gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Wireless adapter

#26928 - denopqrihg - Wed Sep 29, 2004 3:27 pm

Does anyone know how the thing works?

I doubt there is a new comms mode for it :-)

I have been looking for it everywhere and I found nothing

thanks

#27046 - Miked0801 - Sat Oct 02, 2004 1:15 am

Ok, I'm probably the only person this side of the Pacific that has any knowledge of the thing at all as I wrote the Digimon Racing RFU connection code. It, in theory, it allows faster transmission speed of data than serial, but I didn't see that. It has a software API that Nintendo is guarding like gold. 5 player connection possible, and some error correction built in, though I still did my own to get it to work 100%. That's about all I can really say without losing my job. :)

If you find anything other than this, Kudos :)

#27064 - ampz - Sat Oct 02, 2004 9:34 am

It is most likely using the 2Mbit/s serial mode.

#27100 - denopqrihg - Sun Oct 03, 2004 11:26 am

Thanks,

at least I can save the time I would spend searching for it on the net.

#27101 - ampz - Sun Oct 03, 2004 12:13 pm

Well, but knowing the mode it uses does not help you much.
The GBA<->wireless adapter communication protocol is still unknown.

#27134 - denopqrihg - Mon Oct 04, 2004 12:00 pm

I know.

But maybe I can find out something someday. (starting Pokemon and looking at what they send)

#33501 - denopqrihg - Tue Jan 04, 2005 4:14 pm

I must be doing something wrong. It lets me into the Union room, but then it says Connection error, but I don't know what's wrong :-(

#33565 - MumblyJoe - Wed Jan 05, 2005 3:00 pm

Miked0801 wrote:
Ok, I'm probably the only person this side of the Pacific that has any knowledge of the thing at all as I wrote the Digimon Racing RFU connection code. It, in theory, it allows faster transmission speed of data than serial, but I didn't see that. It has a software API that Nintendo is guarding like gold. 5 player connection possible, and some error correction built in, though I still did my own to get it to work 100%. That's about all I can really say without losing my job. :)

If you find anything other than this, Kudos :)


Not picking on you or anything man, as you are one of the better coders I have seen on these boards, but I have to admit that digimon racing was something me and friends tried after getting our wireless adapters and we had a real pain getting it to work for very long at all. Having said that, you should release the code :P (Just kidding, I wouldn't if I was you).
_________________
www.hungrydeveloper.com
Version 2.0 now up - guaranteed at least 100% more pleasing!

#33596 - denopqrihg - Wed Jan 05, 2005 10:24 pm

yes, the code will be released in VBALink - but only when it works :-)

you don't happen to have a gba, a flash cart and a wireless adapter and some good will to test my experimental roms?

#33614 - Miked0801 - Thu Jan 06, 2005 2:04 am

Oh really on the connection code? We did hours and hours of testing here to get that @#$$ thing stable. The only times we had problems were when playing next to running microwave ovens (true story) or zapping each other through tube lights. It even worked through some farily thick drywall in office. Range about 10M with slowdown and perfect at around 3 to 4M. What kind of issues did you have? As this code base is still being used in current games, I'd love to here about them!

Mike

#33657 - denopqrihg - Thu Jan 06, 2005 3:31 pm

well, there's probably been some misunderstanding - I'm not making code for GBA, I'm just trying to emulate the adapter

Miked0801, you're the person who knows most about it - is it possible to ever understand how it works from just looking at the sent and received data?

#33694 - Miked0801 - Thu Jan 06, 2005 10:47 pm

I wouldn't know - I got the thing working after much babblefishing of Beta Japanese documents along with a stable 4-player Serial API we wrote here to give high level packet support. If I had to try to make this thing work from packet sniffing, I'd find a new job :)

#34710 - denopqrihg - Mon Jan 24, 2005 9:51 pm

If I ask a simple yes/no question about the adapter, will you answer?

#34711 - poslundc - Mon Jan 24, 2005 10:20 pm

Haha, I find that amusing... just ask your question and if he can answer it he will, if not he won't. Behaving like a six-year-old is unlikely to change those parameters.

Dan.

#34714 - Miked0801 - Mon Jan 24, 2005 11:09 pm

Quote:

If I ask a simple yes/no question about the adapter, will you answer?


Shake the magic eight-ball:
Answer unclear, please try again :)

I'll answer any question that won't cost me my job - but if I feel the question touches on sensitive data, I won't. Fair?

#34765 - denopqrihg - Tue Jan 25, 2005 9:03 pm

OK :-)

It's almost clear that the next lowest byte is a word count.
Is the lowest byte some kind of command?

#34768 - Miked0801 - Tue Jan 25, 2005 10:14 pm

Dunno - the API I use takes care of those things for me and I have had no need to analyze its output.

#34804 - denopqrihg - Wed Jan 26, 2005 3:21 pm

Oh..

Well then I'll have to hack your Digimon to make it save the data :-)

btw, it's a great game!

#34821 - Miked0801 - Wed Jan 26, 2005 6:45 pm

Lol! You'll be hacking the Nintendo API more than my code. Best of luck :)

#34830 - denopqrihg - Wed Jan 26, 2005 9:38 pm

I already hacked Pokemon Emerald this way but it didn't work very well because the code overwrote the save and thus I couldn't go into the pokemon center :-(