Slot Usage
Overview
This article describes the slot usage of Mario Kart Wii compared to certain mods that expand the track selection screen.
Mario Kart Wii
The tracks of Mario Kart Wii are internally addressed by slot identifiers beginning with value 0. The game uses integers (at least 31 bit unsigned) to identify a track. Since track identifiers are transmitted as a single byte, a maximum of 256 slots are available online.
Slots (Hex) | Slots (Dec) | Amount | Usage |
---|---|---|---|
0x00–0x1f | 0–31 | 32 | Original tracks (T11–T84) |
0x20–0x29 | 32–41 | 10 | Original battle arenas (A11–A25) |
0x2a–0x35 | 42–53 | 12 | Unused |
0x36 | 54 | 1 | Galaxy Colosseum |
0x37–0x3a | 55–58 | 4 | Winning scene Losing scene Luigi Circuit (Credits) Broken losing scene |
0x3b–0x41 | 59–65 | 7 | Unused |
0x42 | 66 | 1 | Reserved |
0x43 | 67 | 1 | Online: No track selected yet |
0x44–0xfe | 68–254 | 187 | Unused |
0xff | 255 | 1 | Online: Random |
In total, there are 206 slots available for extra custom tracks.
CT-CODE
CT-CODE uses the normal slot distribution as a base. It uses free slots and overwrites some existing ones for custom tracks.
Slots (Hex) | Slots (Dec) | Amount | Usage |
---|---|---|---|
0x00–0x1f | 0–31 | 32 | Original tracks (T11–T84) |
0x20–0x41 | 32–65 | 34 | Custom tracks |
0x42 | 66 | 1 | Reserved |
0x43 | 67 | 1 | Online: No track selected yet |
0x44–0xfe | 68–254 | 187 | Custom tracks |
0xff | 255 | 1 | Online: Random |
In total, there are 221 slots available for custom tracks.
LE-CODE
LE-CODE also uses the normal slot distribution as a base, but leaves it mostly unchanged. In addition, it edits the online protocol to allow for extra custom tracks. Track identifiers are not transmitted as a 16 bit value, therefore allowing for 32,768 extra slots. Due to limitations, a maximum of 4,096 extra slots were added.
Slots (Hex) | Slots (Dec) | Amount | Usage |
---|---|---|---|
0x000–0x01f | 0–31 | 32 | Original tracks (T11–T84) |
0x020–0x02b | 32–41 | 10 | Original battle arenas (A11–A25) |
0x02a–0x035 | 42–53 | 12 | Unused |
0x036 | 54 | 1 | Galaxy Colosseum |
0x037–0x03a | 55–58 | 4 | Winning scene Losing scene Luigi Circuit (Credits) Broken losing scene |
0x03b–0x03c | 59–60 | 2 | Unused |
0x03d–0x041 | 61–65 | 5 | Special random selections |
0x042 | 66 | 1 | Reserved |
0x043 | 67 | 1 | Online: No track selected yet |
0x044–0xfff | 68–4095 | 4028 | Custom tracks |
0x1000–0x7fff | 4096–32767 | 28672 | Unused |
0xffff | 65535 | 1 | Online: Random |
In total, there are 4,028 slots available for custom tracks.
Slot Comparison
The following table compares all slot usages of the regular game, CT-CODE and LE-CODE.
Slots (Hex) | Slots (Dec) | Amount | Nintendo | CT-CODE | LE-CODE |
---|---|---|---|---|---|
0x00–0x1f | 0–31 | 32 | Original tracks (T11–T84) | ||
0x20–0x29 | 32–41 | 10 | Original battle arenas (A11-A25) | 34 custom tracks | Original battle arenas (A11-A25) |
0x2a–0x35 | 42–53 | 12 | Unused | Unused | |
0x36 | 54 | 1 | Galaxy Colosseum | Galaxy Colosseum | |
0x37–0x3a | 55–58 | 4 | Winning scene Losing scene Luigi Circuit (Credits) Broken losing scene |
Winning scene Losing scene Luigi Circuit (Credits) Broken losing scene | |
0x3b–0x3c | 59–60 | 2 | Unused | Unused | |
0x3d–0x41 | 61–65 | 5 | Special random selections | ||
0x42 | 66 | 1 | Reserved | ||
0x43 | 67 | 1 | Online: No track selected yet | ||
0x44–0xfe | 68–254 | 187 | Unused | 187 custom tracks | 4,028 custom tracks |
0xff | 255 | 1 | Online: Random | ||
0x100–0xfff | 256–4095 | 3840 | No support | ||
0x1000–0x7fff | 4096–32767 | 28672 | Unused | ||
0x8000-0xfffe | 32768–65534 | 32767 | No support | ||
0xffff | 65535 | 1 | Online: Random |