SCUMM/Technical Reference/Charset resources

From ScummVM :: Wiki
Jump to navigation Jump to search

Introduction

Character sets define the fonts used by SCUMM to draw text, such as dialogue, on the screen.

V2 charset format

TODO

V3 charset format

TODO

V4 charset format

TODO

V5/V6 charset format

Like all other resources in V5 and later, the charset data is stored in a chunk, in this case a 'CHAR' chunk.

Size Type Description
8 chunk tag CHAR chunk tag
4 int (LE) unknown, looks like a size field (value is slightly less than the chunk size)
2 unknown
15 bytes colour map
1 byte number of bits per pixel
3 unknown
1024 256*quad LE character data offsets

The format is otherwise virtually identical to the V4 format, so look at the previous section for further details.

NUT (V7 & V8) charset format

TODO