Difference between revisions of "CT-CODE"

From Custom Mario Kart
Jump to navigation Jump to search
m (Edit she>the)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
 +
'''CT-CODE''' (or '''CT-Code'''; an abbreviation of ''Custom Track Code'') is an extension of [[Mario Kart Wii]]. It was developed by [[MrBean35000vr]] and [[Chadderz]] for [[CTGP Revolution]]. The name ''CT-CODE'' was created by [[Wiimm]], when he implemented CT-CODE support in his [[SZS Tools]].
  
CT-CODE (or CT-Code; an abbreviation of ''Custom Track Code'') is an extension of Mario Kart Wii. CT-CODE was developed by [[MrBean35000vr]] and [[Chadderz]] for their [[CTGP Revolution]]. The name ''CT-CODE'' was created by [[Wiimm]], when he implemented CT-CODE support in his [[SZS Tools]].
+
The main purpose is to allow more than 32 tracks into one [[distribution]]. Due to network protocol limits (1 byte for the track selection), the total number of slots is 256. Subtracting a few special slots and the 32 original tracks, there is space for 221 [[custom track]]s. It is recommended to use a multiple of eight custom tracks because of the cup layout, where it has two cups in each column and four tracks in each cup. Most [[custom track distribution]]s with CT-CODE support have 216 custom tracks along with the 32 original tracks (248 racing tracks total).
 
 
The main purpose is to allow more than 32 racing tracks in one [[distribution]]. Because of network protocol limits (1 byte for track selection), the total number of slots is 256. Subtracting a few special slots and 32 original VS tracks, there is space for 221 custom tracks. Because of the Cup layout with 2 cups in each column and 4 tracks in each cup, a multiple of 8 custom tracks is a good choice. So most [[Custom Track Distribution]]s with CT-Code support have 216 custom tracks besides the 32 original tracks (248 racing tracks total).
 
  
 
== Wiimms SZS Tools ==
 
== Wiimms SZS Tools ==
 
+
The tool '''wctct''' of Wiimms SZS Tools uses slots 0x00–0x1f, 0x2a–0x35, 0x3b–0x41, and 0x44–0xfe by default to distribute the custom tracks over the slot system. Option <tt>'''--allow-slots=keywords'''</tt> can modify the default setting:
=== Slot Selection ===
 
 
 
Tool '''wctct''' of [[Wiimms SZS Tools]] uses slots 0x00–0x1f, 0x2a–0x35, 0x3b–0x41 and 0x44–0xfe by default to distribute the custom tracks over the slot system. Option <tt>'''--allow-slots=keywords'''</tt> can modify the default setting:
 
 
; TRACKS: Enable 32 slots 0x00–0x1f for custom tracks and overwrite original custom track slots. This is the default.
 
; TRACKS: Enable 32 slots 0x00–0x1f for custom tracks and overwrite original custom track slots. This is the default.
 
; ARENAS: Enable 10 slots 0x20–0x29 for custom tracks and overwrite original battle arena slots.
 
; ARENAS: Enable 10 slots 0x20–0x29 for custom tracks and overwrite original battle arena slots.
Line 15: Line 11:
 
; CTCODE: CTCODE is available since v2.00 of the tools and is an abbreviation for TRACKS,ARENAS,SPECIAL. It enables all custom track slots mentions above.
 
; CTCODE: CTCODE is available since v2.00 of the tools and is an abbreviation for TRACKS,ARENAS,SPECIAL. It enables all custom track slots mentions above.
  
The keywords can be combined as comma-separated list. The most usual usage is: <tt>'''--allow-slots CTCODE'''</tt> since v2.00, or <tt>'''--allow-slots ARENAS,SPECIAL'''</tt> before v2.00.
+
The keywords can be combined as comma-separated list. The most common usage is: <tt>'''--allow-slots CTCODE'''</tt> since v2.00, or <tt>'''--allow-slots ARENAS,SPECIAL'''</tt> before v2.00.
  
[[category:Software]]
+
[[Category:Software]]

Latest revision as of 21:01, 30 May 2021

Overview

CT-CODE (or CT-Code; an abbreviation of Custom Track Code) is an extension of Mario Kart Wii. It was developed by MrBean35000vr and Chadderz for CTGP Revolution. The name CT-CODE was created by Wiimm, when he implemented CT-CODE support in his SZS Tools.

The main purpose is to allow more than 32 tracks into one distribution. Due to network protocol limits (1 byte for the track selection), the total number of slots is 256. Subtracting a few special slots and the 32 original tracks, there is space for 221 custom tracks. It is recommended to use a multiple of eight custom tracks because of the cup layout, where it has two cups in each column and four tracks in each cup. Most custom track distributions with CT-CODE support have 216 custom tracks along with the 32 original tracks (248 racing tracks total).

Wiimms SZS Tools

The tool wctct of Wiimms SZS Tools uses slots 0x00–0x1f, 0x2a–0x35, 0x3b–0x41, and 0x44–0xfe by default to distribute the custom tracks over the slot system. Option --allow-slots=keywords can modify the default setting:

TRACKS
Enable 32 slots 0x00–0x1f for custom tracks and overwrite original custom track slots. This is the default.
ARENAS
Enable 10 slots 0x20–0x29 for custom tracks and overwrite original battle arena slots.
SPECIAL
Enable 5 slots 0x36–0x3a for custom tracks and overwrite the special slots.
CTCODE
CTCODE is available since v2.00 of the tools and is an abbreviation for TRACKS,ARENAS,SPECIAL. It enables all custom track slots mentions above.

The keywords can be combined as comma-separated list. The most common usage is: --allow-slots CTCODE since v2.00, or --allow-slots ARENAS,SPECIAL before v2.00.