EA SFN Font: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(One intermediate revision by the same user not shown)
Line 64: Line 64:
List of games using this format:
List of games using this format:
* Def Jam: Fight for NY (PS2) (*.SFN)
* Def Jam: Fight for NY (PS2) (*.SFN)
* FIFA Street (PS2) (*.SFN)
* Harry Potter and the Chamber of Secrets (PS2)
* Harry Potter and the Chamber of Secrets (PS2)



Latest revision as of 17:04, 30 July 2023

SFN

  • Format Type : Font File
  • Endian Order : Big Endian / Little Endian
  • Signature : FNTS / FntS


Format Specifications

// EA SFN FONT file format


//HEADER
4 bytes - signature // "FNTS" or "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.

Games

List of games using this format:

  • Def Jam: Fight for NY (PS2) (*.SFN)
  • FIFA Street (PS2) (*.SFN)
  • Harry Potter and the Chamber of Secrets (PS2)

Notes and Comments

None.

Compatible Programs

None.