{
  "commit": "3effc4a043e0fca93f5882c62eba9a2344b02d56",
  "count": 1,
  "generated_at": "2026-11-24T10:38:35Z",
  "items": [
    {
      "id": "hcl",
      "profile": {
        "core_classification": "game_engine",
        "core_version": "v0.1.0-4-ge316486",
        "cores": [
          "hcl"
        ],
        "display_name": "Hydra Castle Labyrinth (hcl)",
        "emulator": "Hydra Castle Labyrinth",
        "files": [
          {
            "bundled": true,
            "category": "game_data",
            "description": "Packed graphics (QDA archive of all bitmaps)",
            "name": "bmp.qda",
            "not_bundled_on": [
              "batocera"
            ],
            "note": "The v0.1.0 release zips and AppImages ship the whole data/ tree next to the hcl binary.",
            "path": "hcl/data/bmp.qda",
            "required": true,
            "source_ref": "src/qda.c:19-28, src/sdl2/graphics.c:223"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "English localization",
            "name": "en.dat",
            "not_bundled_on": [
              "batocera"
            ],
            "path": "hcl/data/en.dat",
            "required": true,
            "source_ref": "src/text.c:79-93"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "Japanese localization",
            "name": "jp.dat",
            "not_bundled_on": [
              "batocera"
            ],
            "path": "hcl/data/jp.dat",
            "required": true,
            "source_ref": "src/text.c:79-93"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "Room tile maps, <nnn>.map and the background layer <nnn>a.map",
            "name": "map/",
            "not_bundled_on": [
              "batocera"
            ],
            "path": "hcl/data/map/",
            "required": true,
            "source_ref": "src/game.c:1195-1209",
            "type": "directory"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "Per-room object definitions, <nnn>.dat",
            "name": "obj/",
            "not_bundled_on": [
              "batocera"
            ],
            "path": "hcl/data/obj/",
            "required": true,
            "source_ref": "src/game.c:1290-1306",
            "type": "directory"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "Music, each track as .mid and .ogg",
            "name": "midi/",
            "not_bundled_on": [
              "batocera"
            ],
            "note": "PHL_LoadMusic appends .ogg or .mid according to the music type option. A track that fails to load is not played.\n",
            "path": "hcl/data/midi/",
            "required": false,
            "source_ref": "src/sdl2/audio.c:25-34, src/game.c:48-56, src/game.c:473-474",
            "type": "directory"
          },
          {
            "bundled": true,
            "category": "game_data",
            "description": "Sound effect samples",
            "name": "wav/",
            "not_bundled_on": [
              "batocera"
            ],
            "path": "hcl/data/wav/",
            "required": false,
            "source_ref": "src/sdl2/audio.c:37-42, src/game.c:428-470",
            "type": "directory"
          }
        ],
        "notes": "Open-source port of E. Hashimoto's 2008 Japanese freeware Metroidvania Hydra\nCastle Labyrinth. ptitSeb's SDL/SDL2/SDL3 fork is used by batocera (the\npackage batocera/ports/hcl pins HCL_VERSION to this commit).\n\nThe SDL builds open every data file from a relative \"data/\" prefix\nhard-coded in the sources:\n  - src/qda.c:19, strcpy(fullPath, \"data/\") before the archive name\n  - src/sdl2/graphics.c:223, fopen(\"data/bmp.qda\", \"rb\")\n  - src/text.c:79, \"data/\" before en.dat or jp.dat\n  - src/game.c:1195 and src/game.c:1290, \"data/map/\" and \"data/obj/\"\n  - src/sdl2/audio.c:30 and src/sdl2/audio.c:40, \"data/\" before the\n    music and sound names\n  - src/game.h:184, savename macro = \"data/save.tmp\"\nSave files are rewritten in that same relative data/ tree, so the game must\nbe launched from a working directory that contains data/.\n\nPaths below are written under hcl/, which stands for that working\ndirectory. The data/ tree is shipped in the source repository.\n",
        "profiled_date": "2026-10-04",
        "source": "https://github.com/ptitSeb/hydracastlelabyrinth",
        "source_commit": "e31648688434a789e3056e52cdf1b9a842eeed48",
        "systems": [],
        "type": "standalone",
        "upstream": "https://github.com/ptitSeb/hydracastlelabyrinth",
        "verification": "existence",
        "version_basis": {
          "distance": 4,
          "kind": "tag",
          "tag": "v0.1.0"
        }
      }
    }
  ],
  "kind": "emulators",
  "schema_version": 1
}
