-
Notifications
You must be signed in to change notification settings - Fork 9
Tool: mc.exe
Robert Jordan edited this page Oct 3, 2020
·
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 Compiler
usage: mc [filename]
arguments:
filename file name to convert (forces ".txt" extension)
- 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
mc *
- CatSystem2 Manual: mc
- CatSystem2 Manual: "#" labels
- CatSystem2 Manual: Scene script
- CatSystem2 Toolset: Download
- marcussacana: CatSceneEditor
- Dodder's Closet: Hacking the Grisaia
- List full usage
- List wildcard support
- List different directory support
-
\
path slashes required?