aboutsummaryrefslogtreecommitdiff
path: root/project/text-files
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/text-files/ctcode.inc/ctcode-list-syntax-full-cr.inc12
-rw-r--r--project/text-files/distrib.inc/distrib-tracks-cr.inc25
-rw-r--r--project/text-files/ledis.inc/ledis-ctdef-header-cr.inc30
-rw-r--r--project/text-files/ledis.inc/ledis-ledef-cup-list-cr.inc67
-rw-r--r--project/text-files/ledis.inc/ledis-ledef-header-cr.inc11
-rw-r--r--project/text-files/ledis.inc/ledis-ledef-setup-cr.inc16
-rw-r--r--project/text-files/ledis.inc/ledis-ledef-track-list-cr.inc54
-rw-r--r--project/text-files/ledis.inc/ledis-tool-cr.inc15
8 files changed, 226 insertions, 4 deletions
diff --git a/project/text-files/ctcode.inc/ctcode-list-syntax-full-cr.inc b/project/text-files/ctcode.inc/ctcode-list-syntax-full-cr.inc
index e1e4fb2..34d3158 100644
--- a/project/text-files/ctcode.inc/ctcode-list-syntax-full-cr.inc
+++ b/project/text-files/ctcode.inc/ctcode-list-syntax-full-cr.inc
@@ -7,13 +7,18 @@
#
# * Option: '%' name = value
#
-# Set option NAME to VAULE. The follwing options are supported:
+# Set option NAME to VAULE. The following options are supported:
#
# LE-FLAGS = 0 | 1
# Enable or disable support of LE-FLAGS member. At section start
# it is disabled. If enabled, the Track definition expects an
# additional parameter between 'property_id' and 'file_name'.
#
+# N-STRINGS = 4..255
+# Define the number of strings beginning with string FILE_NAME.
+# Use this setting to allow more than 4 strings without running
+# into a syntax error.
+#
# * Nintendo track mode: 'N' mode
#
# This command can only be used once and only before the first track
@@ -124,6 +129,11 @@
# that tracks with equal identifiers are equal. Empty strings
# and a single "-" means: no identifier available.
#
+# * xname
+# Optional string, tha can be used by e.g. »wlect CREATE XNAMES«
+# or »wlect CREATE XINFO« to create listings with this extended
+# names. This string is supported since v2.29.
+#
# * Hidden track definition:
# 'H' music_id ';' property_id ';' file_name ';' info ';' id
# 'H' music_id ';' property_id ';' le_flags ';' file_name ';' info ';' id
diff --git a/project/text-files/distrib.inc/distrib-tracks-cr.inc b/project/text-files/distrib.inc/distrib-tracks-cr.inc
index 47c0e71..21c6935 100644
--- a/project/text-files/distrib.inc/distrib-tracks-cr.inc
+++ b/project/text-files/distrib.inc/distrib-tracks-cr.inc
@@ -1,9 +1,28 @@
#FF#
+[TRACK-LIST]
#------------------------------------------------------------------------------
-# Track listing of format: SHA1 SLOT NAME
+# Track listing
#------------------------------------------------------------------------------
-# Please edit the slot column. Use »CUP.INDEX« (e.g. »1.2« or »20.4«) for
-# racing tracks and »'A' CUP.INDEX« (e.g. »A1.1« or »A2.5«) for battle arenas.
+# This is the track listing. 2 formats are supported:
+# old: SHA1 CUP NAME
+# new: TYPE FLAGS SHA1 TRACK_SLOT CUP NAME
+#
+# TYPE is either 'vs' or 'bt'. When TYPE is present, then TRACK_SLOT is
+# expected. SHA1 is the SHA1 checksunm of the track.
+# FLAGS information about features:
+# d:is _d file / t:title only / h:hidden / o:original track
+# SHA1 is the sha1 of the track.
+# TRACK_SLOT is a number between 0 and 4095 to define the slot number of the
+# track. If <0 or not a number, the slot is undefined.
+# CUP is of format "cup.index". An optional 'A' can be used as the first
+# character to indicate an arena. However, this indicator is ignored if
+# TYPE is present. Set it to "-" if the cup is unknown.
+# All other characters are read in as the NAME of the track.
+#
+# The new format is compatible with Wiimmfi.de for region limits.
+
+# Please edit the CUP column if missed. Use »CUP.INDEX« (e.g. »1.2« or »20.4«)
+# for racing tracks and »'A' CUP.INDEX« (e.g. »A2.5«) for battle arenas.
diff --git a/project/text-files/ledis.inc/ledis-ctdef-header-cr.inc b/project/text-files/ledis.inc/ledis-ctdef-header-cr.inc
new file mode 100644
index 0000000..98415f0
--- /dev/null
+++ b/project/text-files/ledis.inc/ledis-ctdef-header-cr.inc
@@ -0,0 +1,30 @@
+%s
+
+#------------------------------------------------------------------------------
+#
+# This file was created by »wlect distrib ... CTDEF=...«. It is not guaranteed
+# to correctly represent all features of the distribution. This applies in
+# particular to the slot arrangement. In addition, only the property slots can
+# be defined for the battle arenas.
+#
+# As an alternative, the use of LEDEF= instead of CTDEF= is recommended.
+#
+# Due to some new parameters, this file can only be read with the tools since
+# version 2.28a.
+#
+#------------------------------------------------------------------------------
+
+[RACING-TRACK-LIST]
+
+# Define the maximum number of strings of track definition:
+%%N-STRINGS = 4
+
+# Enable support for LE-CODE flags (0=no, 1=yes):
+%%LE-FLAGS = 1
+
+# Auto insert a Wiimm cup with 4 special random slots (0=no, 1=yes):
+%%WIIMM-CUP = %d
+
+# Standard setup
+N N$SWAP | N$F_WII
+
diff --git a/project/text-files/ledis.inc/ledis-ledef-cup-list-cr.inc b/project/text-files/ledis.inc/ledis-ledef-cup-list-cr.inc
new file mode 100644
index 0000000..233ba62
--- /dev/null
+++ b/project/text-files/ledis.inc/ledis-ledef-cup-list-cr.inc
@@ -0,0 +1,67 @@
+
+#
+################
+ [CUP-LIST]
+################
+
+# It makes no sense not to fill cups with tracks. Therefore, cups are simply
+# filled with tracks in order of definition and new cups are created as
+# needed. This is usually done with the command APPEND. Battle arenas and
+# versus tracks are considered separately and the tracks are assigned
+# accordingly.
+#
+# Battle and versus cup definitions can be done in any order. Only the
+# sequences within battle cups and within versus cups are important.
+#
+# The command NEW-CUP creates a new battle or versus (vs) cup. Any
+# unoccupied places in the current cup remain empty at the moment.
+#
+# At the end, when all commands have been processed, more cups may be added to
+# get an even number of battle cups and of versus cups. Then all cups are
+# filled with arenas and tracks. This happens first with tracks not yet used
+# (if the related option is activated), and then with tracks already used.
+#
+# Hidden tracks can't be added to a cup.
+#
+# Syntax:
+#
+# APPEND track...
+# Add each valid track reference to the current cup of correct type.
+# If a cup is full, create a new before adding the track.
+#
+# NEW-CUP bt|vs [bt|vs]
+# Close the current battle cup (bt) or versus cup (vs). Use both 'bt'
+# and 'vs' to close the cups of both types.
+
+# There are 4 more commands to insert cups at the current position. They are
+# usually used before any other cup definition:
+#
+# STANDARD-BATTLE-CUPS
+# Append 10 tracks (slots 32 to 41) to the correct cup type. Usually
+# all tracks are of type battle.
+#
+# STANDARD-VERSUS-CUPS
+# Append 10 tracks (slots 0 to 31) to the correct cup type. Usually
+# all tracks are of type versus.
+#
+# STANDARD-CUPS
+# Short cut for STANDARD-BATTLE-CUPS and STANDARD-VERSUS-CUPS.
+#
+# MKWFUN-RANDOM-CUP
+# Append 4 random slots (slots 62 to 65, like MKW-Fun, always versus)
+# to the versus cups.
+#
+# If no cup was finally defined, then STANDARD-BATTLE-CUPS and/or
+# STANDARD-VERSUS-CUPS will be executed automatically.
+
+# There are 3 options to add cups at the end. Set it to NO (=0) or YES (=1)
+# at any place in the section:
+#
+# ADD-UNUSED-ARENAS = no/yes
+# ADD-UNUSED-TRACKS = no/yes
+# ADD-UNUSED = no/yes
+# If defined arenas or tracks except hidden tracks were not used in at
+# least one cup, then add cups with references to these missed tracks.
+# CUPS-FOR-MISSED set both other settings in one step.
+#
+
diff --git a/project/text-files/ledis.inc/ledis-ledef-header-cr.inc b/project/text-files/ledis.inc/ledis-ledef-header-cr.inc
new file mode 100644
index 0000000..fd01d60
--- /dev/null
+++ b/project/text-files/ledis.inc/ledis-ledef-header-cr.inc
@@ -0,0 +1,11 @@
+%s
+
+#------------------------------------------------------------------------------
+#
+# This file was created either by command »wlect distrib ... LE-DEF=...« or by
+# command »wlect create LE-DEF«.
+#
+# This file can only be read by the tools since version 2.28a.
+#
+#------------------------------------------------------------------------------
+
diff --git a/project/text-files/ledis.inc/ledis-ledef-setup-cr.inc b/project/text-files/ledis.inc/ledis-ledef-setup-cr.inc
new file mode 100644
index 0000000..4b43c3f
--- /dev/null
+++ b/project/text-files/ledis.inc/ledis-ledef-setup-cr.inc
@@ -0,0 +1,16 @@
+
+#
+#############
+ [SETUP]
+#############
+
+# General setup.
+# With the exception of section [TOOL], this must always be the first section.
+
+#------------------------------------------------------------------------------
+
+# Should the 10 battle arenas (slots 32-41) and 32 versus tracks (slots 0-31)
+# be automatically defined with the original tracks? (0=NO/1=YES):
+ORIG-BATTLE-ARENAS = %s
+ORIG-VERSUS-TRACKS = %s
+
diff --git a/project/text-files/ledis.inc/ledis-ledef-track-list-cr.inc b/project/text-files/ledis.inc/ledis-ledef-track-list-cr.inc
new file mode 100644
index 0000000..f5c82f4
--- /dev/null
+++ b/project/text-files/ledis.inc/ledis-ledef-track-list-cr.inc
@@ -0,0 +1,54 @@
+
+#
+##################
+ [TRACK-LIST]
+##################
+
+# A track definition consists of a basic definition (keyword TRACK) and any
+# number of additional definitions (keywords FILE, IDENT, NAME and XNAME).
+
+# Normally the first free slot intended for the track type is used. The slot
+# for the directly following TRACK definition can be set by the command:
+# SLOT index
+
+# Keyword TRACK introduces a track definition. The syntax is as follows:
+# 'TRACK' VARNAME TYPE PROPERTY MUSIC FLAGS
+#
+# If VARNAME is not '0' then the corresponding variable is assigned the
+# current slot number. Variables are needed for cup references in section
+# [CUP-LIST]. If cups are created exclusively automatically, then the value
+# '0' is a good choice. The exporter uses 'bt' for battle or 'vs' for versus
+# followed by the decimal slot number as variable name.
+#
+# TYPE is either 'vs' (versus) or 'bt' (battle). Both names are defined as
+# constants.
+#
+# PROPERTY is the property slot to use. It is either a number (0-31 for 'vs'
+# or 32-41 for 'bt'), or a symbolic name (like A25, T12 or MMM) of a track.
+#
+# MUSIC is the music-id to use. It is either a property slot number number
+# (0-41) or a music id (117-199) or a symbolic name of a track.
+#
+# FLAGS is either a number or a string. A string is scanned for letters
+# (case insensitive) to build a number:
+# 'N' : LE$F_NEW : Track is marked as "new track".
+# 'H' : LE$F_HEAD : Track is marked as "head of a group".
+# 'G' : LE$F_GROUP : Track is marked as "group member".
+# A track is considered hidden if the group flag (G) is set but the head flag
+# (H) is not.
+
+# The keywords FILE, IDENT, NAME and XNAME define strings for the last defined
+# track. Syntax:
+# KEYWORD "TEXT"
+# The TEXT is assigned to the track. The indention of the exporter is only
+# used for clarity.
+
+# There are 2 more commands to define standard arenas or tracks at the current
+# position. Best is to use these commands at top of the section:
+#
+# STANDARD-BATTLE-ARENAS
+# Define 10 standard battle arenas.
+#
+# STANDARD-VERSUS-TRACKS
+# Define 32 standard versus tracks.
+
diff --git a/project/text-files/ledis.inc/ledis-tool-cr.inc b/project/text-files/ledis.inc/ledis-tool-cr.inc
new file mode 100644
index 0000000..bf8348d
--- /dev/null
+++ b/project/text-files/ledis.inc/ledis-tool-cr.inc
@@ -0,0 +1,15 @@
+
+#
+############
+ [TOOL]
+############
+
+# Information about the tool that created this file.
+# This section is optional. If present, it must be the first section.
+
+TOOL = %s
+SYSTEM = %s
+VERSION = %s
+REVISION = %u
+DATE = %s
+