Welcome to the Creatures Wiki! Log in and join the community.
Difference between revisions of "CHARSET.DTA"
Jump to navigation
Jump to search
(Figured out file format) |
(Not sure how colors work) |
||
Line 7: | Line 7: | ||
! size !! description | ! size !! description | ||
|- | |- | ||
− | | 72 bytes || Data for a single character - 6 pixels wide, 12 pixels high. | + | | 72 bytes || Data for a single character - 6 pixels wide, 12 pixels high. It's not clear how pixels are mapped to colors. |
|- | |- | ||
| ... || Additional characters (128 total in CHARSET.DTA, 256 total in EuroCharset.dta) | | ... || Additional characters (128 total in CHARSET.DTA, 256 total in EuroCharset.dta) |
Revision as of 21:22, 9 May 2020
CHARSET.DTA is the font used in Creatures 1 and Creatures 2. Creatures 2 additionally has EuroCharset.dta.
The file format is as follows:
size | description |
---|---|
72 bytes | Data for a single character - 6 pixels wide, 12 pixels high. It's not clear how pixels are mapped to colors. |
... | Additional characters (128 total in CHARSET.DTA, 256 total in EuroCharset.dta) |
16-bit integer | Width when rendered of character at this index. Character data is left-aligned. |
... | Additional character widths when rendered |