Skip to content
simonomi edited this page Jun 23, 2023 · 13 revisions

MM3 files are index files that represent 3D models. More accurately, each MM3 file represents a 3D model and an animation.

               0x00          0x04          0x08          0x0C
╭───────────────┼─────────────┼─────────────┼─────────────┼─────────────╮
│ Raw           │ 4D 4D 33 00 │ 19 00 00 00 │ 1C 00 00 00 │ 1A 00 00 00 │
├───────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
│ Little-endian │ 00334D4D    │ 00000019    │ 0000001C    │ 0000001A    │
├───────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
│ Formatted     │ "MM3"       │ 25          │ 28          │ 26          │
╰───────────────┼─────────────┼─────────────┼─────────────┼─────────────╯
                ╰╴File format ╰╴Index 1     │             ╰╴Index 2
                                            ╰╴Table file name 1 offset (from MM3+0)

               0x10          0x14          0x18          0x1C
╭───────────────┼─────────────┼─────────────┼─────────────┼─────────────────────╮
│ Raw           │ 20 00 00 00 │ 1B 00 00 00 │ 24 00 00 00 │                     │
├───────────────┼─────────────┼─────────────┼─────────────┤                     │
│ Little-endian │ 00000020    │ 0000001B    │ 00000024    │ Table file names... │
├───────────────┼─────────────┼─────────────┼─────────────┤                     │
│ Formatted     │ 32          │ 27          │ 36          │                     │
╰───────────────┼─────────────┼─────────────┼─────────────┴─────────────────────╯
                │             ╰╴Index 3     ╰╴Table file name 3 offset (from MM3+0)
                ╰╴Table file name 2 offset (from MM3+0)

Source: model/fieldchar/cha01a_01

Additional notes

As of yet, we do not precisely know what the role of each Index is. Index 3 appears to facilitate color change between Hunter's model variations, but anything more remains to be explored.

Found

model/*

Resources

https://mgba-emu.github.io/gbatek/#ds3dvideo

Clone this wiki locally