Overview
Artifact ID: | 48be3c324a35a5ab5dcdcaa9aa1b71b74c6b3cae |
---|---|
Page Name: | Command-line arguments |
Date: | 2018-06-02 02:38:16 |
Original User: | zzo38 |
Parent: | 79bd17d6cc2191c44ff95550a281b252b64f0619 (diff) |
Next | a57edaee7ee0a2dd28024a8ddb1e6ec3bac823a3 |
Content
(This is currently a draft and is subject to being changed.)
The syntax is: heromesh [switches] basename [resources...]
Switches are listed below. You can have more than one switch after a minus sign, if in the same argument.
The basename is the puzzle set name, including path if not in the current directory, but without the extension (there are four files, each with a different extension but the same basename).
Resources are relative to the puzzle set base (not the root node of the resource manager). See .heromeshrc for a list of the possible resources. These override resources in the .heromeshrc file.
Switches
- -c - Only load the .class file and check for errors. In this case, it will not complain if the .xclass and .level and .solution files do not exist.
- -C - Dump all compiled class codes to stdout. This is used mainly for testing.
- -e - Start the level editor, rather than play game.
- -H - Dump the hash table to stdout. This is used mainly for testing.
- -L - Meant for use with -c; lists all tokens it reads from the .class file (including macro expansions), rather than trying to parse it afterward. It does not check for any errors other than those in the lexer and macro preprocessor.
- -T - Undocumented testing mode. This is meant for testing Free Hero Mesh itself
- -x - Execute SQL statements from stdin. For example, you can use this to make a report of the levels or to convert levels from another file format.