diff options
Diffstat (limited to 'project/text-files/lpar.inc')
| -rw-r--r-- | project/text-files/lpar.inc/lpar-head-cr.inc | 13 | ||||
| -rw-r--r-- | project/text-files/lpar.inc/lpar-sect-chat-cr.inc | 56 | ||||
| -rw-r--r-- | project/text-files/lpar.inc/lpar-sect-chat-example-cr.inc | 4 | ||||
| -rw-r--r-- | project/text-files/lpar.inc/lpar-sect-param-cr.inc | 60 |
4 files changed, 133 insertions, 0 deletions
diff --git a/project/text-files/lpar.inc/lpar-head-cr.inc b/project/text-files/lpar.inc/lpar-head-cr.inc new file mode 100644 index 0000000..0b7fa6e --- /dev/null +++ b/project/text-files/lpar.inc/lpar-head-cr.inc @@ -0,0 +1,13 @@ +#LE-LPAR <<< The first 8 characters are the magic for a LE-CODE parameter file. +# <<< Don't remove them! +# +############################################################################### +# +# This LE-CODE parameter file is a textual representation of the LPAR section +# of LE-CODE binary fils with editable parameters. It is defined by Wiimm. +# +# Hint: +# Set one of the options --no-header (-H) or --brief (-B) while decoding +# to suppress this general description. The --brief option will also disable +# info parts in the different sections. +# diff --git a/project/text-files/lpar.inc/lpar-sect-chat-cr.inc b/project/text-files/lpar.inc/lpar-sect-chat-cr.inc new file mode 100644 index 0000000..4685cea --- /dev/null +++ b/project/text-files/lpar.inc/lpar-sect-chat-cr.inc @@ -0,0 +1,56 @@ + +# LE-CODE supports a special feature for chat messages in private rooms. If a +# message is send by the host and at least one guest is present, then some +# messages change the behavior of the game. This section defines the special +# function. + +# The first parameter resets all message to CHAT$OFF (no function). +# The default is value 1. If set to 0, the current map is edited. +@reset = 1 + +# Set the value to 1 if you want to use the old behavior defined for MKW-Fun. +@legacy = 0 + +# And now define the functions for different chat messages. The syntax is: +# +# MESSAGE '=' EXPRESSION1 +# MESSAGE '=' EXPRESSION1 ',' EXPRESSION2 +# +# MESSAGE is the letter 'M' followed by a number between 1 and 96. Examples +# are M1, M02, M96. EXPRESSION is any expression supported by the parser. +# Up to 2 modes (separated by a comma) can be defined for each message. +# Usually the following constants or functions are used: +# +# CHAT$TRACK_BY_HOST : The host selects a tracks and wins the lottery. +# The track selection for guests is disabled. +# CHAT$ANY_TRACK : Cancel CHAT$TRACK_BY_HOST. +# +# CHAT$BLOCK_CLEAR : Clear the used-tracks list. +# CHAT$BLOCK_DISABLE : Disable the block-track functionality. +# CHAT$BLOCK_ENABLE : Enable the block-track functionality. This is the +# default, but have only impact, if BLOCK-TRACK > 0. +# +# CHAT$KARTS_ONLY : Each player must select a kart. +# CHAT$BIKES_ONLY : Each player must select a bike. +# CHAT$ANY_VEHICLE : Cancel vehicle requirement. +# +# CHAT$USE_ENGINE_1 : Select first engine class (100cc or 150cc if 200cc enabled) +# CHAT$USE_ENGINE_2 : Select second engine class (150cc or 200cc if 200cc enabled) +# CHAT$USE_ENGINE_3 : Select third engine class (mirror) +# CHAT$RESET_ENGINE : Cancel engine selection. +# +# chat$n_races(N) : Define the number of races in the next Grand Prix. +# N is a number between 1 and 512 (inclusive). +# +# chat$vehicle(...) : Define a chat modus for a vehicle group. 0 to N values +# are expected as function parameters. Each parameter is +# either from the group VEH$SMALL, VEH$MEDIUM, VEH$LARGE +# and VEH$ANY_SIZE for size selections and/or from the +# group VEH$KART, VEH$BIKE, VEH$ANY_TYPE for type +# selections. VEH$ANY resets the limitations. +~#VEH$OUT_BIKE, VEH$IN_BIKE +# +# CHAT$RESET : Reset all settings to their defaults. +# +# See http://wiki.tockdom.com/wiki/LE-CODE/Distribution_Tutorial#chatmsg +# for more details. diff --git a/project/text-files/lpar.inc/lpar-sect-chat-example-cr.inc b/project/text-files/lpar.inc/lpar-sect-chat-example-cr.inc new file mode 100644 index 0000000..a8af2f4 --- /dev/null +++ b/project/text-files/lpar.inc/lpar-sect-chat-example-cr.inc @@ -0,0 +1,4 @@ +# +# Examples: +# M01 = CHAT$TRACK_BY_HOST +# M96 = chat$n_races(15), CHAT$USE_ENGINE_2 diff --git a/project/text-files/lpar.inc/lpar-sect-param-cr.inc b/project/text-files/lpar.inc/lpar-sect-param-cr.inc new file mode 100644 index 0000000..f01d07c --- /dev/null +++ b/project/text-files/lpar.inc/lpar-sect-param-cr.inc @@ -0,0 +1,60 @@ + +# 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 + +#------------------------------------------------------------------------------ + +# 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 override these settings. + +ENGINE = %u,%u,%u + +# Enable (1) or disable (0) 200cc support. Option --200cc will override 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 override this setting. + +PERF-MONITOR = %u + +# Enable (1) or disable (0) Time Trial for custom tracks. Option --custom-tt +# will override 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 will override 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 + |
