LE-CODE/Controllers & Buttons

From Custom Mario Kart
Jump to navigation Jump to search


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. ALT1 is a not otherwise used. LE-CODE uses ALT2 only in combination with ALT1. So there are no conflicts with other button combinations. Both ALT buttons are used in combination with the D-Pad. If ALT1 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.
Definitions of buttons to enter alternative layers
Controller Description
Wii Wheel Nun­chuk Clas­sic Game­Cube
ALT1 Z Y Y Enter first layer for special input. Usually used together with D-Pad. One usage is to switch debug display and options.
ALT2 B C ZL Z Enter second layer for special input. Only used in combination with ALT1 to avoid conflicts with other buttons.
ALT1+ALT2 +B Z+C Y+ZL Y+Z Enter third layer for special input. It is used together with D-Pad to enable or disable features.
ITEM2 C D-Pad left Z Switch to layer 2 for item selection
ITEM3 B D-Pad right B Switch to layer 3 for item selection

D-Pad Settings

LE-CODE supports cheat (feature) codes. Therefor the player have to press ALT1, ALT2 and D-Pad. Each D-Pad key is stored to a sequence of up to 16 keys. The sequence will be reset on 2 D-Pad up 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 seconds. At the same time symbol Symbol F061.png is viewed behind 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:

D-Pad Cheat Code Categories
Category Code Description
Debug DD… Debug settings. Reminder rule: Debug Debug.
Race RR… Race modifications. Reminder rule: Race Race.
Race RR D… Race modifications for debugging. Reminder rule: Race Race Debug.

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.

D-Pad Cheat Codes
Code Cheat
mode
Category Description
…UU * 2 U one after the other clear the input. Therefore no other code can contain the sequence UU.
RDLU * Debug Code to test the four D-Pad keys and the general functionality. The code has no other impact.
LUL LUL * Settings Unlock all drivers, vehicles and courses of the current profile, but don't touch trophies.

Reminder rule: 2× License UnLock.

RR LL U * Track Enable texture hacks for battle and versus if allowed by distribution. Details
RR LL D * Track Disable texture hacks for battle and versus if allowed by distribution. Details
RR LL L * Track Show status of texture hacks for battle and versus. Details
DD L ≥1 Debug Lock debug settings to prevent accidental changes.
DD R ≥1 Debug Unlock debug settings.
DDD L ≥1 Debug Disable debug screens. Same as DEBUG=DEBUG$OFF.
DDD R ≥1 Debug Enable debug screens. Same as DEBUG=DEBUG$ENABLE. Additional unlock debug settings.
RR DD L ≥2 Race Define the time a player is small after being struck by a thundercloud to 3 seconds.
RR DD D ≥2 Race Define the time a player is small after being struck by a thundercloud to 10.2 seconds (MKW default).
RR DD R ≥2 Race Define the time a player is small after being struck by a thundercloud to 30 seconds (Intermezzo default).
RR DD U ≥2 Race 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.