THECL(1) General Commands Manual THECL(1)

theclTouhou enemy control language script tool

thecl [-Vr] [[-c | -h | -d] version] [-m eclmap]... [input [output]]

The thecl utility (de)compiles ecl scripts. The following commands are available:

thecl -c version [-s] [-m eclmap]... [input [output]]
Compiles an enemy script.
thecl -h version [-m eclmap]... [input [output]]
Creates a header file with forward declarations of all subs in input.
thecl -d version [-r] [-m eclmap]... [input [output]]
Dumps an enemy script.
Displays the program version.

These options are accepted:

eclmap
The -m option can be used to map ins_* to human readable names.
The -r option suppresses code transformations like parameter detection, or expression decompilation.
The -s option enables simple creation mode, which doesn't add any instructions automatically.

Replace the version option by the enemy script format version requested. Running the program without a command will list the supported formats.

The thecl utility exits with 0 on success, 1 on error.

Project homepage

Invalid data may not be properly handled. Do not operate on untrusted files.

October 27, 2019 thtk-12