LE-CODE/Controllers & Buttons
- LE-CODE & related file formats
- LE-CODE: General description
- LE-CODE: History
- LE-CODE: FAQ for track creators
- LE-CODE: Distribution Tutorial
- LE-CODE: Definition file for distributions
- LE-CODE: FAQ for distribution creators
- LE-CODE: Item Cheat
- LE-CODE: Controllers & Buttons
- LE-CODE: Slot usage
- LE-CODE: Exception Handler
- LPAR: File format for parameters
- LEX: File format and definitions
- LTA: LE-CODE Track Archive
- LFL: LE-CODE File List
- Wiimm's Test Tracks
- Extended presence flags
- Related Categories
Introduction
LE-CODE supports additional input options compared to standard Mario Kart Wii, which are used for Item Cheats and D-Pad settings, among other things. Various buttons and button combinations on the controllers are used for this purpose.
See »Controller« for a general overview.
Buttons
LE-CODE uses different buttons for additional input. They can be divided into 2 groups:
- Special alternative buttons (ALT*) enter a new a new layer for other buttons to enabled special modes and activities. is a not otherwise used. LE-CODE uses only in combination with . So there are no conflicts with other button combinations. Both ALT buttons are used in combination with the . If is pressed, the item cheat buttons are deactivated.
- 2 buttons are reserved for the second and third layer of the Item Cheat. The base Wii Wheel is still not supported due to a lack of available buttons to use.
Controller | Description | ||||
---|---|---|---|---|---|
Wii Wheel | Nunchuk | Classic | GameCube | ||
ALT1 | Enter first layer for special input. Usually used together with | . One usage is to switch debug display and options.||||
ALT2 | Enter second layer for special input. Only used in combination with | to avoid conflicts with other buttons.||||
ALT1+ALT2 | + | + | + | + | Enter third layer for special input. It is used together with | to enable or disable features.
ITEM2 | — | Switch to layer 2 for item selection | |||
ITEM3 | — | Switch to layer 3 for item selection |
D-Pad Settings
LE-CODE supports cheat (feature) codes. Therefore the player have to press , and . Each is stored to a sequence of up to 16 keys. The sequence will be reset on 2 in a row or after 2 seconds inactivity. While entering the sequence, it is displayed instead of the speedometer. If a cheat code was activated, the game sound plays with doubled speed for 2.5 to 5 seconds. At the same time a message appears in the place of the speedometer.
The following table shows implemented and planned cheat codes. The coding will certainly be changed several times until we have a stable collection of cheat codes. The goal is to build a logical structure with lots of short codes so that they are easy to remember.
The first tables shows initial code sequences for the different categories:
Category | Code | Description |
---|---|---|
Debug | Debug settings. Reminder rule: | ebug ebug.|
Status | View a status. Reminder rule: | ook ook.|
Status | View a status for debugging. Reminder rule: | ook ook ebug.|
Race | Race modifications. Reminder rule: | ace ace.|
Race | Race modifications for debugging. Reminder rule: | ace ace ebug.|
— | Code sequences can't begin with an | for technical reasons.
The second table shows all D-Pad Cheat Codes (implemented or planed) in detail. Some cheat codes can only be used if the CHEAT-MODE parameter is set accordingly: 0: Almost all cheat codes are disabled. 1: Only cheat codes without impact to game play are allowed. 2: All cheat codes are allowed.
Code | Cheat mode |
Category | as of build |
Description |
---|---|---|---|---|
* | — | b30 | 2 | one after the other clear the input. Therefore no other code can contain the sequence .|
* | Debug | b30 | Code to test the four | keys and the general functionality. The code has no other impact.|
* | Status | b40 | Show LE-CODE version including UTC time of last commit. | |
* | Settings | b30 | Unlock all drivers, vehicles and courses of the current profile, but don't touch trophies.
Reminder rule: 2× icense n ock. | |
* | Status | b38 | View status of the current track (track id, property, music, le-flags) and current online time limit. | |
* | Status | b41 | View information about the current cup icon image. Format: Image width*height ">" original width*height, "wd:" LPAR width ">" active width. | |
* | Status | b38 | View current and optional applied online time limit. Details | |
* | Status/Debug | b38 | View developer settings. The message is either off or the output of the 3 LPAR and the 4 LEX:DEV1 developer modes. | |
* | Status/Debug | b38 | View information about the current worldwide status. | |
* | Status/Debug | b40 | View information about LEX:RITP. | |
* | Status/Debug | b40 | View the slots found in LTA files. It is displayed as a-b/c-d/.... Then , slot=2chars is appended to display the selected slot and the source locations of the track (first character) and the common files (second character). The characters are »L« for LTA, »S« for SZS track file, »C« for common directory and »−« for not available. Lowercase letters indicate the use of the _d variant. | |
* | Track | b34 | Enable texture hacks for battle and versus if allowed by distribution. Details | |
* | Track | b34 | Disable texture hacks for battle and versus if allowed by distribution. Details | |
* | Track | b34 | Show status of texture hacks for battle and versus. Details | |
≥1 | Race | b35 | Limit the next racing tracks to 1 lap if playing offline. | |
≥1 | Race | b35 | Cancel the limit to 1 lap for offline races. | |
≥1 | Debug | b30 | Lock debug settings to prevent accidental changes. | |
≥1 | Debug | b30 | Unlock debug settings. | |
≥1 | Debug | b30 | Disable debug screens. Same as DEBUG=DEBUG$OFF. | |
≥1 | Debug | b30 | Enable debug screens. Same as DEBUG=DEBUG$ENABLE. Additional unlock debug settings. | |
≥2 | Race/Debug | b30 | Define the time a player is small after being struck by a thundercloud to 3 seconds. | |
≥2 | Race/Debug | b30 | Define the time a player is small after being struck by a thundercloud to 10.2 seconds (MKW default). | |
≥2 | Race/Debug | b30 | Define the time a player is small after being struck by a thundercloud to 30 seconds (Intermezzo default). | |
≥2 | Race/Debug | b30 | Reset the time a player is small after being struck by a thundercloud to distribution default (LPAR THCLOUD-TIME). | |
— | ≥2 | Race | ? | Terminate current race. |
— | ≥2 | Race | ? | Increment/decrement number of total laps. |