prevnext   » SZS: Wiimms SZS Tools » wctct: Wiimms CT-CODE Tool » wctct create

wctct create

Read the source files, scan the CT-CODE part and create an output file contolled by the keyword. BRRES, TEX0, CT-CODE and CT-TEXT files are accepted as input. Possible keywords are: CUP1, CRS1, xx-CODE, xx-TEX0, BMG, LIST, REF and FULL, where 'xx' is one of EU, US or JP.

Contents

1.   Syntax

wctct CREATE keyword [source]...

2.   Options

Options
Option Param Description
-d --dest path Define a destination path (directory/file). The destination - means: write to standard output.

The path may contain escape sequences: %Q is replaced by the fully qualified source name. %P and %F are replaced by the source path or by the filename. %N and %E are replaced by source filename without extension or by the source extension. Finally, %T is replaced by the default extension of the destination format.

A '?' direct behind '%' in %E and %T conversions avoid that the same extension is used twice in row.

-D --DEST path Like --dest, but create the directory path automatically.
-E --esc char Define an alternative escape character for destination files. The default is '%'. For Windows batch files it is a good choice to set '-E$'.
-o --overwrite Overwrite already existing files without warning and ignore option --number.
--number If a file already exist, append a number directly before the file extension to make the filename unique. If other numbered files already exist (ignoring case), use the maximal existing index+1. --num is a short cut.
-r --remove-dest Remove already existing files before creating it. If set, --overwrite is ignored. --rm-dest is a short cut.
-u --update Create only files that do not exist. Already existing files are ignored without warning. If set, --overwrite and --remove-dest are ignored.
-p --preserve Preserve file times (atime+mtime) while converting or copying files.
-i --ignore Ignore non existing source files without warning.
--hex Normally and if available, names are printed for music and property slots. If this option is set, hex numbers are printed always.
-H --no-header Suppress the syntax information section in CTC text files.
-B --brief Suppress cross reference comments.
-l --long BMG: Normally, only the track and arena names are exported. The message id (MID) range is 4000-40FF. If set, cup names are exported too as MID 4200-423F. If set twice, cup/track relations are also exported as MID 4300-43FF.
--no-echo Suppress output of @ECHO commands while scanning text files.
-N --no-check Do not make plausibility checks for KCL and KMP files.
--load-bmg file Load the file to fill an internal message pool. The option can be used multiple times to fill the message pool by different sources. A later message overrides the previous message.
--patch-names If set, the names of the CUP1 and CSR1 sections are patched by the loaded BMG files directly after loading the source files.