PLOTSCR.LST

From OHRRPGCE-Wiki
Jump to navigation Jump to search

PLOTSCR.LST contains a list of all the scripts imported into a game, whether they are "plotscript"s, manually numbered, or autonumbered. The order of scripts is arbitrary. It is a fixed-length binary file with record length of 40 bytes. The total number of records is (uselessly) stored in the chaotic and all-inclusive GEN lump. The first two bytes of each record contain the ID number of the script. The next two bytes are the length of the name. The remaining 36 bytes contain the text string of the script's name in Latin-1 ('?' for other characters), lowercased, and with spaces removed. This name is not terminated by anything, and is followed by uninitialized garbage data.

Names and IDs of new-style scripts (e.g. plotscript) are also stored in LOOKUP1.BIN.

Formal Specs[edit]

About Formal Specs

Data Meaning
Records start (40 bytes)
INT ID of script
VSTR (1i+36b) Name of script

See Also[edit]