Wiimmfi

From Custom Mario Kart
Revision as of 13:12, 10 May 2014 by MindReader (talk | contribs) (Improved English when necessary)
Jump to navigation Jump to search

Nintendo has announced that the Nintendo Wi-Fi Connection service will be discontinued on May 20, 2014. This will impact all DS and Wii games with online features, including Mario Kart Wii. Wiimm had been analysing the Mario Kart Wii network traffic since November 2012 and had already written an helper tool named mkw-ana. And so he decided together with other people to create the Wii-Server Project to replace Nintendo's servers for Mario Kart Wii and perhaps for other games.

State of the Project

The tester team around Wiimm already played versus and battle in rooms, in regions and worldwide. They played standard Mario Kart Wii and Wiimms MKW-Fun. The latter is based on CTGP-R v1.02.

Implementation

Wiimm decided to implement the code in PHP as a fast solution and to find out the protocol details. From the beginning it was clear, that it must be rewritten in C or C++ for performance reasons. While developing, there were some other issues, so one of the servers is already implemented in C.

Server NASWII/NAS

Server NASWII is the https based login server. NAS is an old NDS implementation for http. Both can be interchanged. The server is implemented using APACHE2 and PHP5.

At the moment, only logins are accepted with old and new profiles. Complete new savegames send an request to get their unique console nickname. This is not implemented yet.

Server GPCM

Server GPSP

Server MASTER

Server MS

Server NATNEG

Server SAKE

Server GAMESTATS

Using old profiles

For each profile, there exists a profile id and a nick name pair. Only the Wii of the user and the server database knows both of them. At login, the Wii sends the nick name and the server answers with the related profile id. If you want to use your old profile with the new custom servers, you must use the Web Formula to register it. The server will then try to retrieve your related nickname.

Links

Project forum @ Wii-Homebrew.com
Other forums