Difference between revisions of "Slot Usage"
(Cleanup) |
|||
Line 1: | Line 1: | ||
− | This article describes | + | == 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 {{code|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. | ||
− | + | {| class="textbox grid sortable center" | |
− | + | |+ Slot usage | |
− | + | ! Slots (Hex) | |
− | + | ! Slots (Dec) | |
− | + | ! Amount | |
− | |||
− | {| class="textbox grid sortable" | ||
− | |+ | ||
− | |||
− | ! Slots Hex | ||
− | ! Slots Dec | ||
− | ! | ||
! Usage | ! Usage | ||
|- | |- | ||
− | + | | 0x00–0x1f || 0–31 || 32 | |
− | | {{yes|Original | + | | {{yes|Original tracks (T11–T84)}} |
|- | |- | ||
− | + | | 0x20–0x29 || 32–41 || 10 | |
| {{yes|Original battle arenas (A11–A25)}} | | {{yes|Original battle arenas (A11–A25)}} | ||
|- | |- | ||
− | + | | 0x2a–0x35 || 42–53 || 12 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0x36 || 54 || 1 | |
− | | {{opt|Galaxy Colosseum}} | + | | {{opt|[[Wii Galaxy Colosseum|Galaxy Colosseum]]}} |
|- | |- | ||
− | + | | 0x37–0x3a || 55–58 || 4 | |
− | | {{opt| | + | | {{opt|Winning scene<br>Losing scene<br>Luigi Circuit (Credits)<br>Broken losing scene}} |
|- | |- | ||
− | + | | 0x3b–0x41 || 59–65 || 7 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0x42 || 66 || 1 | |
− | | {{no| | + | | {{no|Reserved}} |
|- | |- | ||
− | + | | 0x43 || 67 || 1 | |
− | | {{no|Online | + | | {{no|Online: ''No track selected yet''}} |
|- | |- | ||
− | + | | 0x44–0xfe || 68–254 || 187 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0xff || 255 || 1 | |
− | | {{no|Online | + | | {{no|Online: ''Random''}} |
|} | |} | ||
− | + | In total, there are 206 slots available for extra custom tracks. | |
== CT-CODE == | == CT-CODE == | ||
+ | [[CT-CODE]] uses the normal slot distribution as a base. It uses free slots and overwrites some existing ones for custom tracks. | ||
− | + | {| class="textbox grid sortable center" | |
− | + | |+ Slot usage | |
− | + | ! Slots (Hex) | |
− | + | ! Slots (Dec) | |
− | {| class="textbox grid sortable" | + | ! Amount |
− | |+ Slot | ||
− | |||
− | ! Slots Hex | ||
− | ! Slots Dec | ||
− | ! | ||
! Usage | ! Usage | ||
|- | |- | ||
− | + | | 0x00–0x1f || 0–31 || 32 | |
− | | {{yes|Original | + | | {{yes|Original tracks (T11–T84)}} |
|- | |- | ||
− | + | | 0x20–0x41 || 32–65 || 34 | |
| {{maybe|Custom tracks}} | | {{maybe|Custom tracks}} | ||
|- | |- | ||
− | + | | 0x42 || 66 || 1 | |
− | | {{no| | + | | {{no|Reserved}} |
|- | |- | ||
− | + | | 0x43 || 67 || 1 | |
− | | | + | | {{no|Online: ''No track selected yet''}} |
|- | |- | ||
− | + | | 0x44–0xfe || 68–254 || 187 | |
| {{maybe|Custom tracks}} | | {{maybe|Custom tracks}} | ||
|- | |- | ||
− | + | | 0xff || 255 || 1 | |
− | | {{no|Online | + | | {{no|Online: ''Random''}} |
|} | |} | ||
− | + | In total, there are 221 slots available for custom tracks. | |
− | |||
− | |||
== LE-CODE == | == 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. |
− | |||
− | |||
− | |||
− | |||
− | {| class="textbox grid sortable" | + | {| class="textbox grid sortable center" |
− | |+ Slot usage | + | |+ Slot usage |
− | + | ! Slots (Hex) | |
− | ! Slots Hex | + | ! Slots (Dec) |
− | ! Slots Dec | + | ! Amount |
− | ! | ||
! Usage | ! Usage | ||
|- | |- | ||
− | + | | 0x000–0x01f || 0–31 || 32 | |
− | | {{yes|Original | + | | {{yes|Original tracks (T11–T84)}} |
|- | |- | ||
− | + | | 0x020–0x02b || 32–41 || 10 | |
| {{yes|Original battle arenas (A11–A25)}} | | {{yes|Original battle arenas (A11–A25)}} | ||
|- | |- | ||
− | + | | 0x02a–0x035 || 42–53 || 12 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0x036 || 54 || 1 | |
− | | {{opt|Galaxy Colosseum}} | + | | {{opt|[[Wii Galaxy Colosseum|Galaxy Colosseum]]}} |
|- | |- | ||
− | + | | 0x037–0x03a || 55–58 || 4 | |
− | | {{opt| | + | | {{opt|Winning scene<br>Losing scene<br>Luigi Circuit (Credits)<br>Broken losing scene}} |
|- | |- | ||
− | + | | 0x03b–0x03c || 59–60 || 2 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0x03d–0x041 || 61–65 || 5 | |
− | | {{maybe| | + | | {{maybe|[[LE-DEF#random|Special random selections]]}} |
|- | |- | ||
− | + | | 0x042 || 66 || 1 | |
− | | {{no| | + | | {{no|Reserved}} |
|- | |- | ||
− | + | | 0x043 || 67 || 1 | |
− | | {{no|Online | + | | {{no|Online: ''No track selected yet''}} |
|- | |- | ||
− | + | | 0x044–0xfff || 68–4095 || 4028 | |
| {{maybe|Custom tracks}} | | {{maybe|Custom tracks}} | ||
|- | |- | ||
− | + | | 0x1000–0x7fff || 4096–32767 || 28672 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
− | |||
− | |||
− | |||
|- | |- | ||
+ | | 0xffff || 65535 || 1 | ||
+ | | {{no|Online: ''Random''}} | ||
|} | |} | ||
− | + | In total, there are 4,028 slots available for custom tracks. | |
== Slot Comparison == | == Slot Comparison == | ||
+ | The following table compares all slot usages of the regular game, [[CT-CODE]] and [[LE-CODE]]. | ||
− | + | {| class="textbox grid sortable center" | |
− | + | |+ Slot usage comparison | |
− | {| class="textbox grid" | + | ! Slots (Hex) |
− | |+ | + | ! Slots (Dec) |
− | + | ! Amount | |
− | ! Slots Hex | + | ! Nintendo |
− | ! Slots Dec | + | ! CT-CODE |
− | ! | + | ! LE-CODE |
− | ! | ||
− | ! | ||
− | |||
|- | |- | ||
− | + | | 0x00–0x1f || 0–31 || 32 | |
− | | colspan=3 {{yes|Original | + | | colspan=3 {{yes|Original tracks (T11–T84)}} |
|- | |- | ||
− | + | | 0x20–0x29 || 32–41 || 10 | |
− | | | + | | {{yes|Original battle arenas (A11-A25)}} |
| rowspan=6 {{maybe|34 custom tracks}} | | rowspan=6 {{maybe|34 custom tracks}} | ||
+ | | {{yes|Original battle arenas (A11-A25)}} | ||
|- | |- | ||
− | + | | 0x2a–0x35 || 42–53 || 12 | |
− | | | + | | {{unknown|Unused}} |
+ | | {{unknown|Unused}} | ||
|- | |- | ||
− | + | | 0x36 || 54 || 1 | |
− | | | + | | {{opt|[[Wii Galaxy Colosseum|Galaxy Colosseum]]}} |
+ | | {{opt|[[Wii Galaxy Colosseum|Galaxy Colosseum]]}} | ||
|- | |- | ||
− | + | | 0x37–0x3a || 55–58 || 4 | |
− | | | + | | {{opt|Winning scene<br>Losing scene<br>Luigi Circuit (Credits)<br>Broken losing scene}} |
+ | | {{opt|Winning scene<br>Losing scene<br>Luigi Circuit (Credits)<br>Broken losing scene}} | ||
|- | |- | ||
− | + | | 0x3b–0x3c || 59–60 || 2 | |
− | | {{unknown| | + | | rowspan=2 {{unknown|Unused}} |
− | | | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0x3d–0x41 || 61–65 || 5 | |
− | | {{maybe| | + | | {{maybe|[[LE-DEF#random|Special random selections]]}} |
|- | |- | ||
− | + | | 0x42 || 66 || 1 | |
− | | colspan=3 {{no| | + | | colspan=3 {{no|Reserved}} |
|- | |- | ||
− | + | | 0x43 || 67 || 1 | |
− | | colspan=3 {{no|Online | + | | colspan=3 {{no|Online: ''No track selected yet''}} |
|- | |- | ||
− | + | | 0x44–0xfe || 68–254 || 187 | |
− | + | | {{unknown|Unused}} | |
− | | {{unknown| | ||
| {{maybe|187 custom tracks}} | | {{maybe|187 custom tracks}} | ||
+ | | rowspan=3 {{maybe|4,028 custom tracks}} | ||
|- | |- | ||
− | + | | 0xff || 255 || 1 | |
− | | colspan=2 {{no|Online | + | | colspan=2 {{no|Online: ''Random''}} |
|- | |- | ||
− | + | | 0x100–0xfff || 256–4095 || 3840 | |
− | | colspan=2 rowspan=4 {{na| | + | | colspan=2 rowspan=4 {{na|No support}} |
|- | |- | ||
− | + | | 0x1000–0x7fff || 4096–32767 || 28672 | |
− | | {{unknown| | + | | {{unknown|Unused}} |
|- | |- | ||
− | + | | 0x8000-0xfffe || 32768–65534 || 32767 | |
− | | {{na| | + | | {{na|No support}} |
|- | |- | ||
− | + | | 0xffff || 65535 || 1 | |
− | | {{no|Online | + | | {{no|Online: ''Random''}} |
|} | |} | ||
[[Category:Technical Information]] | [[Category:Technical Information]] | ||
[[Category:LE-CODE]] | [[Category:LE-CODE]] |
Revision as of 13:56, 29 August 2023
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 |