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.

DS Misc > Nintendog packet sniffing

#55042 - Sebbo - Sun Sep 25, 2005 12:51 am

title says it all really. i know that tunnelling other games isn't possible atm because of latency issues, but does that still apply for nintendogs? i noticed that nintendogs pretty much just sends the dog + item, then after that there is no more communication, so this got me thinking.

thanks in advance
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm


Last edited by Sebbo on Wed Oct 05, 2005 2:18 am; edited 1 time in total

#55043 - IxthusTiger - Sun Sep 25, 2005 12:54 am

Well it wouldn't be tunneling then ;)

Looks like Nintendogs broadcasts data like a Download Kiosk. So in theory, one could capture the Nintendogs Bark Mode data the same way you capture the Official Demos. Then you distribute on the web and BAM your friends list will be huge and you will unlock all the dogs and maybe some people will give up some rare items for us :)

#55045 - Sebbo - Sun Sep 25, 2005 1:01 am

that was pretty much the idea ;-) but how practical is it? i'm sure there's handshaking in it somewhere which would be a problem due to latency, but could you simulate the handshaking etc?
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#55061 - Dudu.exe - Sun Sep 25, 2005 3:30 am

Sebbo wrote:
that was pretty much the idea ;-) but how practical is it? i'm sure there's handshaking in it somewhere which would be a problem due to latency, but could you simulate the handshaking etc?


well, how the people done it with PSP?? i guess the priciple is the same..
_________________
http://flickr.com/photos/stuffbox

#55065 - tepples - Sun Sep 25, 2005 3:59 am

Current PSP games usually use TCP/IP over ad-hoc mode. Current Nintendo DS games use Ni-Fi over ad-hoc mode. The issues in tunneling Ni-Fi would be similar to the issues in tunneling IPX.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#55066 - Sebbo - Sun Sep 25, 2005 4:02 am

so how about capturing the dog data and saving that to a file so that another computer can simulate what would be a DS sending the data to a proper DS running nintendogs? that might be the ideal way to do it
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#55069 - tepples - Sun Sep 25, 2005 4:08 am

The same way WMB was cracked: Send a dog from one DS to another while running a Wi-Fi packet sniffer on a PC. Do this enough times that one can discern what is dog data and what is not from the packet capture, and someone may be able to figure out the Nintendogs protocol.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#55081 - IxthusTiger - Sun Sep 25, 2005 7:51 am

Sounds easy. So what's a good packet sniffer? Preferably the same one used for the E3 demos.

#55094 - nman - Sun Sep 25, 2005 3:48 pm

I can capture RAW Nintendogs's packets, if someone need it :)

#55117 - DsPet - Sun Sep 25, 2005 6:15 pm

The "Bark" mode is very limited. It only sends an item and a *temporary* dog to play on the second NDS unit.
The two dogs play for a short time. The interaction on one unit is totally different than the other.
Once the play session is over, the other dog is forgotten (other than a log entry and possibly leaving their puppies behind)

Very few bits of information are transferred.
---
A better hacking alternative:
If you have one or two home-brew capable NDS units, a cooler way is to share a clone of your dog with your friends. That way they get a full copy of the dog and can play with it at any time.
The Nintendogs Trainer does that (beta coming soon). You can simply insert your friends Nintendogs cartridge and "Import" a full clone of his dog into your Nintendogs cartridge.
If you have two home-brew capable NDS units, you can do the same over a longer distance (email a backup of your cartridge to you friend, which includes all of your pet dogs)
http://aibohack.com/nds/trainer.htm

> you will unlock all the dogs and maybe some people will give up some rare items for us
BTW: All possible with the Trainer (add free $ and trainer points, unlock the ~200 items automatically)

#55151 - IxthusTiger - Sun Sep 25, 2005 11:07 pm

Cool! A Nintendogs Save Hacker. Though capturing Bark Mode nad rebroadcasting would be better for people without homebrew since it should work just like the official DS demos.

No one made a joke about sniffing another dog's packet? For shame!

#55156 - tepples - Sun Sep 25, 2005 11:28 pm

I wonder if bark mode has any buffer overflows. PetMe?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#55626 - The 9th Sage - Fri Sep 30, 2005 3:21 am

tepples wrote:
I wonder if bark mode has any buffer overflows. PetMe?


:D These *Me names keep getting better as we go along.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#55923 - zigg - Tue Oct 04, 2005 2:21 pm

IxthusTiger wrote:
Cool! A Nintendogs Save Hacker. Though capturing Bark Mode nad rebroadcasting would be better for people without homebrew since it should work just like the official DS demos.


Well, and also for those of us who would just like to play the game as it was distributed with friends far away. :)

I may look at this someday.

#55934 - IxthusTiger - Tue Oct 04, 2005 6:55 pm

Move zigg! For great justice! :)

#55956 - Sebbo - Tue Oct 04, 2005 10:03 pm

well, my sister got a DS and nintendogs, so all i need is a wifi card with that RA chipset...any one have any recommendations?
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#55959 - DsPet - Tue Oct 04, 2005 11:01 pm

