Master file table: Difference between revisions
Appearance
Replace obsolete bokasm tool with BokMagic |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
u32 offset_to_id_array; // Relative to the start of this struct | u32 offset_to_id_array; // Relative to the start of this struct | ||
u32 offset_to_file_array; // Relative to the start of this struct | u32 offset_to_file_array; // Relative to the start of this struct | ||
u32 offset_to_first_file; // Unused, ignorable. Relative to the start of this struct. | |||
u16 id_array[num_entries]; | u16 id_array[num_entries]; | ||
u32 file_array[num_entries]; // Entries are relative to the start of this struct | u32 file_array[num_entries]; // Entries are relative to the start of this struct | ||
Line 35: | Line 37: | ||
The <code>mft_headers[]</code> array starts at the following addresses: | The <code>mft_headers[]</code> array starts at the following addresses: | ||
{| class="wikitable" | {| class="wikitable exportable" | ||
|- | |- | ||
! Game || Address | ! Game || Address | ||
Line 44: | Line 46: | ||
|- | |- | ||
| Boktai 1 (EU) || 0x0856e97c | | Boktai 1 (EU) || 0x0856e97c | ||
|- | |||
| Boktai 1 (E3 Demo) || 0x08459fbc | |||
|- | |- | ||
| Boktai 2 (J, Rev. 0) || 0x085b0ce4 | | Boktai 2 (J, Rev. 0) || 0x085b0ce4 | ||
Line 59: | Line 63: | ||
The following directories exist: | The following directories exist: | ||
{| class="wikitable" | {| class="wikitable exportable" | ||
|- | |- | ||
! id_low || id_high || Description | ! id_low || id_high || Description | ||
|- | |- | ||
| 0x5130 || 0x9225 || | | 0x5130 || 0x9225 || [[Animation file|Animations]] | ||
|- | |- | ||
| 0xe53e || 0xc305 || [[Tile maps]] | | 0xe53e || 0xc305 || [[Tile map file|Tile maps]] | ||
|- | |- | ||
| 0xac2c || 0xaf05 || [[ | | 0xac2c || 0xaf05 || [[Collision map file|Collision maps]] | ||
|- | |- | ||
| 0xd710 || 0x9305 || Palettes - 20 byte header (ignorable?) followed by 0x200 bytes of raw [https://problemkaputt.de/gbatek-lcd-color-palettes.htm GBA palette data] | | 0xd710 || 0x9305 || Palettes - 20 byte header (ignorable?) followed by 0x200 bytes of raw [https://problemkaputt.de/gbatek-lcd-color-palettes.htm GBA palette data] | ||
|- | |- | ||
| 0x4f2d || 0xcee5 || | | 0x4f2d || 0xcee5 || [[Tile set file|Tile sets]] | ||
|- | |- | ||
| 0x6d24 || 0xa705 || [[Font]] | | 0x6d24 || 0xa705 || [[Font]] | ||
|- | |- | ||
| 0x0a4d || 0xcf05 || | | 0x0a4d || 0xcf05 || [[Particle file|Particles]] | ||
|- | |- | ||
| 0x2117 || 0x9b05 || | | 0x2117 || 0x9b05 || [[Actor sprites file|Actor sprites]] | ||
|- | |- | ||
| 0x5f29 || 0xc8e5 || [[Sprite set file|Sprite sets]] | | 0x5f29 || 0xc8e5 || [[Sprite set file|Sprite sets]] | ||
Line 91: | Line 95: | ||
= Tools = | = Tools = | ||
* [[ | * [[BokMagic]]: MFT extraction and repacking tool | ||
[[Category:Documentation]] [[Category:File formats]] | [[Category:Documentation]] [[Category:File formats]] | ||
[[Category:Boktai 1]] [[Category:Boktai 2]] [[Category:Boktai 3]] | [[Category:Boktai 1]] [[Category:Boktai 2]] [[Category:Boktai 3]] |