-
Notifications
You must be signed in to change notification settings - Fork 9
Tool: mc.exe
Robert Jordan edited this page Dec 2, 2021
·
10 revisions
The command line tool mc is used to compile CST Scene (.cst
) scripts. It is available in many of the publicly released CatSystem2 toolsets.
Requires Japanese Locale and Shift JIS text files when non-ASCII characters are present
CatSystem 2 Message (scene script) compiler
usage: mc [/u] [[/x] [/l] [/d]] [file] [file] ...
arguments:
file file name(s) to convert (forces ".txt" extension)
/u update only (don't rewrite unchanged scene files)
debug arguments:
/x no compression
/l add source filename and line numbers
/d unused?
- mc does not output files based on the input file name, but instead based on the "#" labels present in a given script file. Forgetting to include or change the "#" label is a common mistake.
- mc outputs files using the input file's label names and
.cst
extension. - mc supports C/C++-like include statements at the top of script files, with no quotes around the filename.
- mc implicitly includes
¯o.txt
if found in the same directory. Macros are functions or statements prefixed with%
, and behave similar to C/C++. It's untested whether macros can be defined elsewhere, or if¯o.txt
is parsed with special behavior. mc expands (compiles away) macros, so they are never encountered in.cst
files.- In the mc assembly, the name
¯o.sts
is observed, but its usage is unknown.
- In the mc assembly, the name
mc op
or
mc op.txt
mc *
or
mc *.txt
- CatSystem2 Manual: mc
- CatSystem2 Manual: "#" labels
- CatSystem2 Manual: Scene script
- CatSystem2 Toolset: Download
- marcussacana: CatSceneEditor
- Dodder's Closet: Hacking the Grisaia
- List different directory support
-
\
path slashes required?