10tons MFT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 16: Line 16:
12 bytes (char) - signature // "MEG_Font_v6"
12 bytes (char) - signature // "MEG_Font_v6"
8 bytes (char) - characters encoding  // "LATIN-1"
8 bytes (char) - characters encoding  // "LATIN-1"
4 bytes (uint32) - unknown1 // 27
4 bytes (uint32) - unknown // 27
4 bytes (uint32) - unknown2 // 30
4 bytes (uint32) - unknown // 30
4 bytes (uint32) - unknown3 // 30
4 bytes (uint32) - unknown // 30
4 bytes (uint32) - number of characters / palette size?  // 256
4 bytes (uint32) - number of characters / palette size?  // 256


Line 26: Line 26:
number_of_characters * {
number_of_characters * {
   4 bytes (uint32) - character code  // e.g. 89 for "Y"
   4 bytes (uint32) - character code  // e.g. 89 for "Y"
   2 bytes (uint16) - unknown6 // 7
   2 bytes (uint16) - unknown // 7
   2 bytes (uint16) - unknown7 // 0  
   2 bytes (uint16) - unknown // 0  
   2 bytes (uint16) - unknown8 // 21
   2 bytes (uint16) - unknown // 21
   1 byte (uint8) - encoding ID?  // 1 - for latin-1
   1 byte (uint8) - encoding ID?  // 1 - for latin-1
   256 bytes - palette?
   256 bytes - palette?

Revision as of 23:36, 30 November 2022

Back to index | Edit this page

MFT

  • Format Type : Font
  • Endian Order : Little Endian
  • Signature : MEG / MEG Font / MEG_Font_v6 / MEG_Font_v7


Format Specifications

// MTF font file format (version 6)

// header
12 bytes (char) - signature // "MEG_Font_v6"
8 bytes (char) - characters encoding  // "LATIN-1"
4 bytes (uint32) - unknown  // 27
4 bytes (uint32) - unknown  // 30
4 bytes (uint32) - unknown  // 30
4 bytes (uint32) - number of characters / palette size?  // 256



// characters data
number_of_characters * {
   4 bytes (uint32) - character code  // e.g. 89 for "Y"
   2 bytes (uint16) - unknown  // 7
   2 bytes (uint16) - unknown  // 0 
   2 bytes (uint16) - unknown  // 21
   1 byte (uint8) - encoding ID?  // 1 - for latin-1
   256 bytes - palette?
   2 bytes (uint16) - image width
   2 bytes (uint16) - image height
   x bytes - image data
}

Notes and Comments

  • This file format occurs in games made by 10tons.

Games

List of games using this file format:

  • Azkend (*.MFT)
  • King Oddball (*.MFT)
  • Neon Chrome / Neon Chrome Arena (*.MFT)
  • Sparkle Unleashed (*.MFT)
  • Undead Horde (*.MFT)

QuickBMS Script

Not written yet.

Compatible Programs

None.