Wiimms mkw-ana (tool)

From Custom Mario Kart
Revision as of 21:30, 29 January 2013 by Wiimm (talk | contribs) (Created page with "The tools '''mkw-ana''' is a new project by Wiimm to analyse the network protocol of Mario Kart Wii. __TOC__ {{textbox|red centered|In Progress|This article is manage...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The tools mkw-ana is a new project by Wiimm to analyse the network protocol of Mario Kart Wii.



In Progress
This article is managed by Wiimm will grow slowly. Feel free to edit typos, dramatics or speech issues.


Intention

In November 2012 Wiimm decided to analyse the network protocol of Mario Kart Wii. The main goal was to discover online cheaters. On other goal is to set up an own server if any time Nintendo will shut down its servers.

So the main feature is to dump the packets of a tcpdump (done by tcpdump' or wireshark) in a user friendly format. But after first experiments it becomes a live racing statistic tool.

The Tool

???

Live Statistics

mkw-ana can scan the network traffic in real time and can produce makedoc or php data files. Together with ssh and an cgi script a live statistic is created. Live means, that that the tables are updates 2-5 seconds after the race have finished.

How it works

  • In my home I have manageable switches. I have programmed one port, to copy all data traffic from and to my Wii to the my local Linux server. The Wii will not notice this.
  • The Linux server run the tool tcpdump. The tool is programmed to filter all Wii traffic and to send it tee. tee archives the data into a backup file and sends a copy to my tool. My tool analyse the data stream and create the tables.
  • A background process on my local Linux server wait for new data file. If a new data file is available, it is send to my web server using ssh.
  • A CGI script running at my web server uses always the most current data file to serve the tables to the visitors.