Harry Potter and the Chamber of Secrets PS2 SFN

From XentaxWiki
Jump to: navigation, search

SFN


Format Specifications

// Harry Potter and the Chamber of Secrets (PS2)
// SFN FONT file format



//HEADER
4 bytes - magic word "FNTS"
4 bytes - file size
2 bytes - unknown
2 bytes - number of characters in font
2 bytes - unknown
4 bytes - unknown
2 bytes - unkwnon
4 bytes - header size
4 bytes - palette offset
100 bytes - unknown blob



//CHARACTER TABLE (12 bytes per entry)
num_of_characters *
{
   2 bytes - character 
   2 bytes - unknown
   2 bytes - X position * 2
   2 bytes - Y position
   1 byte - character width
   1 byte - unknown
   1 byte - character height
   1 byte - unknown
}


//PALETTE
4 bytes - number of palette entries
x bytes - palette data // 4 bytes per entry?
4 bytes - unknown word "Buy "


//IMAGE DATA BLOCK
4 bytes - magic word "ERTS"
44 bytes - padding
2 bytes - unknown
2 bytes - unknown
2 bytes - image width * 2
2 bytes - image height
268 bytes - padding
x bytes - image data


MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Compatible Programs

None.