161
edits
Line 131: | Line 131: | ||
=== NUT (V7 & V8) charset format === | === NUT (V7 & V8) charset format === | ||
Header of NUT file | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
!Size !! Type !! Description | |||
|- | |||
|4 || chunk tag || ANIM chunk tag | |||
|- | |||
|4 || quad LE || size of ANIM chunk (AHDR and number FRME chunks included) | |||
|- | |||
|4 || chunk tag || AHDR chunk tag | |||
|- | |||
|4 || quad LE || size of AHDR chunk (datas until FRME chunk) | |||
|- | |||
|2 || short LE || number of chars | |||
|- | |||
|} | |||
After AHDR chunk there is FRME chunk for per char of number chars: | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
!Size !! Type !! Description | |||
|- | |||
|4 || chunk tag || FRME chunk tag | |||
|- | |||
|4 || quad LE || size of FRME chunk (with whole FOBJ chunk too) | |||
|- | |||
|4 || chunk tag || FOBJ chunk tag | |||
|- | |||
|4 || quad LE || size of FOBJ chunk | |||
|- | |||
|2 || short LE || id of codec (could be 1, 21, 44) | |||
|- | |||
|2 || short LE || X display position of char | |||
|- | |||
|2 || short LE || Y display position of char | |||
|- | |||
|2 || short LE || width of char | |||
|- | |||
|2 || short LE || height of char | |||
|- | |||
|2 || short LE || unknown | |||
|- | |||
|2 || short LE || unknown | |||
|- | |||
|n*width*height of char || byte || font gfx data | |||
|} |
edits