Hacking Save Nintendo WiFi - A project to save online servers for Wii (and DS) games

AwesomeMarioFan

RiiConnect24 Dev
Member
Joined
Jun 21, 2013
Messages
162
Trophies
0
Age
39
Website
awesomemariofan.com
XP
218
Country
United States

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
If using our own DNS server, the traffic to mariokartwii.ms19.gs.nintendowifi.net is now also redirected. The server manage mainly the worldwide meetings. mkw-ana is now able to decode the lists with online status of players send by the server. With this new redirect I'm able to analyse this traffic for other games.

Furthermore the servers gpcm.gs.nintendowifi.net and gpsp.gs.nintendowifi.net are redirected. They manage friend lists.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
I've finished work on a NoSSL patching method for Wii games. It can be found here: http://save-nintendo-wifi.com/wii-nossl.html

I do really like that idea, the only downside is the fact that there is no simple usb loader method yet so I decided to write a ocarina code which does the same as your application, it should work pretty much the same way:
http://pastie.org/private/br7rtzh28pnvpiyaqvt7a
Also, the sources if anyone is interested:
http://fix94.no-ip.org/nossl.7z
 
  • Like
Reactions: Thassalar

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
And this cheat simply replaces https by http? This won't work, because naswii.nintendowifi.net. and mariokartwii.sake.gs.nintendowifi.net. don't listen on port 80. They only use SSL/HTTPS. The patch from Toad King also works with the sake server that has no HTTP equivalent.
 

Toad King

Well-Known Member
OP
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
I do really like that idea, the only downside is the fact that there is no simple usb loader method yet so I decided to write a ocarina code which does the same as your application, it should work pretty much the same way:
http://pastie.org/private/br7rtzh28pnvpiyaqvt7a
Also, the sources if anyone is interested:
http://fix94.no-ip.org/nossl.7z
That's awesome! Can I put that on my site for other USB loader users?

And this cheat simply replaces https by http? This won't work, because naswii.nintendowifi.net. and mariokartwii.sake.gs.nintendowifi.net. don't listen on port 80. They only use SSL/HTTPS. The patch from Toad King also works with the sake server that has no HTTP equivalent.
I know. The page has instructions on how to use a SSL tunnel hosted by myself, so all the HTTP requests get encrypted on my server and the encrypted response is decrypted when sent back to the Wii.
 

AwesomeMarioFan

RiiConnect24 Dev
Member
Joined
Jun 21, 2013
Messages
162
Trophies
0
Age
39
Website
awesomemariofan.com
XP
218
Country
United States
Since it's relevant to the Wii as well, I'm copy/pasting the same message I just posted in the DS Wifi thread here:

I've finally uploaded the source code for what I've written so far of the server emulator. You can find it here on Github.
Be warned that this code is still very highly alpha, and probably won't work (or very well) for other people. I'm still working on it so please be patient. Right now it'll only go as far as being able to log into the server.

The main focus as of right now is the Nintendo DS but this SHOULD also work for Wii games as far as the base of the server emulation goes. Anything game-specific will need to be handled on a case-by-case basis. I have an idea of how to implement that rather nicely using individual game modules if I get to that point.

Right now I'm in the process of documenting the master server and some of the player server (gpcm.gs.nintendowifi.net). The player server is currently enough to login/logout, create/destroy sessions, get the user's profile, update the user's profile (sorta), and respond to the keep alive message.

The master server/availability server currently can only respond to the availability check that happens after getting data from NAS and before connecting to the player server.

All of my reverse engineering is done on Tetris DS so I cannot guarantee that it'll work for other games until more testing is done. My goal is to get Tetris DS at least into a basic match before the servers go down.

Awesome! Glad to see progress moving forward.

Also, if you need a host for this script/a central server for players to connect, I could host it.
 

528491

Member
Newcomer
Joined
Apr 2, 2014
Messages
15
Trophies
0
Age
44
XP
149
Country
Croatia
I'm completely noob at this, but very passionate about Wii's WiFi, supported all the possible petitions, and now once I learned that this effort doesn't require any modding of the actuall Wii console, but is done via the PC, I will surely do as much as possible to contribute, as soon as I get my PC back from repair lol

Also I see that Last Story is not on the list, I play a lot of that multiplayer, so I'll try to capture that.

Just a question to the author:
Are there any relevant differences between the stated methods of capture (Hardware Capture Guides, Emulator Capture Guides)? I mean, is there any prefered method for capturing out of all listed in the guides?

edit:
also one more question: can "WiiConnect24" be saved as well? Meaning, can this effort make Wii to Wii messaging functional again?
 

kingofgamesgx

Hitokiri Battousai
Member
Joined
May 12, 2009
Messages
255
Trophies
0
Age
32
XP
997
Country
United States
glad to see something like this in the works can i request someone Get packets from the Mega Man Star Force 2 and Mega Man Star Force 3 games?


