THMSG(1) General Commands Manual THMSG(1)

thmsgTouhou dialogue tool

thmsg [-Ve] [[-c | -d] version] [input [output]]

The thmsg utility converts dialogue files from and to a human-readable format. The following commands are available:

thmsg -c version [-e] [input [output]]
Creates a new dialogue file from the input.
thmsg -d version [-e] [input [output]]
Dumps a dialogue file.
thmsg -V
Displays the program version.

The version specifies which dialogue format to use, it is further modified by the presence of the -e option. Running the program without a command will list the supported formats.

The -e option is used to process ending dialogue, and for the mission.msg file in TH125.

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

Create a new dialogue file from the input file:

thmsg -c10 input.txt output.msg

Dump the mission descriptions to standard output:

thmsg -ed125 mission.msg

Project homepage

Invalid data may not be properly handled. Do not dump untrusted dialogue files.

March 16, 2018 thtk-12