{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "openmohaa",
      "profile": {
        "core_classification": "game_engine",
        "core_version": "0.83.0",
        "cores": [],
        "display_name": "OpenMoHAA",
        "emulator": "OpenMoHAA",
        "files": [
          {
            "category": "game_data",
            "md5": "4ce697656c5f1967764fb5a3c2f9b2ec",
            "name": "Pak0.pk3",
            "note": "Carries default.cfg.",
            "path": "main/Pak0.pk3",
            "required": true,
            "sha1": "528eccd0f55a51030bfd2de856d53261574485d4",
            "size": 16264817,
            "source_ref": "code/qcommon/files.cpp:326 (fs_originalPaks_main[0]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/), code/qcommon/files.cpp:4108 (Couldn't load default.cfg)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "cebf628aa0be4a0b96f04c4eba1f0422",
            "name": "Pak1.pk3",
            "path": "main/Pak1.pk3",
            "required": false,
            "sha1": "56d659e387f279a98e617f497c2dd12b2bae4959",
            "size": 18798683,
            "source_ref": "code/qcommon/files.cpp:327 (fs_originalPaks_main[1]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "f4ccd60285289135e10e8e119b2b5cfb",
            "name": "Pak2.pk3",
            "path": "main/Pak2.pk3",
            "required": false,
            "sha1": "ed00c36523d934cc76b7ccecaa0dd8ebf4378b5d",
            "size": 31038822,
            "source_ref": "code/qcommon/files.cpp:328 (fs_originalPaks_main[2]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "b15e06909965e7946d235517cc57280d",
            "name": "Pak3.pk3",
            "path": "main/Pak3.pk3",
            "required": false,
            "sha1": "e6bae955ce243980964df649ec716baea2b8c97b",
            "size": 34737631,
            "source_ref": "code/qcommon/files.cpp:329 (fs_originalPaks_main[3]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "0d4c501f8d5c33d2a567a22fbc46d4c8",
            "name": "Pak4.pk3",
            "path": "main/Pak4.pk3",
            "required": false,
            "sha1": "7a610452d040402483f1b4c5334b1695b41375a3",
            "size": 9576,
            "source_ref": "code/qcommon/files.cpp:330 (fs_originalPaks_main[4]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "a8a9113bf71c08f0460c9f4d6635baf5",
            "name": "Pak5.pk3",
            "note": "Holds Mission 3 Level 3, the demo's one level.",
            "path": "main/Pak5.pk3",
            "required": false,
            "sha1": "e8a18e62ecafa7d9aee46ecbac95be03d9eecaa2",
            "size": 2739284,
            "source_ref": "code/qcommon/files.cpp:331 (fs_originalPaks_main[5]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "71f32f3ff6814b28531a70cf91689c8f",
            "name": "Pak6.pk3",
            "note": "An empty placeholder holding one folder entry.",
            "path": "main/Pak6.pk3",
            "required": false,
            "sha1": "492ab480a8dbefb888acbf6f3ee5bc1277945e28",
            "size": 108,
            "source_ref": "code/qcommon/files.cpp:332 (fs_originalPaks_main[6]), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "name": "Pak0.pk3",
            "note": "Carries default.cfg. Without it FS_Startup aborts with ERR_FATAL.",
            "path": "main/Pak0.pk3",
            "required": true,
            "source_ref": "code/qcommon/files.cpp:326 (fs_originalPaks_main[0]), 4108 (Couldn't load default.cfg)",
            "system": "mohaa",
            "unsourceable": "retail release data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "Pak1.pk3",
            "path": "main/Pak1.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:327 (fs_originalPaks_main[1])",
            "system": "mohaa",
            "unsourceable": "retail release data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "Pak2.pk3",
            "path": "main/Pak2.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:328 (fs_originalPaks_main[2])",
            "system": "mohaa",
            "unsourceable": "retail release data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "Pak3.pk3",
            "path": "main/Pak3.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:329 (fs_originalPaks_main[3])",
            "system": "mohaa",
            "unsourceable": "retail release data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "Pak4.pk3",
            "path": "main/Pak4.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:330 (fs_originalPaks_main[4])",
            "system": "mohaa",
            "unsourceable": "retail release data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "Pak5.pk3",
            "path": "main/Pak5.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:331 (fs_originalPaks_main[5])",
            "system": "mohaa",
            "unsourceable": "retail release data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "Pak6.pk3",
            "note": "Added by the 1.11 patch. The demo placeholder takes the slot: the retail Pak0-Pak5 are not held, and no release ships the demo with this patch.",
            "path": "main/Pak6.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:332 (fs_originalPaks_main[6])",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "md5": "71f32f3ff6814b28531a70cf91689c8f",
            "name": "Pak7.pk3",
            "note": "An empty placeholder holding one folder entry, mounted like any pak of the folder.",
            "path": "main/Pak7.pk3",
            "required": false,
            "sha1": "492ab480a8dbefb888acbf6f3ee5bc1277945e28",
            "size": 108,
            "source_ref": "code/qcommon/files.cpp:3136 (every .pk3 of the folder), code/qcommon/common.c:3168-3182 (TG_MOH demo reads main/)",
            "system": "mohaa"
          },
          {
            "category": "game_data",
            "name": "pak1.pk3",
            "note": "Spearhead default.cfg lives here, so the file is required when com_target_game=1.",
            "path": "mainta/pak1.pk3",
            "required": true,
            "source_ref": "code/qcommon/files.cpp:337 (fs_originalPaks_mainta[0]), 3200 (fs_basegame=mainta), 4108",
            "system": "mohaa-spearhead",
            "unsourceable": "retail data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "pak2.pk3",
            "path": "mainta/pak2.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:338 (fs_originalPaks_mainta[1])",
            "system": "mohaa-spearhead",
            "unsourceable": "retail data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "pak3.pk3",
            "note": "Added by the 2.11 patch.",
            "path": "mainta/pak3.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:339 (fs_originalPaks_mainta[2])",
            "system": "mohaa-spearhead"
          },
          {
            "category": "game_data",
            "name": "pak4.pk3",
            "note": "Added by the 2.15 patch.",
            "path": "mainta/pak4.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:340 (fs_originalPaks_mainta[3])",
            "system": "mohaa-spearhead"
          },
          {
            "category": "game_data",
            "name": "pak5.pk3",
            "note": "Added by the 2.15 patch, one build per language.",
            "path": "mainta/pak5.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:341 (fs_originalPaks_mainta[4])",
            "system": "mohaa-spearhead"
          },
          {
            "category": "game_data",
            "name": "pak1.pk3",
            "note": "Breakthrough default.cfg lives here, so the file is required when com_target_game=2.",
            "path": "maintt/pak1.pk3",
            "required": true,
            "source_ref": "code/qcommon/files.cpp:346 (fs_originalPaks_maintt[0]), 3227 (fs_basegame=maintt), 4108",
            "system": "mohaa-breakthrough",
            "unsourceable": "retail data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "pak2.pk3",
            "path": "maintt/pak2.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:347 (fs_originalPaks_maintt[1])",
            "system": "mohaa-breakthrough",
            "unsourceable": "retail data the collection does not hold, and a same-named file of another game must not stand in"
          },
          {
            "category": "game_data",
            "name": "pak3.pk3",
            "note": "Added by the 2.40b patch.",
            "path": "maintt/pak3.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:348 (fs_originalPaks_maintt[2])",
            "system": "mohaa-breakthrough"
          },
          {
            "category": "game_data",
            "name": "pak4.pk3",
            "note": "Added by the 2.40b patch, one build per language.",
            "path": "maintt/pak4.pk3",
            "required": false,
            "source_ref": "code/qcommon/files.cpp:349 (fs_originalPaks_maintt[3])",
            "system": "mohaa-breakthrough"
          }
        ],
        "notes": "Reimplementation of the id Tech 3-derived engine that powers Medal of\nHonor: Allied Assault (2002) and its expansions Spearhead and\nBreakthrough. BASEGAME = \"main\" (code/qcommon/q_shared.h:35), and the target\ngame is selected at startup via the com_target_game cvar (0 = Allied\nAssault / TG_MOH, 1 = Spearhead / TG_MOHTA, 2 = Breakthrough / TG_MOHTT,\ncode/qcommon/common.c:3164-3237).\n\nFS_AddGameDirectory (code/qcommon/files.cpp:3106) scans the game folder\nfor every \"*.pk3\" via Sys_ListFiles(curpath, \".pk3\", ...) at line 3136,\nsorts them with paksort and mounts each one. It does not look up\nindividual retail names and does not refuse an unknown pak. FS_Startup\n(code/qcommon/files.cpp:3640-3650) always loads com_basegame = \"main\".\nSpearhead additionally sets fs_basegame = \"mainta\" (common.c:3200) and\nBreakthrough sets fs_basegame = \"maintt\" (common.c:3227), which triggers\na second FS_AddGameDirectories call for that folder.\n\nThe only hard failure during init is \"Couldn't load default.cfg\"\n(code/qcommon/files.cpp:4108), i.e. no pak in the active search path\nprovides default.cfg. Retail Pak0.pk3 (main/) carries it. Spearhead and\nBreakthrough ship a default.cfg inside their own pak1.pk3 so they can\nrun with or without a main/ install under openmohaa.\n\nThe retail pak names are documented in-source as reference arrays\nfs_originalPaks_main / fs_originalPaks_mainta / fs_originalPaks_maintt\n(code/qcommon/files.cpp:324-350). They are declared but not currently\nconsulted by the loader. They encode the files the engine was authored\nagainst. Capitalisation (\"Pak0.pk3\" under main/, \"pak1.pk3\" under\nmainta/ and maintt/) matches the retail ISO filenames and is preserved\nbelow for case-sensitive filesystems. FS_FilenameCompare and\nSys_ListFiles are case-insensitive, so Windows installs match either\ncasing.\n\nFS_CheckPak0 (code/qcommon/files.cpp:3707) is a documented stub: the\ncomment at 3710-3712 notes that MOHAA ships in too many localised pak\nversions to pin a checksum, so no CRC / MD5 is enforced on the paks.\n\ncom_target_demo 1 selects the demo protocol. The Allied Assault demo\nis read from main/ like the full game, while the Spearhead and Breakthrough\ndemos are read from demota/ and demott/\n(code/qcommon/common.c:3168-3182, 3203, 3230, 3249).\n",
        "profiled_date": "2026-10-04",
        "source": "https://github.com/openmoh/openmohaa",
        "source_commit": "a2f340195975f4f042e28a60b62561dd9a0b2700",
        "systems": [
          "mohaa",
          "mohaa-spearhead",
          "mohaa-breakthrough"
        ],
        "type": "standalone",
        "upstream": "https://github.com/openmoh/openmohaa",
        "upstream_commit": "a2f340195975f4f042e28a60b62561dd9a0b2700",
        "version_basis": {
          "kind": "file",
          "path": "cmake/identity.cmake",
          "pattern": "set\\(PROJECT_VERSION\\s+([0-9][^)\\s]*)\\)"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
