Command line interface

ReachVariantTool can be run from the command line, with commands like these:

ReachVariantTool /?
ReachVariantTool --help
ReachVariantTool --headless path/to/variant --recompile path/to/megalo
ReachVariantTool --headless path/to/variant --recompile path/to/megalo --dst path/to/output

The --help or /? command displays a list of available commands.

The --headless runs RVT without its GUI, loading a game variant as input. The --recompile operation allows you to load script source code from a file, try to compile it into the target variant, and then re-save it. If you specify --dst, then the recompiled variant will be saved to that destination (if compilation succeeds); otherwise, the original file is replaced.