Difference between revisions of "Wiimms mkw-ana (tool)"

From Custom Mario Kart
Jump to navigation Jump to search
m (fixed typos)
Line 1: Line 1:
The tools '''mkw-ana''' is a new project by [[Wiimm]] to analyse the network protocol of [[Mario Kart Wii]].
+
The tools '''mkw-ana''' is a new project by [[Wiimm]] to analyze the network protocol of [[Mario Kart Wii]].
  
  
Line 5: Line 5:
  
  
{{textbox|red center|In Progress|This article is managed by [[Wiimm]] will grow slowly. Feel free to edit typos, grammatical or speech issues.}}
+
{{textbox|red center|In Progress|This article is managed by [[Wiimm]] will grow slowly. Feel free to edit typos and grammatical or speech issues.}}
  
  
 
== Intention ==
 
== 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.
+
In November 2012, [[Wiimm]] decided to analyze the network protocol of [[Mario Kart Wii]]. The main goal was to discover online cheaters. Another goal is to set up his 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.
+
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 ==
 
== The Tool ==
Line 20: Line 20:
 
== Live Statistics ==
 
== 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 [http://wiimm.de/mkw-race live statistic] is created. Live means, that that the tables are updates 2-5 seconds after the race have finished.
+
'''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 [http://wiimm.de/mkw-race live statistic] is created. Live means that the tables are updates 2-5 seconds after the race have finished.
  
 
=== How it works ===
 
=== 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.
 
* 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.
+
* The Linux server runs 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 analyze 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 background process on my local Linux server waits for new data file. If a new data file is available, it is sent 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.
 
* A CGI script running at my web server uses always the most current data file to serve the tables to the visitors.
  
  
[[category:software]]
+
[[Category:Software]]

Revision as of 21:35, 29 January 2013

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



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


Intention

In November 2012, Wiimm decided to analyze the network protocol of Mario Kart Wii. The main goal was to discover online cheaters. Another goal is to set up his 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 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 runs 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 analyze the data stream and create the tables.
  • A background process on my local Linux server waits for new data file. If a new data file is available, it is sent 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.