Difference between revisions of "Network Protocol/RACEHEADER 2"
Jump to navigation
Jump to search
(Clean up and add more information) |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{BASEPAGENAME}}/RACEHEADER_2}} | {{DISPLAYTITLE:{{BASEPAGENAME}}/RACEHEADER_2}} | ||
− | This article describes the record type '''RACEHEADER_2''' of the [[Network Protocol]]. | + | This article describes the record type '''RACEHEADER_2''' of the [[Network Protocol]]. This record is not sent during live view, and its contents depend on the game mode. |
− | + | == VS Race Structure == | |
+ | {| class="wikitable" | ||
+ | ! Offset | ||
+ | ! Size | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0x00 || 13 bits || Players who have finished the race (1 bit per player + 1). | ||
+ | |- | ||
+ | | 0x01.5 || 13 bits || Players who are participating in the race (1 bit per player + 1). | ||
+ | |- | ||
+ | | 0x03.2 || 13 bits || Players who have disconnected (1 bit per player + 1). | ||
+ | |- | ||
+ | | 0x04.7 || 2 bits || Local player count. | ||
+ | |- | ||
+ | | 0x05.1 || 4 bits || Client slot for Player 1. | ||
+ | |- | ||
+ | | 0x05.5 || 22 bits || Finishing time for Player 1 (6 bits for minutes, 6 for seconds and 10 for milliseconds). | ||
+ | |- | ||
+ | | 0x08.3 || 13 bits || Players who are ahead of Player 1 (1 bit per player + 1). | ||
+ | |- | ||
+ | | 0x0A || 4 bits || Client slot for Player 2. | ||
+ | |- | ||
+ | | 0x0A.4 || 22 bits || Finishing time for Player 2 (6 bits for minutes, 6 for seconds and 10 for milliseconds). | ||
+ | |- | ||
+ | | 0x0D.2 || 13 bits || Players who are ahead of Player 2 (1 bit per player + 1). | ||
+ | |- | ||
+ | | 0x0F || 1 byte || {{Unknown-left|'''Unknown'''. Most likely padding.}} | ||
+ | |- | ||
+ | | 0x10 || 2 bytes || Client slot for each player (repeated). | ||
+ | |- | ||
+ | | 0x12 || 1 byte || {{Unknown-left|'''Unknown'''. Seems to be a unused bitfield for client slots.}} | ||
+ | |- | ||
+ | | 0x13 || 1 byte || Local player count (repeated). | ||
+ | |- | ||
+ | | 0x14 || 4 bytes || Time since the race leader finished (in frames). | ||
+ | |- | ||
+ | | 0x18 || 4 bytes || Minimum time before the race can time out (in frames). The value for each Nintendo track can be found at 0x808903A4 PAL. | ||
+ | |- | ||
+ | | 0x1C || 1 byte || Marks the player as disconnected if set to 1. | ||
+ | |- | ||
+ | | 0x1D || 1 byte || {{Unknown-left|'''Unknown'''. Most likely padding.}} | ||
+ | |- | ||
+ | | 0x1E || 4 bytes || Time (in frames) since each player last moved faster than 30km/h. Caps at 300 (5 seconds). | ||
+ | |- | ||
+ | | 0x22 || 4 bytes || Time (in frames) since the previous countdown value maxed out. Caps at 3600 (1 minute), after which the player is disconnected if in a public room. | ||
+ | |- | ||
+ | | 0x26 || 2 bytes || {{Unknown-left|'''Unknown'''. Most likely padding.}} | ||
+ | |} | ||
− | + | == Balloon Battle Structure == | |
− | + | The packet structure for this game mode is unknown. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Coin Runners Structure == | |
− | + | The packet structure for this game mode is unknown. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Network Protocol}} | {{Network Protocol}} | ||
[[Category:Network Protocol|R]] | [[Category:Network Protocol|R]] |
Revision as of 16:19, 29 April 2023
This article describes the record type RACEHEADER_2 of the Network Protocol. This record is not sent during live view, and its contents depend on the game mode.
VS Race Structure
Offset | Size | Description |
---|---|---|
0x00 | 13 bits | Players who have finished the race (1 bit per player + 1). |
0x01.5 | 13 bits | Players who are participating in the race (1 bit per player + 1). |
0x03.2 | 13 bits | Players who have disconnected (1 bit per player + 1). |
0x04.7 | 2 bits | Local player count. |
0x05.1 | 4 bits | Client slot for Player 1. |
0x05.5 | 22 bits | Finishing time for Player 1 (6 bits for minutes, 6 for seconds and 10 for milliseconds). |
0x08.3 | 13 bits | Players who are ahead of Player 1 (1 bit per player + 1). |
0x0A | 4 bits | Client slot for Player 2. |
0x0A.4 | 22 bits | Finishing time for Player 2 (6 bits for minutes, 6 for seconds and 10 for milliseconds). |
0x0D.2 | 13 bits | Players who are ahead of Player 2 (1 bit per player + 1). |
0x0F | 1 byte | Unknown. Most likely padding. |
0x10 | 2 bytes | Client slot for each player (repeated). |
0x12 | 1 byte | Unknown. Seems to be a unused bitfield for client slots. |
0x13 | 1 byte | Local player count (repeated). |
0x14 | 4 bytes | Time since the race leader finished (in frames). |
0x18 | 4 bytes | Minimum time before the race can time out (in frames). The value for each Nintendo track can be found at 0x808903A4 PAL. |
0x1C | 1 byte | Marks the player as disconnected if set to 1. |
0x1D | 1 byte | Unknown. Most likely padding. |
0x1E | 4 bytes | Time (in frames) since each player last moved faster than 30km/h. Caps at 300 (5 seconds). |
0x22 | 4 bytes | Time (in frames) since the previous countdown value maxed out. Caps at 3600 (1 minute), after which the player is disconnected if in a public room. |
0x26 | 2 bytes | Unknown. Most likely padding. |
Balloon Battle Structure
The packet structure for this game mode is unknown.
Coin Runners Structure
The packet structure for this game mode is unknown.
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