A script can carry whole files inside its [Fonts] and
[Graphics] sections, encoded as text.
Sections
| Section | First line of each file | Notes |
|---|---|---|
[Fonts] | fontname: name | TrueType only. The name adds _, optional B and I, a character set number and .ttf, as in comic_0.ttf. |
[Graphics] | filename: name | Saved to a Pictures folder. Lookups try the script’s folder first. |
Encoding
Take three bytes as 24 bits, split them into four 6-bit values, add 33 to each and
write those ASCII characters. Lines hold 80 characters. One byte left over is multiplied
by 0x100 and its top 12 bits encoded as two characters; two left over are
multiplied by 0x10000 and the top 18 bits encoded as three. Nothing
marks the end: a file stops at the next section, the next fontname: or
filename: line, or the end of the script.