10tons MFT: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (→Games) |
imported>Ikskoks |
||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// MTF font file format (version 6) | |||
// header | // header | ||
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) - unknown2 // 30 | |||
4 bytes (uint32) - unknown3 // 30 | |||
4 bytes (uint32) - number of characters / palette size? // 256 | |||
// | // characters data | ||
number_of_characters * { | |||
4 bytes (uint32) - character code | |||
2 bytes (uint16) - unknown6 // 7 | |||
2 bytes (uint16) - unknown7 // 0 | |||
2 bytes (uint16) - unknown8 // 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 | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 23:32, 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) - unknown1 // 27
4 bytes (uint32) - unknown2 // 30
4 bytes (uint32) - unknown3 // 30
4 bytes (uint32) - number of characters / palette size? // 256
// characters data
number_of_characters * {
4 bytes (uint32) - character code
2 bytes (uint16) - unknown6 // 7
2 bytes (uint16) - unknown7 // 0
2 bytes (uint16) - unknown8 // 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.