Difference between revisions of "Network Protocol/Server"

From Custom Mario Kart
Jump to navigation Jump to search
(Moved to the particular server pages.)
Line 2: Line 2:
  
 
This protocol is also used by the other Wii games and DS/DSi Games, only the gamename in some records changes.
 
This protocol is also used by the other Wii games and DS/DSi Games, only the gamename in some records changes.
 
While logging in, there is an SSL communication with naswii.nintendowifi.net.
 
 
There is base64 encoded information:
 
 
LOGIN (Wii to Nintendo):
 
 
<pre>action=login
 
gsbrcd=RMCJ2leohni Any nickname?
 
userid=1786673827498 Any ID, but not the friend code or profile / user id
 
ingamesn= n o  n a m e Any nickname / Mii name?
 
sdkver=001000 Always binary "8" for MKWii
 
gamecd=RMCE ID4 of Game
 
makercd=01 last two digits of ID6
 
unitcd=1 ?
 
macadr=0017ab2923be The MAC-Adress of the Wii
 
lang=01 Maybe a language code ?
 
devtime=140228160425 Unix timestamp of wii time
 
csnum=LU519608598 Wii S/N
 
cfc=7615213554627182 Any code, maybe wii friend code
 
region=01 Any region identifier</pre>
 
 
ACCTCREATE (Wii to Nintendo)
 
 
<pre>action=acctcreate
 
sdkver=001000 Always binary "8" for MKWii
 
gamecd=RMCP ID4 of Game
 
makercd=01 last two digits of ID6
 
unitcd=1 ?
 
macadr=0017ab2923be The Wiis MAC-Adress
 
lang=02 Maybe a language code ?
 
devtime=140304203139 Unix timestamp of wii time
 
csnum=LE632014481 Wii S/N
 
cfc=7615213554627182 Any code, maybe wii friend code
 
region=02 Any region identifier</pre>
 
 
Nintendo to Wii:
 
 
<pre>challenge=687TF0EG Any challenge
 
locator=gamespy.com ?
 
retry=0 count of retries
 
returncd=00 ?
 
token=... Same token as during LOGIN
 
datetime=20140228210452 Server date/time in format YYYYMMDDhhmmss</pre>
 
 
The values "macadr" and "cfc" are the same in both dumps, but maybe this is a fault of dolphin.
 

Revision as of 14:51, 10 March 2014

Details about the communication with the N-servers:

This protocol is also used by the other Wii games and DS/DSi Games, only the gamename in some records changes.