Scroll to navigation

NMLC(1) General Commands Manual NMLC(1)

NAME

NMLC
A compiler from NML code to NFO and/or GRF files.

SYNOPSIS

nmlc [
options
] [
file
]

OPTIONS

Crop extraneous transparent blue from real sprites.
Save real sprites uncompressed to GRF files. This saves a lot of time during encoding but it's not recommended when creating a file for distribution since it makes the output file substantially bigger.
=file
Write output in GRF format to <file>.
=file
Write output in NFO format to <file>.
=file
Write output in NML format to <file>.
=file | file
Write output to <file>. The output type is detected from the extension of the filename. It must be one of nfo, nml or grf.
=file
Write an md5sum of the resulting grf to <file>.
|
Print a dump of the AST to stdout.
|
Print usage information.
|
Dump stack when an error occurs
=file | file
Load custom tags from <file> [default: custom_tags.txt]
=dir | dir
Load language files from directory <dir> [default: lang]
=file
The default language is stored in <file> [default: english.lng]
=dir | dir
Store 32bpp sprites in directory <dir> [default: sprites]
=file
Set the first sprite number to write (do not use except when you output nfo that you want to include in other files).
=palette | palette
Force nml to use the palette <pal> [default: ANY]. Valid values are 'DOS', 'WIN', 'ANY'.

SEE ALSO

The language reference at http://hg.openttdcoop.org/nml/raw-file/tip/docs/index.html

AUTHOR

NML was written by Albert Hofkamp, Christoph Elsenhans, Jasper Reichardt, Ingo von Borstel, José Soler and Thijs Marinussen.
This manual page was written by Thijs Marinussen.
May 10, 2014