NOTE: The original post of this thread is discussing the technical *possibility* of implementing a PC side of the "Bark Mode" protocol.
This is similar to the discussion for a PC "PICTOCHAT" program
http://forum.gbadev.org/viewtopic.php?t=6972

These are theoretical discussions, talking about trapping the non-standard "NiFi" packets. Tricks like this require a hacked driver and certain hardware (like the RA chipset used by WiFiMe)

They are possible, but AFAIK they don't exist [ie. nobody has created a working program for these cases]
----
What *does* work today is a homebrew app
(eg: my Nintendogs Trainer, now in Beta). It requires a homebrew setup. A programmable GBA cart and one of PassMe/WifiMe/FlashMe.
-----
> ....capturing Bark Mode nad rebroadcasting would be better for people without homebrew since it should work just like the official DS demos.
True if you can figure out the protocol, and setup the necessary "NiFi" setup on your PC.
Once again, the difference is the Homebrew app is working now, while the NiFi bark mode hack is theoretical.
-----
> so all i need is a wifi card with that RA chipset...
No, that's only one part of homebrew (for the "WiFiMe" hack)
You also need a GBA flash card to store your homebrew app.
See general homebrew setup discussions for hardware recommendations.

#55969 - Sebbo - Wed Oct 05, 2005 12:44 am

sorry, i might have been a bit unclear in my last post...
i meant my sister also has a DS and a copy of nintendogs (i have my own DS and copy of nintendogs) so now i can start trying to capture bark mode data...once i get a WiFi card
which of the cards on this page would people recommend? what software do ppl use as well (i've heard kismet thrown around a bit)

my main intention is to be able to let my gf (who lives 600km away, i think thats about 375 miles?) play with either of my dogs whenever.
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#55973 - IxthusTiger - Wed Oct 05, 2005 2:15 am

My theory is that Nintendogs DOES NOT maintain a link between systems. I believe it broadcasts a downloadable demo the same way Polarium, for example, can send a demo version to another DS. The Polarium demo was captured the same way the E3 demos were captured, therefore, capturing Bark Mode should be just as easy (well... easier than cracking wifi, which you shouldn't have to do for this).

Bark mode should be as easy to capture and distribute as the official DS demos.

This means that Sebbo should be able to share his dog with his sis. The tough part though, is decoding the wifi packet each time. Is there anyone here besides firefly who knows how to put the captured DS demos together?

If several of us learn how to do this, we could form a Nintendogs community where people send us their sniffed packets and we put them back together and host them so that anyone on the net can play with your dog/have your present.

This is not exactly tunneling, because Nintendogs does not keep a wifi link between the DSes. Wifi cracking is not necessary. Again, the tough part is putting the sniffed packets together, and I hope some knowledgeable person can explain this process to us.

hehe... sniffed dog packets...

#56013 - nman - Wed Oct 05, 2005 2:06 pm

I tried to send packets with modified MAC address, but the Nintendogs didn't recognized it :(

#56033 - DsPet - Wed Oct 05, 2005 5:13 pm

> My theory is that Nintendogs DOES NOT maintain a link between systems.
Correct. It downloads a small amount of information (the dog breed, name, owner name, etc - and an optional present). Both people start an interaction on their NDSs. You can end the play session whenever you want. The other person can end their play session independently.

> I believe it broadcasts a downloadable demo the same way Polarium, for example, can send a demo version to another DS.
Nope, not a "demo". You need two Nintendogs cartridges (one per NDS). It transfers a very small amount of information. Each cartridge has all the dog breeds and the code to handle this case.
(true "Demos" are self contained and can run on an NDS without a DS cart)

> ...and host them so that anyone on the net can play with your dog/have your present.
Not *anyone* on the net -- in even the best case you would need a "RA" chipset lan card in your PC. Considering the hassles people have gone through getting a WiFiMe compatible card, I'd be surprised if they didn't go the extra step for a GBA cart or a FlashMe/WMB configuration.
----
> I tried to send packets with modified MAC address...
Nintendogs listens for "Bark Mode" only for a short period of time. Not sure what you are doing but the hardware and software setup for "NiFi" packet capture is tricky.

#56077 - Sebbo - Wed Oct 05, 2005 10:05 pm

Quote:

the hardware and software setup for "NiFi" packet capture is tricky.

so what setup are ppl using who have managed to successfully capture?
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#56126 - nman - Thu Oct 06, 2005 1:50 pm

The Nintendogs sends packets every minute (~400KB data at 2Mbit rate)
I modified Firefly's "Echo" application, so it can save the packets into a file and send back to the DS.
Then I edited the MAC addresses in the file, and sent it back to the DS.
But it didn't work :(

#56129 - Sebbo - Thu Oct 06, 2005 2:05 pm

so a connection is kept between DSs? i guess it makes sense...i noticed that about a minute after my gf left bark mode (last time she was up here) a message came up on my screen saying that her dog had gone home...i just assumed that it set a time limit or did that if the dogs seemed uninterested
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm