{
  "commit": "fbe5ba4e3e790ab07eddc5b57e0f45a02cbcd60e",
  "count": 1,
  "generated_at": "2026-10-24T00:06:47Z",
  "items": [
    {
      "id": "fheroes2",
      "profile": {
        "core_classification": "game_engine",
        "core_version": "1.0.11",
        "cores": [
          "fheroes2"
        ],
        "display_name": "Heroes of Might and Magic II (fheroes2)",
        "emulator": "fheroes2",
        "files": [
          {
            "category": "game_data",
            "description": "Game resource archive (retail or demo HEROES2.AGG)",
            "installed_on": [
              "emuelec"
            ],
            "name": "heroes2.agg",
            "note": "Found by a case-insensitive name ending among the .agg files of the data directory. EmuELEC's launcher fetches the demo on first start.",
            "path": "data/heroes2.agg",
            "required": true,
            "source_ref": "src/fheroes2/agg/agg.cpp:62-97",
            "system": "heroes-of-might-and-magic-2"
          },
          {
            "category": "game_data",
            "description": "The Price of Loyalty resource archive",
            "name": "heroes2x.agg",
            "path": "data/heroes2x.agg",
            "required": false,
            "source_ref": "src/fheroes2/agg/agg.cpp:99-115",
            "system": "heroes-of-might-and-magic-2"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "fheroes2's own resource container, installed with the engine",
            "name": "resurrection.h2d",
            "path": "files/data/resurrection.h2d",
            "required": true,
            "sha1": "beb7cb43518447a8cd6faae7a697a79de3c31b39",
            "size": 30343,
            "source_ref": "src/fheroes2/h2d/h2d.cpp:35-62",
            "system": "heroes-of-might-and-magic-2"
          }
        ],
        "notes": "Free reimplementation of the Heroes of Might and Magic II engine (New World\nComputing, 1996). It plays the original or demo data. EmuELEC builds this\nrevision, installs the engine's resurrection.h2d under\n/usr/share/fheroes2/files/data and runs fheroes2 from\n/storage/roms/ports/fheroes2. When data/HEROES2.AGG is absent there, its\nfheroes2.sh offers to download the demo (h2demo.zip from archive.org) and\nunpacks its DATA and MAPS directories in place.\nref: version.txt:1,\n     EmuELEC packages/sx05re/emuelec-ports/fheroes2/package.mk:4-7,15-23,\n     EmuELEC packages/sx05re/emuelec-ports/fheroes2/scripts/fheroes2.sh:9-40\n\nEvery resource is looked up under each root directory in turn: the\nFHEROES2_DATA build path and environment variable, the program's directory,\nthen the OS data directories. The data subdirectory is scanned for .agg\nfiles, the one whose lowercased name ends in heroes2.agg is the game\nresource file, and a heroes2x.agg beside it turns on The Price of Loyalty\ncontent. No AGG, no resurrection.h2d, or an AGG without the font stops the\nstart with a missing resource window.\nref: src/fheroes2/system/settings.cpp:526-551, src/fheroes2/agg/agg.cpp:53-118,\n     src/fheroes2/h2d/h2d.cpp:35-62, src/fheroes2/game/fheroes2.cpp:220-240\n\nMaps are the .mp2, .mx2 (with the expansion) and .fh2m files of the maps\ndirectories, campaign videos come from anim, anim2, heroes2/anim or data,\nand CD music from music. All are optional.\nref: src/fheroes2/maps/maps_fileinfo.cpp:600-615, src/fheroes2/game/game_video.cpp:47,\n     src/fheroes2/audio/audio_manager.cpp:94-101\n",
        "pin_frozen": "EmuELEC, the only platform that ships it, builds this revision (EmuELEC packages/sx05re/emuelec-ports/fheroes2/package.mk:5). Later commits are not part of that build.",
        "profiled_date": "2026-10-22",
        "source": "https://github.com/ihhub/fheroes2",
        "source_commit": "35ca4c915be00098547d5050412a325dd55cfd7f",
        "systems": [
          "heroes-of-might-and-magic-2"
        ],
        "type": "standalone"
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
