Skip to content

Command Line Syntax v2

Gaticus Hax edited this page Sep 5, 2018 · 1 revision
Usage:

    MBINCompiler help
    MBINCompiler version [(-q | --quiet)] [<File>]
    MBINCompiler [convert] [<Option>...] [<Path>...]


Modes:

  help              Show this help info.
  version           Show version info.
  convert           Convert files between MBIN and EXML formats.


General Options:
  -q, --quiet               Do not display any console messages.
                            (Except requested help or version info.)
                            Do not wait for key press.


version [<Option>...] [<File>]

    If no valid <File> is specified, the version for this exe is displayed.
    If <File> is an MBIN, the version that the MBIN was compiled with will be displayed.

    If -q or --quiet is used, a compact version string will be displayed with no decoration.


[convert] [<Option>...] [<Path>...]

    This mode is the default. The convert keyword is optional.
    For each <Path>, convert all files between MBIN and EXML formats.

convert Options:
  -y, --overwrite           Always overwrite files if they already exist.

  -n, --keep                Never overwrite files if they already exist.

  -f, --force               Skip files with errors and continue processing.
                            Do not pause for errors.
                            (Any errors will be written to MBINCompiler.log)

  -d<Directory>, --output-dir=<Directory>
                            Specify the directory where files will be written to.
                            If this option is used, only one input <Path> can be specified.

  -i<Type>, --input-format=<Type>
                            Specify the type of input files to be converted from.
                            <Type> can be either MBIN or EXML.

  -o<Type>, --output-format=<Type>
                            Specify the type of output files to be converted to.
                            <Type> can be either MBIN or EXML.

  --include=<Glob Pattern>[;<Glob Pattern>...]
                            Filter all files to include only those that match the glob patterns. A
                            glob pattern is a filepath with wildcards.The * and ? wildcard
                            characters can be used.
                            Multiple glob patterns are separated by a semicolon.
                            The default is --include="*.MBIN;*.MBIN.PC;*.EXML" (all).
                            The --include filter is applied before --exclude.

  --exclude=<Glob Pattern>[;<Glob Pattern>...]
                            Filter all files to exclude any that match the glob patterns. A glob
                            pattern is a filepath with wildcards.The * and ? wildcard characters
                            can be used.
                            Multiple glob patterns are separated by a semicolon.
                            The default is --exclude="LANGUAGE\*;*.GEOMETRY.*".
                            The --exclude filter is applied after --include.
Clone this wiki locally