Format Spec: MMFW Container (Gen 2/3 archive format)

Status: Container header structure identified — payload format unknown Engine generation: Gen 2 (Jinx 2001) and Gen 3 (Case File #1 2002). Case File #2 (2003) runs a different engine with no MMFW (WP-005). Sample files:

Vision doc reference: Project Vision — Engine Lineage section

This is the archive container that replaced Gen 1’s TGIFILE.ART format starting with Jinx at the Sphinx (Oct 2001). It carries a typed content tag in its header, then a versioned sub-header, then archive payload — the payload structure is not yet decoded.


Confirmed structure

Header layout (first 32 bytes confirmed)

Offset  Size  Type        Value (Jinx Mummy.MMF)          Notes
------  ----  ----------  ------------------------------  -----
0x0000     4  ASCII       "MMFW"  (4D 4D 46 57)           Container magic
0x0004    12  ASCII       " Films\0\0\0\0\0\0"            Content-type tag (12 bytes, space-prefixed, null-padded)
0x0010     4  ASCII       "MM\0\x03"  (4D 4D 00 03)       Sub-header — likely version marker
0x0014    12  binary      A6 19 7C 23 0B B8 2E 17 ...     Sub-header data, structure TBD

Confirmed magic bytes across samples

Sample Bytes 0-15 (hex) Content tag
Mummy.MMF (Jinx) 4D 4D 46 57 20 46 69 6C 6D 73 00 00 00 00 00 00 “MMFW Films”
MuseumCD.MMP (Case File #1) 4D 4D 46 57 20 50 69 63 74 75 72 65 73 00 00 00 “MMFW Pictures”

Both share the identical sub-header bytes at offset 0x10: 4D 4D 00 03. This is the strongest signal that Gen 2 and Gen 3 use the same container format — they only differ in which content tags they ship.

Activity Challenge against Jinx (WP-013, 2026-11-14). Each archive’s first 20 bytes equal those of its Jinx counterpart; the per-file fields start at 0x14. The scripts archive (.mms) carries a different marker at 0x10 in both titles:

Activity Challenge Jinx counterpart Bytes 0x00–0x13 (both) Content tag
BONUS.MMF Mummy.MMF 4D 4D 46 57 20 46 69 6C 6D 73 00 00 00 00 00 00 4D 4D 00 03 “MMFW Films”
BONUS.MMA Mummy.MMA 4D 4D 46 57 20 53 6F 75 6E 64 73 00 00 00 00 00 4D 4D 00 03 “MMFW Sounds”
BONUS.MMP Mummy.MMP 4D 4D 46 57 20 50 69 63 74 75 72 65 73 00 00 00 4D 4D 00 03 “MMFW Pictures”
Bonus.mms Mummy.mms 4D 4D 46 57 20 53 63 72 69 70 74 73 00 00 00 00 49 49 03 00 “MMFW Scripts”

Observed content tags

The earlier guess of MMFW Package or MMFW Project for .MMP files is not borne out: Mummy.MMP and BONUS.MMP are both MMFW Pictures. The four tags match the four MMFW resource labels in Jinx’s and Activity Challenge’s executables.


Hypotheses (unverified)

Hypothesis Evidence Confidence
MM\x00\x03 is a version-3 marker — implying versions 1 and 2 existed internally before shipping Standard versioning pattern; Gen 1’s TGIFILE.ART had no such marker (it was effectively v0 or “untagged”) Medium
MM 00 03 and II 03 00 are TIFF-style byte-order marks over the same version 3: big-endian for Films, Sounds and Pictures, little-endian for Scripts (.mms) Both titles’ .mms carry II 03 00, every other archive MM 00 03 (WP-013). Not traced in code. Medium
The 12 bytes after MMFW are a space-prefixed ASCII content type, null-padded to fixed width Both observed samples conform; null padding is consistent High
Sub-header at 0x10 carries entry count + offset table, analogous to TGIFILE.ART Same archive role; engine is a direct descendant Medium
.MMF, .MMA, .MMP extensions encode content category (Film/Audio/Project) and the wrapper tag is redundant Three-letter extensions correlate but tags duplicate the info Medium
Payload entries are compressed with the same F0-opcode encoding as TGIFILE.ART (since same engine lineage) Same C++ codebase per the engine-inheritance finding Medium

Unknowns

Investigation plan

  1. Hex inspection of the 0x10-onwards sub-header in both samples — identify the entry-count and offset-table fields. The format is almost certainly an evolution of Gen 1’s TGIFILE.ART structure; expect similar field shapes.
  2. Cross-sample comparison. Diff the first ~512 bytes of Mummy.MMF and MuseumCD.MMP — fields that vary identify per-file data (entry count, offset table); fields that match identify shared schema constants.
  3. Probe-script extraction. Once the sub-header is mapped, port tools/probe_art.py to handle MMFW containers — likely a thin wrapper that skips the 16-byte tag header before delegating to the existing extraction logic.
  4. Executable-side trace (Gen 3). The Case File #1 MMFW loader and picture decoder are the top research targets of the WP-011 decompdecomp collaboration. A function that reads the sub-header would answer the first two unknowns above directly. Findings arrive tagged with WP-011’s evidence levels; only Observed or better lands here.
  5. Payload decode cross-check. When a TGIFILE.ART payload decodes successfully (WP-002), try the same decoder on an MMFW entry. If it works, the engine-inheritance hypothesis extends to the compression layer.

Success conditions

  1. Sub-header field layout fully documented.
  2. At least one payload entry extracted from a MuseumCD.MMP or Mummy.MMF, decoded with the same algorithm as TGIFILE.ART, rendered to PNG/BMP matching in-game output.

Engine generation correspondence

Gen Title Archive files Format spec
1 Showdown TGIFILE.ART, Music.dat, Sfx.dat, Voice.dat tgifile-art.md (+ audio-archives.md for Gen 1 audio)
1 Phantom TGIFILE.ART, MUSIC.DAT, SFX.DAT, VOICE.DAT, verified Gen 1 by WP-006 same as Showdown
2 Jinx Mummy*.MMF, HD.MMA, HD.MMP, Mummy_HD.MMF, Mummy.mms this doc
2 Activity Challenge (WP-013) BONUS.MMF, BONUS.MMA, BONUS.MMP, Bonus.mms this doc
3 Case File #1 MuseumCD.MMP, MuseumCD.MMA this doc
— (not this lineage, WP-005) Case File #2 .bul bulk archives with a .inx index; no MMFW not this doc; see scooby-exe §Case File #2

References