SCUMM/Technical Reference/Charset resources

From ScummVM :: Wiki
< SCUMM‎ | Technical Reference
Revision as of 15:01, 26 May 2005 by Fingolfin (talk | contribs) (Initial SCUMM charset page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. The header looks as follows:

Size Type Description
8 chunk tag CHAR chunk tag
6 unknown
15 bytes colour map
1 byte number of bits per pixel
3 unknown
1024 256*quad LE character data offsets

NUT (V7 & V8) charset format

TODO