aboutsummaryrefslogtreecommitdiff
path: root/project/text-files
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/text-files/lpar.inc/lpar-sect-debug-docu-cr.inc71
-rw-r--r--project/text-files/lpar.inc/lpar-sect-param-cr.inc23
2 files changed, 68 insertions, 26 deletions
diff --git a/project/text-files/lpar.inc/lpar-sect-debug-docu-cr.inc b/project/text-files/lpar.inc/lpar-sect-debug-docu-cr.inc
index 68dd73d..a454674 100644
--- a/project/text-files/lpar.inc/lpar-sect-debug-docu-cr.inc
+++ b/project/text-files/lpar.inc/lpar-sect-debug-docu-cr.inc
@@ -3,14 +3,13 @@
###############################################################################
[DEBUG-DOCU]
-# This section has no impact!
+# This section is documentation only and has no impact!
# If the general parameter DEBUG (see section [LECODE-PARAMETERS]) is set to
# a value ≥1, then additional information is added below the speed (even if
# speedometer is disabled). The intention is to debug tracks.
-# For DEBUG=1, the output format is defined in this section. Up to %d lines
-# can be defined.
+# 4 debug displays with up to %u lines each can be defined.
#------------------------------------------------------------------------------
@@ -26,41 +25,65 @@
# for the first opponent.
# DEBUG$VERTICAL : Arrange the output vertically for the player.
+# HIDE-SPEEDO = 0 | 1
+# This global command is independent from lines. If set and this configuration
+# becomes active, then hide the speedometer. This helps if many elements are
+# active. Otherwise a smaller font is selected by the system.
+
#------------------------------------------------------------------------------
# LINE = -1 | 0..%d
-# LINE selects a line for the next parameters. Lines are numbered from 0 to %d.
-# If set to -1, then ignore the following settings.
+# Select a line. All following commands until the next LINE command disable or
+# enable the output for the current line. Lines are numbered from 0 to %d. If
+# an invalid index is entered, the following commands are ignored. So set
+# LINE=-1 to disable a complete line.
# ENABLED = 0|1
-# ENABLED defines, if this section becomes active. If set to 0 or if all other
-# parts are disabled, then the debug line is not printed. So you can disable a
-# line without changing the other parameters.
+# ENABLED defines, if the current lines becomes active. If set to 0 or if all
+# other parts are disabled, then the debug line is not printed. So you can
+# disable a line without changing the other parameters.
# OPPONENT = 0|1
-# It is possible to display the data of the current player (0), or of the
-# first opponent (1). The intention is watch onlyine 2 players together.
-# The font color for current player if yellow and for the opponent cyan.
+# Usually the data of the current player is printed (font color yellow). If
+# OPPONENT is enabled, then print the data of the first opponent and use a
+# blue font color as indicator.
# SPACE = 0|1
-# ???
+# Usually the lines are separated by a line terminator (line feed). If SPACE
+# is set, then a space is used instead, so that the previous and the current
+# line are displayed in one visual line.
# POSITION = 0|1
-# If enabled (1), then print the position of the player. Values outside the
-# range ±131071 are highlighted to point to a item position bug. The output
-# format is »P=x,y,z«.
+# Output: P=x,y,z
+# If enabled then print the current position (x, y and z coordinates) of the
+# player. Coordinates outside the range ±131071 (see Item position bug) are
+# highlighted by an orange font, or a white font it the position is fixed by
+# LEX ITEM-POS-FACTOR.
# CHECK-POINT = 0..3
-# If enabled (1,2,3), then print the checpoint info of the player. The output
-# format is either »CK=c« (1), »CK=c,k« (2) or »CK=c,k^m«. »c« is the current
-# check point. »k« is the last relevant key check point. »m« is the highest
-# reached key check point in the current lap. If driving backwards, »k« is
-# decreased, but »m« not.
+# Output: CK=c | CK=c,k | CK=c,k^m
+# If enabled print a check point info. The mode defines how many parts are
+# printed. 'c' is the current check point. 'k' is the last relevant key check
+# point. 'm' is the highest reached key check point in the current lap. If
+# driving backwards, 'k' is decreased, but 'm' not.
# RESPAWN = 0|1
-# If enabled (1), then print the current respawn point as »R=num«.
+# Output: R=r
+# If enabled then print the respawn index defined by the current check point.
+# This information may help to test all respawn points of a track.
# LAP-POS = 0|1
-# If enabled (1), then print the current calculated lap position as a floating
-# point number with 3 fraction digits (1.234). This number is calculated by
-# Mario Kart Wii to compare positions.
+# Output: L=lap
+# Print the current lap position as floating point value with 3 digits. The
+# integer number reflects the current lap number, and the decimal (0.000 to
+# 0.999) the progress within the current lap. This number is calculated by
+# Mario Kart Wii to compare positions. Together with the opponent view it
+# can help to investigate different paths of a track and to place the check
+# points at good positions.
+
+# XPF = 0|1|2
+# Output: X:...
+# If enabled, a short (1) or long (2) information about the usage of extended
+# presence flags is printed, but only if an information is available. The long
+# information is similar to the short one, but with more or extended members.
+# See http://wiki.tockdom.com/wiki/LPAR#XPF for details.
diff --git a/project/text-files/lpar.inc/lpar-sect-param-cr.inc b/project/text-files/lpar.inc/lpar-sect-param-cr.inc
index 0579e4c..ae994eb 100644
--- a/project/text-files/lpar.inc/lpar-sect-param-cr.inc
+++ b/project/text-files/lpar.inc/lpar-sect-param-cr.inc
@@ -20,6 +20,14 @@ LIMIT-MODE = %s
#------------------------------------------------------------------------------
+# LE-CODE supports cheat codes as sequence of D-Pad keys in combination with
+# ALT keys. Here you can define, which type of cheat codes are allowed:
+# 0: Almost all cheat codes are disabled.
+# 1: Only cheat codes without impact to game play are allowed.
+# 2: All cheat codes are allowed. (Not possible if LIMIT-MODE==LE$PRODUCTIVE).
+
+CHEAT-MODE = %d
+
# Define probabilities for engine classes. A list for »100cc,150cc,mirror« is
# expected. If 200cc is enabled, the values are for »150cc,200cc,mirror«. Any
# number is accepted. They are normalized to get a total of 100 percent.
@@ -75,7 +83,18 @@ SPEEDOMETER = SPEEDO$%s
DEBUG = DEBUG$%s
-# Enable (1) or disable (0) built-in item cheats.
+# Enable (1) or disable (0) built-in item cheat.
+
+ITEM-CHEAT = %u
+
+# Allow (1) or forbid (0) players to drag blue shells behind them.
+# LE-CODE default is 1.
+
+DRAG-BLUE-SHELL = %u
+
+# Define the time in frames a player is small after being struck by a
+# thundercloud. Only values between 1 and 32767 (0x7fff) are accepted.
+# MKW uses 612 (10.2s) and LE-CODE default is 300 (5.0s).
-ITEM-CHEATS = %u
+THCLOUD-TIME = %u # %.2fs