Slot Usage

From Custom Mario Kart
Jump to navigation Jump to search

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.

Slot usage
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.

Slot usage
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 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, not all of these slots were used.

Slot usage
Slots (Hex) Slots (Dec) Amount Usage
0x0000–0x001f 0–31 32 Original tracks (T11–T84)
0x0020–0x002b 32–41 10 Original battle arenas (A11–A25)
0x002a–0x0035 42–53 12 Unused
0x0036 54 1 Galaxy Colosseum
0x0037–0x003a 55–58 4 Winning scene
Losing scene
Luigi Circuit (Credits)
Broken losing scene
0x003b–0x003c 59–60 2 Unused
0x003d–0x0041 61–65 5 Special random selections
0x0042 66 1 Reserved
0x0043 67 1 Online: No track selected yet
0x0044–0x0fff 68–4095 4028 Custom tracks
0x1000–0x1fff 4096–8191 4096 Custom tracks, since 2024-02-08
0x2000–0x7fff 8192–32767 24576 Unused
0xffff 65535 1 Online: Random

In total, there are 8,124 slots available for custom tracks.

Pulsar

Pulsar uses the normal slot distribution as a base, and adds extra entries for custom tracks. The track count has been limited to 4,000.

Slot usage
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
0x100-0x109f 256-4255 4000 Custom tracks

In total, there are 4,000 slots available for custom tracks.

Slot Comparison

The following table compares all slot usages of the regular game, CT-CODE, LE-CODE, and Pulsar.

Slot usage comparison
Slots (Hex) Slots (Dec) Amount Nintendo CT-CODE LE-CODE Pulsar
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 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 8,124 custom tracks Unused
0xff 255 1 Online: Random Online: Random
0x100-109f 256-4255 4000 No support 4,000 custom tracks
0x10a0–0x1fff 4256–8191 3936 Unused
0x2000–0x7fff 8192–32767 28672 Unused
0x8000-0xfffe 32768–65534 32767 No support
0xffff 65535 1 Online: Random