as a member of that community from back in its glory days i'd be happy for it to have a chance to live on even after nintendo kills wifi sadly as i don't have access to my DS currently i can't do it myself
 

Videomanman87

Well-Known Member
Member
Joined
Oct 11, 2011
Messages
299
Trophies
1
XP
479
Country
United States
This is very good to see. I can't help with packet capture currently but I can help test later on. I hope that Conduit/Conduit 2 get captured as well. I see Goldeneye 700 is (very good to see, I love that game). It would also be good to see The Last Story captured as well. I doubt it will though, doesn't seem to be many people doing multiplayer, at least I have tried many times and don't seem to find anyone on. Perhaps it isn't worth it, but I haven't had a chance to actually see for myself lol.

Oh one other game: Wii Fishing Resort. While it doesn't have normal multiplayer per se , it does have ranking boards and contests which are fun.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
DNS: Capture more data

Mario Kart Wii uses the server mariokartwii.ms19.gs.nintendowifi.net to connect to port 28910. This is a gamespy server. It is used to manage online meetings.

In general, Nintendo uses <GAME>.ms<NUMBER>.gs.nintendowifi.net for this the gamespy database queries to port 28910. <GAME> is any internal game name, ore more exact, any possible domain string (wildcard domains). <NUMBER> are numbers between 0 and 20. And all domain names are resolved to the IP4 69.10.30.247.

Since last weekend, the name server redirects mariokartwii.ms19.gs.nintendowifi.net to my server. This disadvantage of this solution is, that only MKWii traffic is redirected. But beginning with the next week, I will redirect all of the *.ms<NUMBER>.gs.nintendowifi.net domains to catch the traffic of other games. This might be dangerous, if the domains are used for other purposes.

So, if you have problems, disable the DNS server and tell me, what happened. I will post a second message when I have changed the settings.

* See also: A redirect Server

Btw:
I have now completely analysed the MKWii part of protocol of this server. Decoding is no problem, and the encoder must be tested in the next days. mkw-ana print nice statistical summaries. In the next days I will tell you more.
 
  • Like
Reactions: HNKii and W hat

HNKii

Well-Known Member
Member
Joined
Jan 28, 2014
Messages
477
Trophies
0
Location
Mario Kart Wii-DS Link Play Stadium
XP
603
Country
Switzerland
DNS: Capture more data

Mario Kart Wii uses the server mariokartwii.ms19.gs.nintendowifi.net to connect to port 28910. This is a gamespy server. It is used to manage online meetings.

In general, Nintendo uses <GAME>.ms<NUMBER>.gs.nintendowifi.net for this the gamespy database queries to port 28910. <GAME> is any internal game name, ore more exact, any possible domain string (wildcard domains). <NUMBER> are numbers between 0 and 20. And all domain names are resolved to the IP4 69.10.30.247.

Since last weekend, the name server redirects mariokartwii.ms19.gs.nintendowifi.net to my server. This disadvantage of this solution is, that only MKWii traffic is redirected. But beginning with the next week, I will redirect all of the *.ms<NUMBER>.gs.nintendowifi.net domains to catch the traffic of other games. This might be dangerous, if the domains are used for other purposes.

So, if you have problems, disable the DNS server and tell me, what happened. I will post a second message when I have changed the settings.

* See also: A redirect Server

Btw:
I have now completely analysed the MKWii part of protocol of this server. Decoding is no problem, and the encoder must be tested in the next days. mkw-ana print nice statistical summaries. In the next days I will tell you more.

Great!
Since I can't capture packets(because my capture device keeps corrupting it), I guess I can finally help again!
I'll try to capture many battle packets for MKWii!:)

BTW, besides changing the DNS, do we have to do anything else?

EDIT:http://forum.wii-homebrew.com/wii-server/statistics.txt
There's a game ID B4T without any console/game name infomation。
I searched for the ID B4TE and found that it was tetris party on DS, and I did try online on this game, don't know why the data is missing :/
Edit: ID C34X is a Japan-only Mini 4WD game on DS.

0477-1996-7815 IMW
:ohnoes:
Can't believe this!! IMW having a Friend Code? Come on it's personal trainer:walking!!
 

AwesomeMarioFan

RiiConnect24 Dev
Member
Joined
Jun 21, 2013
Messages
162
Trophies
0
Age
39
Website
awesomemariofan.com
XP
218
Country
United States
Great!
Since I can't capture packets(because my capture device keeps corrupting it), I guess I can finally help again!
I'll try to capture many battle packets for MKWii!:)

BTW, besides changing the DNS, do we have to do anything else?
No, the server should automatically log the data then route it to the correct location.
Essentialy, all requests for websites are being sent to that server instead of your ISP's, and the Mario Kart Wii packets are simply being logged before it is sent to the correct location.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: It's how we used to cheat at Pokewalker.