Font Database
The game font consists of 100 glyphs, which are tile images that visually represent letters or other symbols. The font codes bear some semblance to the standard ASCII table with a few sections removed and rearranged. The /
glyph was replaced with the symbol for the pound sterling (£) to facilitate displaying the game’s price in the “Foreign Orders” screens.
For each row in the table, an equivalent C character is shown that can produce each glyph on the screen. Most of the printable ones match (the character entered in code is the character that displays), but symbols and custom elements have differences from standard ASCII/CP437 encodings.
The font contains some glyphs that never display in the game simply because the source code contains no printed instances of them. These are %
<
>
and @
. The ;
glyph also makes no appearances in the source code, but it can by typed into a UI function like ReadAndEchoText()
.
The status health bars are also stored here, with each bar comprised of two glyphs (one for the upper half, and one for the lower).
Index | Offset (Bytes) | CP437 Code (Decimal) | Display Glyph | C Character |
---|---|---|---|---|
0 | 0000h | — | Solid Black | '\x16' |
1 | 0028h | — | Solid Black | '\x17' |
2 | 0050h | 24 | ↑ | '\x18' |
3 | 0078h | 25 | ↓ | '\x19' |
4 | 00a0h | — | Solid Black | '\x1a' |
5 | 00c8h | 27 | ← | '\x1b' |
6 | 00f0h | 26 | → | '\x1c' |
7 | 0118h | — | Solid Black | '\x1d' |
8 | 0140h | — | Empty Health Bar, Lower | '\x1e' |
9 | 0168h | — | Empty Health Bar, Upper | '\x1f' |
10 | 0190h | 32 | ' ' | |
11 | 01b8h | 33 | ! | '!' |
12 | 01e0h | 34 | " | '"' |
13 | 0208h | 35 | # | '#' |
14 | 0230h | 36 | $ | '$' |
15 | 0258h | 37 | % | '%' |
16 | 0280h | 38 | & | '&' |
17 | 02a8h | 39 | ' | '\'' |
18 | 02d0h | 40 | ( | '(' |
19 | 02f8h | 41 | ) | ')' |
20 | 0320h | 42 | * | '*' |
21 | 0348h | 43 | + | '+' |
22 | 0370h | 44 | , | ',' |
23 | 0398h | 45 | - | '-' |
24 | 03c0h | 46 | . | '.' |
25 | 03e8h | 156 | £ | '/' |
26 | 0410h | 48 | 0 | '0' |
27 | 0438h | 49 | 1 | '1' |
28 | 0460h | 50 | 2 | '2' |
29 | 0488h | 51 | 3 | '3' |
30 | 04b0h | 52 | 4 | '4' |
31 | 04d8h | 53 | 5 | '5' |
32 | 0500h | 54 | 6 | '6' |
33 | 0528h | 55 | 7 | '7' |
34 | 0550h | 56 | 8 | '8' |
35 | 0578h | 57 | 9 | '9' |
36 | 05a0h | 58 | : | ':' |
37 | 05c8h | 59 | ; | ';' |
38 | 05f0h | 60 | < | '<' |
39 | 0618h | 61 | = | '=' |
40 | 0640h | 62 | > | '>' |
41 | 0668h | 63 | ? | '?' |
42 | 0690h | 64 | @ | '@' |
43 | 06b8h | 65 | A | 'A' |
44 | 06e0h | 66 | B | 'B' |
45 | 0708h | 67 | C | 'C' |
46 | 0730h | 68 | D | 'D' |
47 | 0758h | 69 | E | 'E' |
48 | 0780h | 70 | F | 'F' |
49 | 07a8h | 71 | G | 'G' |
50 | 07d0h | 72 | H | 'H' |
51 | 07f8h | 73 | I | 'I' |
52 | 0820h | 74 | J | 'J' |
53 | 0848h | 75 | K | 'K' |
54 | 0870h | 76 | L | 'L' |
55 | 0898h | 77 | M | 'M' |
56 | 08c0h | 78 | N | 'N' |
57 | 08e8h | 79 | O | 'O' |
58 | 0910h | 80 | P | 'P' |
59 | 0938h | 81 | Q | 'Q' |
60 | 0960h | 82 | R | 'R' |
61 | 0988h | 83 | S | 'S' |
62 | 09b0h | 84 | T | 'T' |
63 | 09d8h | 85 | U | 'U' |
64 | 0a00h | 86 | V | 'V' |
65 | 0a28h | 87 | W | 'W' |
66 | 0a50h | 88 | X | 'X' |
67 | 0a78h | 89 | Y | 'Y' |
68 | 0aa0h | 90 | Z | 'Z' |
69 | 0ac8h | 97 | a | 'a' |
70 | 0af0h | 98 | b | 'b' |
71 | 0b18h | 99 | c | 'c' |
72 | 0b40h | 100 | d | 'd' |
73 | 0b68h | 101 | e | 'e' |
74 | 0b90h | 102 | f | 'f' |
75 | 0bb8h | 103 | g | 'g' |
76 | 0be0h | 104 | h | 'h' |
77 | 0c08h | 105 | i | 'i' |
78 | 0c30h | 106 | j | 'j' |
79 | 0c58h | 107 | k | 'k' |
80 | 0c80h | 108 | l | 'l' |
81 | 0ca8h | 109 | m | 'm' |
82 | 0cd0h | 110 | n | 'n' |
83 | 0cf8h | 111 | o | 'o' |
84 | 0d20h | 112 | p | 'p' |
85 | 0d48h | 113 | q | 'q' |
86 | 0d70h | 114 | r | 'r' |
87 | 0d98h | 115 | s | 's' |
88 | 0dc0h | 116 | t | 't' |
89 | 0de8h | 117 | u | 'u' |
90 | 0e10h | 118 | v | 'v' |
91 | 0e38h | 119 | w | 'w' |
92 | 0e60h | 120 | x | 'x' |
93 | 0e88h | 121 | y | 'y' |
94 | 0eb0h | 122 | z | 'z' |
95 | 0ed8h | — | Filled Health Bar, Upper | '{' |
96 | 0f00h | — | Filled Health Bar, Lower | '|' |
97 | 0f28h | — | Solid Gray | '}' |
98 | 0f50h | — | Solid Gray | '~' |
99 | 0f78h | — | Solid Gray | '\x7f' |