.TH INFORM "1" "2008-04-27" "Inform v6.31" "Inform v6.31 - interactive fiction story file compiler" .SH NAME inform \- compile Inform interactive fiction story files to Z-machine bytecode .SH SYNOPSIS .BI "inform " "[options...] infile [outfile]" .SH DESCRIPTION \fBinform\fP compiles an Inform version 6 story file (usually with the extension \fB.inf\fP) into Z-machine bytecode which can then be executed by a variety of Z-machine emulators. If the output filename is not explicitly given on the command line, it will be constructed from the input filename. .PP \fBinform\fP's mode of operation can be controlled with switches (one- or two-character expressions preceded by a dash), path modifiers (starting with a plus sign) and memory strategy modifiers (starting with a dollar sign). .SS SWITCHES .TP .B -a trace assembly-language (without hex dumps; see \fB-t\fP) .TP .B -c more concise error messages .TP .B -d contract double spaces after full stops in text .TP .B -d2 contract double spaces after exclamation and question marks, too .TP .B -e economy mode (slower): make use of declared abbreviations .TP .B -f frequencies mode: show how useful abbreviations are .TP .B -g traces calls to functions (except in the library) .TP .B -g2 traces calls to all functions .TP .B -h, -h1, -h2 print usage information .TP .B -i ignore default switches set within the file .TP .B -j list objects as constructed .TP .B -k output Infix debugging information to "gameinfo.dbg" (and switch \fB-D\fP on) .TP .B -l list every statement run through Inform .TP .B -m say how much memory has been allocated .TP .B -n print numbers of properties, attributes and actions .TP .B -o print offset addresses .TP .B -p give percentage breakdown of story file .TP .B -q keep quiet about obsolete usages .TP .B -r record all the text to "gametext.txt" .TP .B -s give statistics .TP .B -t trace assembly-language (with full hex dumps; see \fB-a\fP) .TP .B -u work out most useful abbreviations (very very slowly) .TP .B -v\fIn\fP compile to a specific Z-code version; the default is 5. Available versions are: .RS .TP .B 3 version-3 ("Standard") story file .TP .B 4 version-4 ("Plus") story file .TP .B 5 version-5 ("Advanced") story file .TP .B 6 version-6 (graphical) story file .TP .B 8 version-8 (expanded "Advanced") story file .RE .TP .B -w disable warning messages .TP .B -x print # for every 100 lines compiled .TP .B -y trace linking system .TP .B -z print memory map of the Z-machine .TP .B -B use big memory model (for large version-6/version-7 files) .TP .B -C\fIn\fP select text character set (defaults to 1): .RS .TP .B 0 plain ASCII only .TP .B 1 ISO 8859-1 (Latin1) .TP .B 2 ISO 8859-2 (Latin2) .TP .B 3 ISO 8859-3 (Latin3) .TP .B 4 ISO 8859-4 (Latin4) .TP .B 5 ISO 8859-5 (Cyrillic) .TP .B 6 ISO 8859-6 (Arabic) .TP .B 7 ISO 8859-7 (Greek) .TP .B 8 ISO 8859-8 (Hebrew) .TP .B 9 ISO 8859-9 (Latin5) .RE .TP .B -D insert "Constant DEBUG;" automatically .TP .B -E\fIn\fP select error message style (default is Archimedes): .RS .TP .B 0 Archimedes-style error messages .TP .B 1 Microsoft-style error messages .TP .B 2 Macintosh MPW-style error messages .RE .TP .B -F1 use temporary files to reduce memory consumption .TP .B -G compile a Glulx game file .TP .B -H use Huffman encoding to compress Glulx strings .TP .B -M compile as a Module for future linking .TP .B -S compile strict error-checking at run-time (on by default) .TP .B -U insert "Constant USE_MODULES;" automatically .TP .B -W\fIn\fP header extension table is at least n words (n = 3 to 99) .TP .B -X compile with INFIX debugging facilities present .SS PATH MODIFIERS .TP .BI + dir set \fBInclude_Path\fP to this directory .TP .BI +PATH= dir change \fBPATH\fP to this directory .SS MEMORY STRATEGY MODIFIERS Note: it may be necessary to quote these parameters to prevent your shell from expanding them. .TP .B $small adjust memory settings to a small game .TP .B $large adjust memory settings to a large game .TP .B $huge adjust memory settings to a huge game (default) .TP .B $list list current memory allocation settings .TP .BI $? parameter explain memory setting \fIparameter\fP (see \fB$list\fP for available parameters) .TP .BI $ parameter = value manually set \fIparameter\fP .SH SEE ALSO .IR zcode-interpreter (6) and the manuals and language reference in the \fBinform-docs\fP package, which can also be found online at .RI < http://www.inform-fiction.org/inform6.html >. .SH AUTHOR This manpage was written by Jan Nordholz for the Debian distribution.