1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
# This section defines general LE-CODE parameters. The corresponding options
# have a higher priority. Remove or comment-out a parameter if its value
# should not be changed. All values will be limited to the allowed ranges.
#------------------------------------------------------------------------------
# First we define a limitation mode. This mode defines the allowed values for
# the other parameters of this section:
#
# LE$PRODUCTIVE : Exclude test and experimental values.
# LE$TESTING : Allow test values, but exclude experimental values.
# LE$EXPERIMENTAL : Allow all values.
# LE$AUTOMATIC : Enable automatic detection by analyzing all values.
#
# Values set by an option are never limited. See parameter descriptions for
# limitation details.
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.
# Use »0,1,0« to force 150cc. Use »0,0,0« to reset to Nintendo's VR based
# choice. Option --engine will overrides these settings.
ENGINE = %u,%u,%u
# Enable (1) or disable (0) 200cc support. Option --200cc will overrides this
# setting. LE-CODE hasn't implemented this feature yet!
ENABLE-200CC = %u
# Enable (1) or disable (0) the performance monitor at Wii and Wii U. Enabling
# is only possible if LIMIT-MODE is LE$TESTING or LE$EXPERIMENTAL. The special
# value 2 enables it for Dolphin too, but only on LE$EXPERIMENTAL. It doesn't
# work correctly with Dolphin. Option --perf-mon will overrides this setting.
PERF-MONITOR = %u
# Enable (1) or disable (0) Time Trial for custom tracks. Option --custom-tt
# will overrides this setting.
CUSTOM-TT = %u
# Enable (1) or disable (0) support for Extended Presence Flags. Disable it
# only for tests! If LIMIT-MODE==LE$PRODUCTIVE, XPFLAGS is always enabled.
# Option --xpflags overrides this setting.
XPFLAGS = %u
# Define the number of races that a previously used track is blocked. LE-CODE
# will try to find another possible track among the selected tracks. Values
# between 0 (deactivated at all) and %u are allowed. Chat messages can clear
# the track list and enable or disable this feature.
BLOCK-TRACK = %u
# Enables (SPEEDO$0 .. SPPEDO$3) or disables (SPEEDO$OFF) the speedometer.
# If enabled, the speedometer is displayed at bottom right of the screen
# using format »123.123 km/h«. The digit behind SPEEDO$ defines the number
# of fraction digits.
# Option --speedometer overrides this setting.
SPEEDOMETER = SPEEDO$%s
# Define a debug mode. Debug output is displayed below the speedometer. It is
# defined by sections [DEBUG-*]. This parameter defines the general behaviour.
# Possible values are DEBUG$OFF, DEBUG$ENABLED and DEBUG$1 to DEBUG$4.
# DEBUG$OFF disables the debug output at all. All other values enable debug
# output and define the start configuration.
# Option --debug overrides this setting.
DEBUG = DEBUG$%s
# 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).
THCLOUD-TIME = %u # %.2fs
# Since build 36, LE-CODE supports worldwide matches. Here you can disable (0)
# or enable (1) it for battle or versus. The online "worldwide" button is
# disabled, if both settings are disabled.
BT-WORLDWIDE = %s
VS-WORLDWIDE = %s
# Since build 34, LE-CODE supports texture hacks for original Nintendo tracks
# and arenas. This new feature can be disabled by value LE$DISABLE (default)
# or enabled by value LE$ENABLE. Additonally you can append »|LE$ALTERABLE«
# to allow the user to enable or disable this feature by controller cheat
# codes. Append »|LE$EXCLUDE« to exclude the original track from the random
# selection.
BT-TEXTURES = %s
VS-TEXTURES = %s
# Disable (0) or enable (1) the blocking of recent texture hacks. If disabled
# all online players select always the same texture variant. If enabled, then
# a texture variant will be blocked for the next 3 races. However, this has
# the disadvantage that players with different pasts may select different
# variants. But this should go away after a few races.
BLOCK-TEXTURES = %u
# LE-CODE usually (0) overwrites the table that determines the distribution of
# points in private races. Nintendo has defined values between 0 and 15 in
# StaticR.rel, LE-CODE defines values between 1 and 25. If this parameter is
# set to 1, then the values are read from StaticR.rel.
STATICR-POINTS = %u
# If playing online, the racing time is limited. The original MKW uses 5:00
# and LE-CODE & CTGP use 5:40. With the next parameter this time can be
# changed between %us%s and %us%s. If the time is >%u%s, then
# the related watchdog (countdown + race_time + scoreboards) is disabled.
DEF-ONLINE-SEC = %3u%s
# A racing track can request a different online limit by LEX setting
# SET1:APPLY-ONLINE-SEC. The following 2 parameters limit the actually used
# value. If either of them is zero, then SET1:APPLY-ONLINE-SEC is ignored.
MIN-ONLINE-SEC = %3u%s
MAX-ONLINE-SEC = %3u%s
# At the moment, LE-CODE cannot find out whether a directory exists in the
# file system. However, this is important for optimization when loading the
# common files. If USE-AVAIL-TXT is set to 1, then LE-CODE looks for file
# "Race/Common/###/avail.txt" to check the existence of the directory. If the
# value is 0, the optimization is deactivated. Command "wszst xcommon" of the
# current SZS tools creates this file. Therefore, the value should only be set
# to 1 if file "avail.txt" was also created.
USE-AVAIL-TXT = %u
#------------------------------------------------------------------------------
# The following setting is for LE-CODE developers only.
# If >0, then experimental settings in other sections are accepted.
DEVELOPER-MODES = %d
# Three developer modes. The meaning changes regularly. The modes are
# recognized only if setting DEVELOPER-MODES is set to a value >0.
DEV-MODE1 = %u
DEV-MODE2 = %u
DEV-MODE3 = %u
|