Network Protocol/Server/GAME.msNUM.gs.nintendowifi.net
There exists a large set of domains following the name scheme <GAME>.ms<NUMBER>.gs.nintendowifi.net. All domains point to the same server. Mario Kart Wii uses mariokartwii.ms19.gs.nintendowifi.net.
The server listen at TCP port 28910 and accepts database queries to handle the matchmaking in global and continental races. The server is also used room races to check if the profile is already connected to WFC.
General Description
This server is used for continental and global races in MKWii.
Games, users and keywords
Data members
Request send by the clients
Responses send by the server
Encoding and Decoding
Server number
The server number (for MKWii it's 19) can be calculated with this code. The needed parameter is the game name string ("mariokartwii").
int main(int argc, char **argv) { int i = 0; unsigned int server = 0; for(i = 0; i < strlen(argv[1]); i++) { unsigned char c = tolower(argv[1][i]); server = c - (server * 0x63306ce7); } server %= 20; printf("%s.ms%d.nintendowifi.net", argv[1], server); return 0; }
Other Servers
DNS Name | IP Address | Port | Protocol | Description |
---|---|---|---|---|
gamestats.gs.nintendowifi.net mariokartwii.gamestats.gs.nintendowifi.net |
69.10.30.240 | 29920 | — | These are looked up, but never used. |
gamestats2.gs.nintendowifi.net mariokartwii.gamestats2.gs.nintendowifi.net |
69.10.30.234 | — | TCP | These are looked up, but never used. |
gpcm.gs.nintendowifi.net | 69.10.30.242 | 29900 | TCP | This connection is used to manage friends and to inform about one's status. |
gpsp.gs.nintendowifi.net | 69.10.30.241 | 29901 | TCP | This server exchanges profile IDs into nicks. |
mariokartwii.available.gs.nintendowifi.net mariokartwii.master.gs.nintendowifi.net |
69.10.30.248 | 27900 | UDP | This checks if the server is available. |
mariokartwii.ms19.gs.nintendowifi.net | 69.10.30.247 | 28910 | TCP | This server handles database requests for online matchmaking. |
mariokartwii.natneg1.gs.nintendowifi.net | 69.10.30.254 | 27901 | UDP | NATNEG is a way to bypass NAT and firewalls. |
mariokartwii.natneg2.gs.nintendowifi.net | 69.10.30.253 | 27901 | UDP | NATNEG is a way to bypass NAT and firewalls. |
mariokartwii.natneg3.gs.nintendowifi.net | 69.10.30.252 | 27901 | UDP | NATNEG is a way to bypass NAT and firewalls. |
mariokartwii.sake.gs.nintendowifi.net | 69.10.24.119 | 443 | TCP/HTTP(S) | This server handles Mii exchanges and ghost up- and downloads. |
naswii.nintendowifi.net | 192.195.204.143 69.25.139.143 |
443 | TCP/HTTP(S) | The authority DNS server delivers randomly both IP addresses with a time to live of 30 seconds to support a kind of load balancing. |
mariokartwii.race.gs.nintendowifi.net | 69.10.24.125 | 443 | TCP/HTTP(S) | This server is used for Time Trial and Competition leaderboards and the actual competition distribution. |
Related Topics
Information:
Nintendo's Servers –
Friend Code –
Nick –
Dumping Network Traffic
Record Types:
HEADER –
ROOM –
SELECT –
USER
RACEHEADER_1 –
RACEHEADER_2 –
RACEDATA –
ITEM –
EVENT
NATNEG –
ANNOUNCE –
QUIT –
STATUS –
PARAM-STRING
Wiimmfi Extensions:
Online Status –
Connection Status –
Wiimmfi packets –
Server SV
Software:
Wiimms mkw-ana