Skip to content
AzazelN28 edited this page May 29, 2020 · 1 revision

Star Wars: Dark Forces - FNT File format

The .FNT files contains fonts and I usually start examining this type of files because they're usually very easy to read. In this case they aren't an exception.

Well, basically, behind a font file there is usually a small header specifying which glyphs (characters) are in the file and some other properties like glyph spacing, line spacing, etc.

.FNT Header

Range Size Value Description
0x00-0x03 4 FNT\x15 File signature
0x04 1 ? Glyph height
0x05 1 ? Glyph spacing (width of the space)
0x06 1 ? X spacing (space between glyphs)
0x07 1 ? Y spacing (space between lines)
0x08 1 ? Range start (first character in this file)
0x09 1 ? Range end (last character in this file)

.FNT Glyph

Range Size Value Description
0x01 1 ? Glyph width
... ... ? Glyph bitmap
Clone this wiki locally