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).

IndexOffset (Bytes)CP437 Code (Decimal)Display GlyphC Character
00000hSolid Black
'\x16'
10028hSolid Black
'\x17'
20050h24
'\x18'
30078h25
'\x19'
400a0hSolid Black
'\x1a'
500c8h27
'\x1b'
600f0h26
'\x1c'
70118hSolid Black
'\x1d'
80140hEmpty Health Bar, Lower
'\x1e'
90168hEmpty Health Bar, Upper
'\x1f'
100190h32
 
' '
1101b8h33
!
'!'
1201e0h34
"
'"'
130208h35
#
'#'
140230h36
$
'$'
150258h37
%
'%'
160280h38
&
'&'
1702a8h39
'
'\''
1802d0h40
(
'('
1902f8h41
)
')'
200320h42
*
'*'
210348h43
+
'+'
220370h44
,
','
230398h45
-
'-'
2403c0h46
.
'.'
2503e8h156
£
'/'
260410h48
0
'0'
270438h49
1
'1'
280460h50
2
'2'
290488h51
3
'3'
3004b0h52
4
'4'
3104d8h53
5
'5'
320500h54
6
'6'
330528h55
7
'7'
340550h56
8
'8'
350578h57
9
'9'
3605a0h58
:
':'
3705c8h59
;
';'
3805f0h60
<
'<'
390618h61
=
'='
400640h62
>
'>'
410668h63
?
'?'
420690h64
@
'@'
4306b8h65
A
'A'
4406e0h66
B
'B'
450708h67
C
'C'
460730h68
D
'D'
470758h69
E
'E'
480780h70
F
'F'
4907a8h71
G
'G'
5007d0h72
H
'H'
5107f8h73
I
'I'
520820h74
J
'J'
530848h75
K
'K'
540870h76
L
'L'
550898h77
M
'M'
5608c0h78
N
'N'
5708e8h79
O
'O'
580910h80
P
'P'
590938h81
Q
'Q'
600960h82
R
'R'
610988h83
S
'S'
6209b0h84
T
'T'
6309d8h85
U
'U'
640a00h86
V
'V'
650a28h87
W
'W'
660a50h88
X
'X'
670a78h89
Y
'Y'
680aa0h90
Z
'Z'
690ac8h97
a
'a'
700af0h98
b
'b'
710b18h99
c
'c'
720b40h100
d
'd'
730b68h101
e
'e'
740b90h102
f
'f'
750bb8h103
g
'g'
760be0h104
h
'h'
770c08h105
i
'i'
780c30h106
j
'j'
790c58h107
k
'k'
800c80h108
l
'l'
810ca8h109
m
'm'
820cd0h110
n
'n'
830cf8h111
o
'o'
840d20h112
p
'p'
850d48h113
q
'q'
860d70h114
r
'r'
870d98h115
s
's'
880dc0h116
t
't'
890de8h117
u
'u'
900e10h118
v
'v'
910e38h119
w
'w'
920e60h120
x
'x'
930e88h121
y
'y'
940eb0h122
z
'z'
950ed8hFilled Health Bar, Upper
'{'
960f00hFilled Health Bar, Lower
'|'
970f28hSolid Gray
'}'
980f50hSolid Gray
'~'
990f78hSolid Gray
'\x7f'