Repository navigation
Home
This wiki documents the ongoing reverse-engineering of Cave Noire (Konami, 1991,
Game Boy), based on a full mgbdis disassembly that
rebuilds bit-identically to the original ROM (MD5 10d92861e262069ce31559e12b927aa0).
The goal isn't just a byte-identical disassembly (mgbdis already gets us that for free) — it's understanding what the code does: giving routines and RAM addresses real names, and documenting the game's mechanics well enough that someone could reimplement or mod the game from these notes alone.
Methodology: findings come from two complementary approaches:
- Static analysis — reading the disassembly, cross-referencing call sites, matching constants against values the StrategyWiki Cave Noire pages already document (base stats, quest targets, item/monster lists).
-
Dynamic verification — emulator-driven: memory watchpoints, savestate comparisons,
and scripted or live input to actually trigger a mechanic and watch RAM change in real
time. The tooling this uses (headless scripting, live-play debugging, etc.) is a
project-workflow concern, not a game fact - see the main repo's
README.mdandCLAUDE.md, not this wiki, for that.
Every finding below is labeled with how confident we are — "confirmed" means it was dynamically verified, "plausible" means it's a strong static-analysis hypothesis that still needs a savestate to nail down. See Open Questions for the full list of things that need a specific savestate to confirm.
- Statistics — how much of the game we've actually identified so far
- RAM Map — known WRAM addresses and their purpose
- Controls and Menus — boot sequence, menu flow
- Combat System — damage formula, the "RNG" mechanism, the Lucky stat
- Monster System — the monster struct array, HP field, movement
- Item System — inventory, item effects, swords/shields
- Quest System — quest types, objective tracking, floor depth
- Dungeon Mechanics — tile classes, stairs, warp, floor warnings, darkness
- Sprite Glossary — every known terrain/item/monster ID with its actual in-game graphic, by category
- Player Death and Game Over
- Building the ROM — toolchain and build instructions
- Open Questions — findings that still need a specific savestate to confirm
This wiki is a curated, English-language summary. The detailed, chronological research log
(in German) lives in NOTES.md in the main repository — if a page here says "see NOTES.md",
that's where the full trace (code snippets, dead ends, exact commands/tooling used) lives.