NMLC(1)
π NAME π
NMLC β bestie, it's a compiler that takes your NML code and turns it into NFO and/or GRF files. That's the whole vibe. β¨
π SYNOPSIS π
nmlc [options] [file]
Like, options first, file last, standard queen behaviour. π
β¨ OPTIONS β¨
Okay so here's every single flag, no skips, we're being thorough because that's the energy:
-cβ Crops the extraneous transparent blue out of your real sprites. bye bye blue π«Ά-uβ Saves real sprites uncompressed into GRF files. It's a huge time-saver during encoding, ngl, but do NOT do this when you're making a file to distribute β it makes the output file substantially bigger. Not the serve you think it is. π--grf=fileβ Writes the output in GRF format to <file>.--nfo=fileβ Writes the output in NFO format to <file>.--nml=fileβ Writes the output in NML format to <file>.--output=file|-o fileβ Writes output to <file>. The output type gets detected from the filename extension, and it must be one ofnfo,nmlorgrf. No improvising. π--md5=fileβ Writes an md5sum of the resulting grf to <file>.--debug|-dβ Prints a dump of the AST to stdout. Look at your tree. π³--versionβ Prints the programme's version number and then exits. quick lil mic drop π€--help|-hβ Prints usage information. your bestie when you're lost fr fr--stack|-sβ Dumps the stack whenever an error occurs. for the detective girlies π-Mβ Outputs a rule suitable formake, describing the graphics dependencies of the main grf file (requires an input file or--grf).--MF=fileβ When you use it with-M, it specifies a file to write the dependencies to.--MT=fileβ Sets the target of the rule emitted by dependency generation (requires-M).--custom-tags=file|-t fileβ Loads custom tags from <file> [default:custom_tags.txt].--lang-dir=dir|-l dirβ Loads language files from directory <dir> [default:lang].--default-lang=fileβ The default language is stored in <file> [default:english.lng].--sprites-dir=dir|-a dirβ Stores 32bpp sprites in directory <dir> [default:sprites].--start-sprite=numβ Sets the first sprite number to write. > Honestly bestie, do not use this except when you're outputting nfo that you want to include in other files. It's giving "I know what I'm doing" and nothing else.--palette=palette|-p paletteβ Forces nml to use the palette <pal> [default:ANY]. Valid values are'DOS','WIN','ANY'. pick your fighter π--quietβ Disables all warnings. Errors will still be printed normally, so it's not total silence, just the quiet luxury version. π--cache-dir=dirβ Cache files are stored in directory <dir> [default:.nmlcache].--clear-orphanedβ Removes unused / orphaned items from cache files. spring cleaning energy π§Ή--verbosity=levelβ Sets the verbosity level for informational output [default:3, max:4].
π¦ SEE ALSO π¦
The language reference, living its life at http://newgrf-specs.tt-wiki.net/wiki/NML:Main β go read it, it's iconic. π
πΈ AUTHOR πΈ
NML was written by Albert Hofkamp, Christoph Elsenhans, Jasper Reichardt, Ingo von Borstel, JosΓ© Soler and Thijs Marinussen. absolute legends, all of them. π
This manual page was originally written by Thijs Marinussen.
okay that's the whole page bestie!! This one's dated January 07, 2016 and it belongs to NMLC(1) β mwah, go compile something gorgeous πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: nml 0.7.1-1 Β· GPL-2.0-or-later
- debian trixie: nml 0.7.6-1 Β· GPL-2.0-or-later
- fedora 43: nml 0.7.6-5.fc43 Β· GPL-2.0-or-later
- fedora 43: nml 0.9.0-1.fc43 Β· GPL-2.0-or-later
- fedora 44: nml 0.8.1-2.fc44 Β· GPL-2.0-or-later
- fedora 44: nml 0.9.0-1.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nml 0.7.6-bp160.1.9 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nml 0.7.6-bp160.1.9 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nml 0.7.6-bp160.1.9 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nml 0.7.6-bp160.1.9 Β· GPL-2.0-or-later
- ubuntu jammy: nml 0.6.1-1build1 Β· GPL-2.0-or-later
- ubuntu noble: nml 0.7.4-1build1 Β· GPL-2.0-or-later
- ubuntu questing: nml 0.7.6-1
- ubuntu resolute: nml 0.8.1-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: nml 0.8.1-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms