Hydra Castle Labyrinth - RetroBIOS¶
Technical notes
Open-source port of E. Hashimoto's 2008 Japanese freeware Metroidvania Hydra Castle Labyrinth. ptitSeb's SDL/SDL2/SDL3 fork is used by batocera (the package batocera/ports/hcl pins HCL_VERSION to this commit).
The SDL builds open every data file from a relative "data/" prefix hard-coded in the sources: - src/qda.c:19, strcpy(fullPath, "data/") before the archive name - src/sdl2/graphics.c:223, fopen("data/bmp.qda", "rb") - src/text.c:79, "data/" before en.dat or jp.dat - src/game.c:1195 and src/game.c:1290, "data/map/" and "data/obj/" - src/sdl2/audio.c:30 and src/sdl2/audio.c:40, "data/" before the music and sound names - src/game.h:184, savename macro = "data/save.tmp" Save files are rewritten in that same relative data/ tree, so the game must be launched from a working directory that contains data/.
Paths below are written under hcl/, which stands for that working directory. The data/ tree is shipped in the source repository.
7 files | 5 required, 2 optional | 7 in repo, 0 missing Categories: 7 game data
bmp.qda required in repo game_data bundled
Packed graphics (QDA archive of all bitmaps)
- Path:
hcl/data/bmp.qda - Source:
src/qda.c:19-28,src/sdl2/graphics.c:223
en.dat required in repo game_data bundled
English localization
- Path:
hcl/data/en.dat - Source:
src/text.c:79-93
jp.dat required in repo game_data bundled
Japanese localization
- Path:
hcl/data/jp.dat - Source:
src/text.c:79-93
map/ required in repo game_data bundled directory
Room tile maps, <nnn>.map and the background layer <nnn>a.map
- Path:
hcl/data/map/ - Source:
src/game.c:1195-1209
obj/ required in repo game_data bundled directory
Per-room object definitions, <nnn>.dat
- Path:
hcl/data/obj/ - Source:
src/game.c:1290-1306
midi/ optional in repo game_data bundled directory
Music, each track as .mid and .ogg
- Path:
hcl/data/midi/ - Source:
src/sdl2/audio.c:25-34,src/game.c:48-56,src/game.c:473-474 - PHL_LoadMusic appends .ogg or .mid according to the music type option. A track that fails to load is not played.
wav/ optional in repo game_data bundled directory
Sound effect samples
- Path:
hcl/data/wav/ - Source:
src/sdl2/audio.c:37-42,src/game.c:428-470
Generated on 2026-10-10T11:26:01Z