Skip to content

running the program

Paweł Waligóra edited this page Feb 27, 2025 · 7 revisions

Usage

Run program with arguments:

mesh-compiler.exe [file to compile] <format file>
[file to compile] is mandatory, <format file> is optional.

Program can be run with flags:

  • -f <format file> - define path to .format file
  • -d - show debug messages
  • --format, --debug alternative spellings for the above since v2.2.0
  • -v, --version - show version since v1.1.1
  • -h, --help - print help message since v2.2.0
  • -t, --thread - run program on multiple threads (one thread per output file) since v2.4.0

default <format file> is .format

If program was run with no arguments:

mesh-compiler.exe

then > symbol will appear at which point you can enter commands in a same manner as passing arguments when running the program:

for example:
> <file to compile> <path to .format file>

or with flags:
> <file to compile> -d -f <format file>

> q - closes application

.format file

.format files determine the structure of the output file. Meaning what data to extract from input file and in what order / configuration to write that data to output file. See format file syntax for more information about .format files. See also JSON alternative to .format files.

Clone this wiki locally