Repository navigation
Research by System
Generated by dk2tools wiki from the front matter of docs/research/. Edit the sources, not this page; systems are listed in docs/systems.yaml (ADR-0643).
360 research notes. A note that spans several systems is listed under each.
- Simulation core (50)
- Navigation (35)
- Imps and tile work (48)
- Creatures (103)
- Rooms (73)
- Combat (38)
- Keeper spells (29)
- Doors and traps (13)
- Heroes (9)
- Computer keeper (12)
- Campaign and triggers (24)
- Camera and lighting (22)
- HUD and front end (32)
- Audio (15)
- Data formats (14)
- Art and assets (30)
- Unity presentation (17)
- Godot presentation (8)
- Tooling and process (30)
- Legal (1)
The tick loop, system order, determinism, the state hash, snapshots and save/load. System id simulation-core.
| Note | File |
|---|---|
| A collapse picks its fall heading from the world stream | death-fall-heading.md |
| A shot probes ahead, a hit heads the creature, and the collapse is inside the hit | shot-probe-and-hit-heading.md |
| A speed a handler sets is not modified that turn | speed-set-turn.md |
| A step back's speed mode outlasts the step | step-back-speed-mode.md |
| Bed heading draw | bed-heading-draw.md |
| Bedless acquisition and the sleep need | bedless-sleep-need.md |
| Captured room-selection order inputs | room-selection-order-inputs.md |
| Chicken birth draws and the Egg animation clock | chicken-birth-clock.md |
| Combat handler handovers | combat-handler-handovers.md |
| Combat reach queries use funnel corners | combat-route-queries.md |
| Counted non-worker idle actions | idle-action-clock.md |
| Counted reading clock | counted-reading-clock.md |
| DK2's random numbers: the generator, its streams and its seed | dk2-random.md |
Format: saved games (.SAV, .QSAV) |
sav-format.md |
| Hatchery pillar steering | hatchery-pillar-steering.md |
| Heart and terminal-state resync (Q714) | resync-heart-terminal.md |
| Heights in the possessed picks, and a shot's height | possessed-pick-heights.md |
| Immediate Library neighbour kick | library-neighbour-kick.md |
| Imp mining arrival before job validation | imp-mine-arrival.md |
| Keeper-frame refresh clock | keeper-refresh-clock.md |
| Lair home handover | lair-home-handover.md |
| Library arrival slab-chain control | library-arrival-chain.md |
| Library capacity and repeated shelf draws | library-capacity-draws.md |
| Library movement after a state handover | library-movement-gate.md |
| Mechanic: a creature's height, its floor, and the physical pass's fall (Q795) | creature-height.md |
| Mechanic: the game action table — every player command, and what handles it | game-actions.md |
| Neutral idle continuation: captured heading | neutral-idle-heading.md |
| Neutral stops retain a self-route | stop-self-route.md |
| Possessed Imp excavation action clock | possessed-excavation-clock.md |
| Possessed melee animation draw at 1647 | possessed-melee-draw.md |
| Possession specials, sniper and foreground attacks | possession-special-abilities.md |
| Q712: early draw continuation after turn 1403 | q712-early-draw-continuation.md |
| Room-manager order control | room-manager-order.md |
| Special objects | specials.md |
| State-hash versions | hash-versions.md |
| Stopped routes through Library handovers | library-stop-route.md |
| Stopped routes through combat facing | combat-stop-route.md |
| Stopped waypoint precision | stopped-waypoint-precision.md |
| Store gold in steering queries | store-gold-steering.md |
| Stored Lair resume and acquisition | lair-resume-gate.md |
| The OBJECTS record: beds, chickens, gold — and no corpses | objects.md |
| The creature and object records, swept for fields that carry no information | record-field-sweep.md |
| The creature update's order, and ours (ADR-0554) | creature-update-order.md |
| The level start's world-seed draws (Level_InitTriggersAndStart) | hero-lair-trestles.md |
| The neutral player's ambient tile (0x004BB130) | neutral-ambient-effect.md |
| The placed-object thing, named by DK2 (Q264) | object-thing-object.md |
| The player object's fields, named by DK2 (Q264) | player-object.md |
| The runtime map: reaching a tile while the game is running | runtime-map.md |
| The world object, named by DK2 (Q264) | world-object.md |
| Training Target rebuild after neighbor work | training-target-rebuild.md |
Route finding, the navigation mesh, steering bodies and movement. System id navigation.
| Note | File |
|---|---|
| Captured room-selection order inputs | room-selection-order-inputs.md |
| Combat body integration | combat-spacing.md |
| Combat handler handovers | combat-handler-handovers.md |
| Combat reach queries use funnel corners | combat-route-queries.md |
| Combined movement order and idle arrival | imp-movement-arrival.md |
| Creature neighbour query | creature-neighbour-query.md |
| Heart routing: one paired Level 4 replay | imp-heart-replay.md |
| Idle Imp arrival: native progress and body stop | imp-idle-arrival.md |
| Imp mining arrival before job validation | imp-mine-arrival.md |
| Imp walks: how a job walk lands exactly on its point | imp-walk-arrival.md |
| Initial Imp walk: movement order causes the first position mismatch | imp-first-integration.md |
| Lair departure point and arrival options | lair-departure.md |
| Lair home handover | lair-home-handover.md |
| Library movement after a state handover | library-movement-gate.md |
| Measuring the router against DK2's own route log | navigation-captures.md |
| Mechanic: door contact, the door fight and a door's death | door-blocking.md |
| Mechanic: how DK2 routes and how it moves (Q5) | navigation-and-steering.md |
| Mechanic: the navigation mesh and the route search (Q341) | navigation-mesh-and-search.md |
| Mechanic: the navigation mesh's per-tile rebuild (Q591) | navigation-partial-rebuild.md |
| Mechanic: the steering behaviours' bodies (phase 2 of ADR-0157) | steering-behaviours.md |
| Mechanic: travel states — how a caller hands work to a walk, and how the walk hands it back | travel-states.md |
| Neutral idle continuation: captured heading | neutral-idle-heading.md |
| Neutral stops retain a self-route | stop-self-route.md |
| OpenKeeper PR relevance from #1401 to #1416 | openkeeper-pr-audit-1401-1416.md |
| Ordinary room positions (Q721) | room-position-parity.md |
| Portal crystal clipping | portal-crystal-collision.md |
| Q712: the next matched route-window divergence | q712-route-window.md |
| Research: every route-helper call site, with the resume state it passes | travel-state-call-sites.md |
| Steering axes follow the resulting velocity | steering-velocity-axes.md |
| Steering body retention between mover calls (Q735) | steering-body-retention.md |
| Stopped routes through Library handovers | library-stop-route.md |
| Stopped routes through combat facing | combat-stop-route.md |
| Stopped waypoint precision | stopped-waypoint-precision.md |
| Store gold in steering queries | store-gold-steering.md |
| The hole in a portal, and the heart on its platform | structure-blocks.md |
Digging, claiming, reinforcing, gold mining and every other imp job on tiles. System id imps-tile-work.
| Note | File |
|---|---|
| A completed rock strike and the following claim boundary | imp-strike-choice-boundary.md |
| Claim, enemy-floor and room-conversion action clocks | imp-claim-action-clock.md |
| Combined movement order and idle arrival | imp-movement-arrival.md |
| Create Imp position loss and the second Hatchery wall | imp-create-position.md |
| Current-main Imp work near the Level4 Hatchery | imp-hatchery-work.md |
| Efficiency — the work rate is a creature stat, and DK2 shows it | tile-work-efficiency.md |
| Executable checks of Imp job precedence | imp-priority-checks.md |
| Exhausted Imp dig action and slot availability | imp-dig-stop-clock.md |
| First dig: continuous work and release observations | imp-dig-sequence.md |
| First digging choice at an actual selection boundary | imp-boundary-route.md |
| Gold on the floor: the fourth place a keeper's gold can be | gold-on-the-floor.md |
| Heart routing: one paired Level 4 replay | imp-heart-replay.md |
| How an imp chooses a job: two tiers, read from the binary | imp-task-priority.md |
| How often a DK2 miner strikes, and where the gold goes (Q480) | mining-cadence.md |
| Idle Imp arrival: native progress and body stop | imp-idle-arrival.md |
| Imp claim path: how DK2 chooses, takes and loses claim work (kinds 3 and 14) | imp-claim-path.md |
| Imp comparison: snapshot labels and execution clocks | imp-observation-clocks.md |
| Imp fidelity integration | imp-fidelity-integration.md |
| Imp hands full: why DK2's imps rest where ours fetch gold | imp-hands-full.md |
| Imp mining arrival before job validation | imp-mine-arrival.md |
| Imp selection: binary evidence and matched boundaries | imp-selection-evidence.md |
| Imp task outcome audit, 2026-10-17 | imp-task-audit.md |
| Imp task stealing: who takes a held task, what the loser does, what ends a trade | imp-task-stealing.md |
| Imp tasks: the objects handler, the secret door, the kicked imp, the walk's end | imp-task-objects-and-walks.md |
| Imp walks: how a job walk lands exactly on its point | imp-walk-arrival.md |
| Imps, and what mana is actually for | imps-and-mana.md |
| Initial Imp walk: movement order causes the first position mismatch | imp-first-integration.md |
| Level 2: what releases hero party 1 from its patrol (Q525) | level2-party-release.md |
| Limits of the Imp decision checker | imp-decision-checker.md |
| Mana pressure and creature removal | imp-mana-removal.md |
| OpenKeeper PR 1021 comparison | openkeeper-1021-review.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| Possessed Imp excavation action clock | possessed-excavation-clock.md |
| Q712: early draw continuation after turn 1403 | q712-early-draw-continuation.md |
| Reinforcement action clock (Q712/Q719) | reinforcement-action-clock.md |
| Reinforcement selection and work (Q696, Q564) | wall-reinforce-eligibility.md |
| Research: how the imp work states move and end | imp-state-exits.md |
| Research: what an imp with nothing to do does | imp-idle-and-wandering.md |
| Rooms, and where a keeper's gold is | rooms-and-gold.md |
| Store gold in steering queries | store-gold-steering.md |
| Terrain destruction debris | terrain-digging-debris.md |
| The dig-tag highlight | tag-highlight.md |
| The first worker: how an imp finds work and gets to it | imp-tasks.md |
| The mining action's ending phase | mining-finish.md |
| The player task pool: where DK2 keeps what the player asked for | player-task-pool.md |
| Tile work: digging, mining, claiming, reinforcing | tile-work.md |
| Wall corner fill | wall-corner-fill.md |
| Wall support after ownership loss | wall-support-after-claim.md |
Creature states, needs, jobs, moods, arrival through portals, payday and death. System id creatures.
| Note | File |
|---|---|
| A Prison's door and a jail break: states 122 and 121 | jail-break.md |
| A collapse picks its fall heading from the world stream | death-fall-heading.md |
| A creature’s job and needs, named by DK2 (Q264) | creature-job-object.md |
| A drop heads the creature by the packet's angle | drop-heading.md |
| A pick-up takes a turn, and the stun's handlers follow the fight scan | hand-pickup-turn.md |
| A portal's arrival interval | portals-interval.md |
| A shot probes ahead, a hit heads the creature, and the collapse is inside the hit | shot-probe-and-hit-heading.md |
| A speed a handler sets is not modified that turn | speed-set-turn.md |
| A step back's speed mode outlasts the step | step-back-speed-mode.md |
| Alliances | alliances.md |
| An imp takes a prisoner in through the Prison's gate | prison-gate.md |
| Bed heading draw | bed-heading-draw.md |
| Bedless acquisition and the sleep need | bedless-sleep-need.md |
| Call to Arms | call-to-arms.md |
| Captured room-selection order inputs | room-selection-order-inputs.md |
| Category 0 states, part 1: 5, 69, 71, 86, 113, 126, 135, 211 | refused-states.md |
| Combat category experience order (Q734) | combat-experience-order.md |
| Combat handler handovers | combat-handler-handovers.md |
| Counted non-worker idle actions | idle-action-clock.md |
| Counted reading clock | counted-reading-clock.md |
| Creature neighbour query | creature-neighbour-query.md |
| Creature overview | creature-overview.md |
| Creature ownership order | creature-ownership.md |
| Creature pickup permission | creature-pickup.md |
| Creature portal arrival effects | creature-arrival-effects.md |
| Crypt: surviving cut-room content | crypt.md |
| Decision parity audit, hash 303 | decision-parity-audit.md |
| Eating action timing | eating-action.md |
| First-person target highlight | possession-target-highlight.md |
| Hatchery pillar steering | hatchery-pillar-steering.md |
| Healing a creature on a torture device | torture-captive-health.md |
| Heights in the possessed picks, and a shot's height | possessed-pick-heights.md |
| How a voluntary torturee gets off | voluntary-torture-exit.md |
| Immediate Library neighbour kick | library-neighbour-kick.md |
| Lair departure point and arrival options | lair-departure.md |
| Lair home handover | lair-home-handover.md |
| Library capacity and repeated shelf draws | library-capacity-draws.md |
| Library movement after a state handover | library-movement-gate.md |
| Mechanic: a closed door pushes creatures off its tile | door-push.md |
| Mechanic: a creature's height, its floor, and the physical pass's fall (Q795) | creature-height.md |
| Mechanic: anger — six counters, the ceiling, and the ladder | creature-anger.md |
| Mechanic: creature levels — what a level does, and what raises one | creature-levels.md |
| Mechanic: creature needs — health and hunger | creature-needs.md |
| Mechanic: creature status effects — what a spell leaves on the creature it hits | creature-status-effects.md |
| Mechanic: creatures leaving and joining through portals | creature-leaving.md |
| Mechanic: dying — two timers, three states | creature-death.md |
| Mechanic: eating — hunger, the chicken, and the two ways of paying it off | eating.md |
| Mechanic: four leave hooks and the Workshop's maker count | leave-hook-bodies.md |
| Mechanic: guard duty — states 97, 98 and 99 | guard-room.md |
| Mechanic: how a creature gets a lair | lair-acquisition.md |
| Mechanic: job selection for creatures that are not workers | job-selection.md |
| Mechanic: rebellion | rebellion.md |
| Mechanic: state-category hook bodies | state-category-hooks.md |
| Mechanic: the 32 state-category records | state-categories.md |
| Mechanic: the creature action table — how an attack is entered | creature-action-table.md |
| Mechanic: the creature state table | creature-state-table.md |
| Mechanic: the dying states — 216 falls, 217 lies, a corpse has none | dying-states.md |
| Mechanic: the needs routine — how hunger, sleep and pay take a creature off its work | creature-needs-routine.md |
| Mechanic: training, and the four rates that share its shape | training.md |
| Mechanic: travel states — how a caller hands work to a walk, and how the walk hands it back | travel-states.md |
| Neutral idle continuation: captured heading | neutral-idle-heading.md |
| Neutral stops retain a self-route | stop-self-route.md |
| OpenKeeper PR relevance from #1401 to #1416 | openkeeper-pr-audit-1401-1416.md |
| OpenKeeper PR relevance from #1417 to #1480 | openkeeper-pr-audit-1417-1480.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| OpenKeeper PR relevance: 1366 to 1400 | openkeeper-pr-audit-1366-1400.md |
| OpenKeeper PR relevance: merged 1296 to 1363, and the behavioural open PRs above 1161 | openkeeper-pr-audit-1296-1363.md |
| Payday | payday.md |
| Portals — where creatures come from | portals.md |
| Possessed Imp excavation action clock | possessed-excavation-clock.md |
| Possessed melee animation draw at 1647 | possessed-melee-draw.md |
| Possession colour rendering | possession-colour-rendering.md |
| Possession foreground attacks and creature filters | possession-foreground.md |
| Possession specials, sniper and foreground attacks | possession-special-abilities.md |
| Q710: fighter decisions after the Level 4 restore | q710-fighter-decisions.md |
| Q712: early draw continuation after turn 1403 | q712-early-draw-continuation.md |
| Remembered Guard jobs | guard-job-memory.md |
| Research: every route-helper call site, with the resume state it passes | travel-state-call-sites.md |
| Room pillar obstacle coverage (Q808) | room-pillar-obstacles.md |
| Scripted portal creatures (action 28) | portal-creature-action.md |
| Special-role idle: STRONGLY INFERRED reads and engine boundary | special-role-idle.md |
| State 89's fallback and state 3: what an idle creature does with nothing to do | idle-fallback.md |
| Stealing: job 13 and states 160–172, 226 | steal-gold.md |
| Stopped routes through Library handovers | library-stop-route.md |
| Stopped routes through combat facing | combat-stop-route.md |
| Stopped waypoint precision | stopped-waypoint-precision.md |
| Store gold in steering queries | store-gold-steering.md |
| Stored Lair resume and acquisition | lair-resume-gate.md |
| The Hero Portal is an entrance too, and one implementation serves both | portals-mercenary.md |
| The Prison: capture, withering, skeletons and the jail break | prison.md |
| The Wait hold: who can be held by SuspendTime | wait-hold.md |
| The action animation clock | animation-clock.md |
| The creature object, named by DK2 (Q264) | creature-object.md |
| The creature update's order, and ours (ADR-0554) | creature-update-order.md |
| The last category 0 states: room returns, the research cheer, and the unreached | room-return-states.md |
| The possession HUD | possession-hud.md |
| The slap's states: 67, 77, 120 | slap-states.md |
| The whole-screen colour changes around possession (Q745) | screen-colour-changes.md |
| Training Target rebuild after neighbor work | training-target-rebuild.md |
| Training machine approaches and actions | training-actions.md |
| What the binary says about the entrance | binary-entrance.md |
What torture tells a keeper: 0x004F2370
|
torture-information.md |
| Where a dropped creature lands: states 76, 255, 257, 250 and 77 | hand-drop-landing.md |
Room building, selling, capture, and what each room does for its occupants. System id rooms.
| Note | File |
|---|---|
| A Prison's door and a jail break: states 122 and 121 | jail-break.md |
| A room's slab chain: the order its tiles are in | room-slab-chain.md |
| An imp takes a prisoner in through the Prison's gate | prison-gate.md |
| Auto-placed room furniture | auto-placed-furniture.md |
| Bed heading draw | bed-heading-draw.md |
| Bridge placement, and the computer keeper's bridges | bridge-placement.md |
| Chicken birth draws and the Egg animation clock | chicken-birth-clock.md |
| Chicken object roaming | hatchery-roaming.md |
| Crypt: surviving cut-room content | crypt.md |
| Dungeon Heart destruction | heart-destruction.md |
| Dungeon Heart health visuals | heart-health-visuals.md |
| Dungeon Heart mana particles | heart-mana-effects.md |
| Eating action timing | eating-action.md |
| Floating gold and mana numbers | floating-cost-numbers.md |
| Hatchery pillar steering | hatchery-pillar-steering.md |
| Hatchery startup interval (Q695) | hatchery-startup.md |
| Healing a creature on a torture device | torture-captive-health.md |
| Heart and terminal-state resync (Q714) | resync-heart-terminal.md |
| How a voluntary torturee gets off | voluntary-torture-exit.md |
| Immediate Library neighbour kick | library-neighbour-kick.md |
| Lair home handover | lair-home-handover.md |
| Library arrival slab-chain control | library-arrival-chain.md |
| Library capacity and repeated shelf draws | library-capacity-draws.md |
| Library movement after a state handover | library-movement-gate.md |
| Mechanic: Workshop crates — made, stored, carried and built | workshop-crates.md |
| Mechanic: a creature's height, its floor, and the physical pass's fall (Q795) | creature-height.md |
| Mechanic: eating — hunger, the chicken, and the two ways of paying it off | eating.md |
| Mechanic: guard duty — states 97, 98 and 99 | guard-room.md |
| Mechanic: how a creature gets a lair | lair-acquisition.md |
| Mechanic: the Combat Pit — states 137 to 141 | combat-pit.md |
| Mechanic: the Graveyard — where a Vampire comes back, and the tally that makes one | graveyard.md |
| Mechanic: the Hatchery — coops, eggs and chickens | hatchery.md |
| Mechanic: training, and the four rates that share its shape | training.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| OpenKeeper PR relevance: 1366 to 1400 | openkeeper-pr-audit-1366-1400.md |
| OpenKeeper PR relevance: merged 1296 to 1363, and the behavioural open PRs above 1161 | openkeeper-pr-audit-1296-1363.md |
| Ordinary room positions (Q721) | room-position-parity.md |
| Player room trigger conditions | room-conditions.md |
| Portal crystal clipping | portal-crystal-collision.md |
| Portal visibility (Q197) | portal-visibility.md |
| Prison rats | prison-rats.md |
| Q710: fighter decisions after the Level 4 restore | q710-fighter-decisions.md |
| Q712: early draw continuation after turn 1403 | q712-early-draw-continuation.md |
| Remembered Guard jobs | guard-job-memory.md |
| Room and neutral-Portal border flames | room-border-effects.md |
| Room construction particles | room-construction-effects.md |
| Room health: conversion, demolition and repair (Q500) | room-health.md |
| Room pillar obstacle coverage (Q808) | room-pillar-obstacles.md |
| Room-manager order control | room-manager-order.md |
| Rooms, and where a keeper's gold is | rooms-and-gold.md |
| Slapping an unpaid Casino winner | casino-winner-slap.md |
| Stopped routes through Library handovers | library-stop-route.md |
| Stopped waypoint precision | stopped-waypoint-precision.md |
| Temple sacrifice recipes | sacrifice.md |
| The Casino's states: 145–153, the jackpot and its winner (152, 155–157) | casino.md |
| The Combat Pit's spectators: job 26 and states 142, 143, 144 | combat-pit-spectators.md |
| The Dungeon Heart's opening sequence | heart-intro.md |
| The Library's states: 53–59 | library-states.md |
| The Library: research accrual and the research tree | library-and-research.md |
| The Prison: capture, withering, skeletons and the jail break | prison.md |
| The Temple's states: 101–107 | temple-states.md |
| The Wait hold: who can be held by SuspendTime | wait-hold.md |
| The Workshop's effect timers and what they draw from the random stream | workshop-timers.md |
| The Workshop's states: 63–67 | workshop-states.md |
| The hole in a portal, and the heart on its platform | structure-blocks.md |
The per-room-type handler table at 0x006a1e9f
|
portals-room-handler-table.md |
| The player's room list: where DK2 keeps what the player built | room-list.md |
| The research tree | research-tree.md |
| The room object, named by DK2 (Q264) | room-object.md |
| Training Target rebuild after neighbor work | training-target-rebuild.md |
| Training machine approaches and actions | training-actions.md |
What torture tells a keeper: 0x004F2370
|
torture-information.md |
| Where furniture stands in its tile, and which way it faces | furniture-placement.md |
Fights, attacks, shots, damage, experience and fleeing. System id combat.
| Note | File |
|---|---|
| A collapse picks its fall heading from the world stream | death-fall-heading.md |
| A drop heads the creature by the packet's angle | drop-heading.md |
| A pick-up takes a turn, and the stun's handlers follow the fight scan | hand-pickup-turn.md |
| A shot probes ahead, a hit heads the creature, and the collapse is inside the hit | shot-probe-and-hit-heading.md |
| A speed a handler sets is not modified that turn | speed-set-turn.md |
| A step back's speed mode outlasts the step | step-back-speed-mode.md |
| Alliances | alliances.md |
| Captured room-selection order inputs | room-selection-order-inputs.md |
| Combat body integration | combat-spacing.md |
| Combat category experience order (Q734) | combat-experience-order.md |
| Combat handler handovers | combat-handler-handovers.md |
| Combat reach queries use funnel corners | combat-route-queries.md |
| Crypt: surviving cut-room content | crypt.md |
| Heights in the possessed picks, and a shot's height | possessed-pick-heights.md |
| Initial fight-scan phase (Q718, Q712) | fight-scan-initial-phase.md |
| Level 5 Heart defence parity | heart-defence-parity.md |
| Mechanic: combat cadence — the two attack clocks | combat-cadence.md |
| Mechanic: combat — the damage sink, and what scales a blow | combat.md |
| Mechanic: creature status effects — what a spell leaves on the creature it hits | creature-status-effects.md |
| Mechanic: fear and flight — the accumulator, the counter, the back-off and the withdrawal | combat-fear.md |
Mechanic: how a creature acquires an enemy — ProcessFight, SelectAVictim, the fight-starter |
combat-acquisition.md |
Mechanic: how a creature enters combat — spFighting and the AttackType switch |
combat-entry.md |
| Mechanic: shots — what a creature spell fires, how it flies, and how it lands | shots.md |
| Mechanic: the Battle tab — crossed blades, battle records and the zoom to a fight | battle-tab.md |
| Mechanic: the Combat Pit — states 137 to 141 | combat-pit.md |
| Mechanic: the Combat category's enter and leave hooks | combat-category-hooks.md |
| Mechanic: the NonFighter arm and the alarm — a worker's reluctance, and the room that answers | combat-alarm.md |
| Mechanic: the fight approach and victory pause | combat-approach-and-victory.md |
Mechanic: the fight itself — spFighting, the swing's two clocks, and the target's answer |
combat-fight-state.md |
| Mechanic: the friendly spell arm and its applicability table | spell-friendly-arm.md |
| Mechanic: the melee damage formula, end to end | combat-damage.md |
| Mechanic: the spell arms — how a creature casts in a fight, and what a cast is | combat-spells.md |
Mechanic: which enemy a creature picks — FightStyle and the five selectors |
combat-target-selection.md |
| Possessed melee animation draw at 1647 | possessed-melee-draw.md |
| Shot and spell visual effects: trails, timed and hit effects, the Inferno, procedural lightning | shot-effects.md |
| Stopped routes through combat facing | combat-stop-route.md |
| Stopped waypoint precision | stopped-waypoint-precision.md |
| The Combat Pit's spectators: job 26 and states 142, 143, 144 | combat-pit-spectators.md |
The Hand of Evil, possession and every keeper spell. System id keeper-spells.
| Note | File |
|---|---|
| A drop heads the creature by the packet's angle | drop-heading.md |
| A pick-up takes a turn, and the stun's handlers follow the fight scan | hand-pickup-turn.md |
| Call to Arms | call-to-arms.md |
| Computer-keeper spell casts: every site | computer-keeper-spell-sites.md |
| Create Gold | keeper-spell-create-gold.md |
| Create Imp position loss and the second Hatchery wall | imp-create-position.md |
| Creature pickup permission | creature-pickup.md |
| Hand cursor and hover feedback | hand-cursor-rendering.md |
| Healing a creature on a torture device | torture-captive-health.md |
| Keeper Inferno and Chicken | keeper-spell-inferno-chicken.md |
| Keeper Thunderbolt on a creature | keeper-spell-thunderbolt.md |
| Keeper spell Possession | keeper-spell-possession.md |
| Keeper spell permission and cast boundary | keeper-spell-casting.md |
| Mana, and why it is the size of a dungeon | mana.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| Possession entry stars (Q749) | possession-entry-effect.md |
| Possession on the client: camera, movement and keys | possession-client.md |
| Possession: the unbuilt arms and the command inputs | possession-arms-and-inputs.md |
| Reaper keeper spells: creation and lifetime | keeper-spell-reaper.md |
| Remaining possession client boundaries | possession-client-completion.md |
| Scripted camera requests during possession | camera-possession-guards.md |
| Sight of Evil: a temporary presentation mask | keeper-spell-sight.md |
| Slapping an unpaid Casino winner | casino-winner-slap.md |
| The Hand of Evil: picking up, dropping, slapping | hand-of-evil.md |
| The Hand's dropped-object earmark | hand-drop-earmark.md |
| The slap's states: 67, 77, 120 | slap-states.md |
| Tremor — effect and recovery traced, integration awaiting verification | keeper-spell-tremor.md |
| Turncoat: temporary combat allegiance | keeper-spell-turncoat.md |
| Where a dropped creature lands: states 76, 255, 257, 250 and 77 | hand-drop-landing.md |
Door and trap placement, manufacture, triggering and effects. System id doors-traps.
| Note | File |
|---|---|
| Door and trap drawing | structure-drawing.md |
| Door and trap sales (Q702) | door-trap-sales.md |
| Doors and traps: authored projection and runtime construction | doors-and-traps.md |
| Mechanic: Workshop crates — made, stored, carried and built | workshop-crates.md |
| Mechanic: a closed door pushes creatures off its tile | door-push.md |
| Mechanic: door contact, the door fight and a door's death | door-blocking.md |
| Mechanic: the Boulder — the trap's shot, the rolling object and what it strikes | boulder.md |
| Mechanic: the Jack In The Box — the trap's shot, the Jack and its explosion | jack-in-the-box.md |
| Mechanic: the trap's update, its firing, its threat and the Trigger | traps.md |
| OpenKeeper PR relevance from #1417 to #1480 | openkeeper-pr-audit-1417-1480.md |
| OpenKeeper PR relevance: 1366 to 1400 | openkeeper-pr-audit-1366-1400.md |
| OpenKeeper PR relevance: merged 1296 to 1363, and the behavioural open PRs above 1161 | openkeeper-pr-audit-1296-1363.md |
| Placing a door or trap blueprint during play | blueprint-placement.md |
Hero parties, hero gates, tunnelling and hero behaviour. System id heroes.
| Note | File |
|---|---|
| Hero parties and effect generators: verbatim placed state | hero-parties-and-effect-generators.md |
| Hero-party walking after action 14 | hero-party-walk.md |
| Level 2: what releases hero party 1 from its patrol (Q525) | level2-party-release.md |
| Level 5 Heart defence parity | heart-defence-parity.md |
| Party arrival lifecycle (Q712) | party-arrival-lifecycle.md |
| The Hero Portal is an entrance too, and one implementation serves both | portals-mercenary.md |
| The Wait hold: who can be held by SuspendTime | wait-hold.md |
| The level start's world-seed draws (Level_InitTriggersAndStart) | hero-lair-trestles.md |
| Tunnelling: states 186, 223 and 224 | tunnelling.md |
The AI keeper's building, attack, defence and management decisions. System id computer-keeper.
| Note | File |
|---|---|
| Bridge placement, and the computer keeper's bridges | bridge-placement.md |
| Computer keeper task handlers and room planner | computer-keeper-handlers.md |
| Computer keeper threat and retreat audit | computer-keeper-threat.md |
| Computer keeper: stock Level 10 capture | computer-keeper-observations.md |
| Computer-keeper spell casts: every site | computer-keeper-spell-sites.md |
| Keeper management and battle selection audit | computer-keeper-management.md |
| OpenKeeper PR relevance from #1401 to #1416 | openkeeper-pr-audit-1401-1416.md |
| OpenKeeper PR relevance from #1417 to #1480 | openkeeper-pr-audit-1417-1480.md |
| OpenKeeper PR relevance: 1366 to 1400 | openkeeper-pr-audit-1366-1400.md |
| Player messages consumed by the computer keeper | computer-keeper-messages.md |
| The computer keeper's task dispatcher | computer-keeper-tasks.md |
| The computer keeper, named by DK2 (Q264) | computer-keeper-object.md |
Level scripts, triggers and actions, objectives, win and loss, campaign progress. System id campaign-triggers.
| Note | File |
|---|---|
| Action points: from the THINGS file into runtime state | action-points.md |
Camera paths (.KCS) and their playback |
camera-paths.md |
| Campaign map, progression and what the profile keeps between levels | campaign-map-and-progression.md |
| Campaign win sequence: the Horned Reaper finale, the celebration and the win screen | campaign-win-sequence.md |
| Dungeon Heart destruction | heart-destruction.md |
| Healing a creature on a torture device | torture-captive-health.md |
| Heart and terminal-state resync (Q714) | resync-heart-terminal.md |
| Hero parties and effect generators: verbatim placed state | hero-parties-and-effect-generators.md |
| Level 2: what releases hero party 1 from its patrol (Q525) | level2-party-release.md |
| Level 4 trigger timer stamps | trigger-timer-stamps.md |
| Level-end statistics: the score block, the scores and the statistics screen | level-statistics.md |
| Mechanic: winning, losing, and the fall of a dungeon heart | win-and-defeat.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| Placed things: what a level's THINGS file puts in the world | placed-things.md |
| Player room trigger conditions | room-conditions.md |
| Scripted portal creatures (action 28) | portal-creature-action.md |
| TRIGGERS parameter reads in DKII.EXE v1.70 | trigger-semantics.md |
| The four trigger walkers and what drives them (Q239) | trigger-walkers.md |
| The level time limit, and trigger actions 9, 15, 23, 31 and 47 | level-time-limit.md |
| The trigger dispatch tables, and the arms behind them | trigger-dispatch-tables.md |
| Trigger action arms read whole: 18, 20, 22, 24, 35, 39, 40, 41 and 42 (Q301, Q227, Q607) | trigger-action-arms.md |
| Trigger state: flags, timers, and who owns them | trigger-state.md |
| Unlocking campaign levels for capture (registry) | campaign-progress-registry.md |
| World trigger-tree traversal in DKII.EXE v1.70 | trigger-tree.md |
Camera modes and paths, fog of war, torches and the lighting model. System id camera-lighting.
| Note | File |
|---|---|
Camera paths (.KCS) and their playback |
camera-paths.md |
| Classic dungeon camera | classic-camera.md |
| Classic terrain-light visibility | classic-light-visibility.md |
| Classic vertex lighting | classic-lighting.md |
| First-person target highlight | possession-target-highlight.md |
| Fog of war: what a keeper has seen | fog-of-war.md |
| Fog reveal sources: every writer of the two discovery bits | fog-reveal-sources.md |
| Is the first-person possession picture warped? (projection read) | possession-warp.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| Portal visibility (Q197) | portal-visibility.md |
| Possession colour rendering | possession-colour-rendering.md |
| Possession entry stars (Q749) | possession-entry-effect.md |
| Possession foreground attacks and creature filters | possession-foreground.md |
| Possession on the client: camera, movement and keys | possession-client.md |
| Possession specials, sniper and foreground attacks | possession-special-abilities.md |
| Remaining possession client boundaries | possession-client-completion.md |
| Scripted camera requests during possession | camera-possession-guards.md |
| Static mesh lighting inputs | static-mesh-lighting.md |
| The Dungeon Heart's opening sequence | heart-intro.md |
| The whole-screen colour changes around possession (Q745) | screen-colour-changes.md |
| Wall torches: where DK2 puts them, and which layer owns them | wall-torches.md |
| Wall-flame presentation cadence | torch-animation.md |
The in-game panels, minimap, messages and cursors, and the front-end menus. System id hud-front-end.
| Note | File |
|---|---|
| Bottom panel controls | bottom-panel-controls.md |
| Bottom-panel slot indicators: research, manufacture and spell recharge | panel-indicators.md |
| Bottom-panel tab and button flashing | tab-alerts.md |
| Campaign map, progression and what the profile keeps between levels | campaign-map-and-progression.md |
| Creature hover tint and status flowers | status-flowers.md |
| Creature overview | creature-overview.md |
| Crypt: surviving cut-room content | crypt.md |
| DK2's controls and the default key list | controls.md |
| Floating gold and mana numbers | floating-cost-numbers.md |
| Front-end assets: what the menus, campaign map, movies and menu sounds ship as | front-end-assets.md |
| Front-end menus: start-up, station state machine, menu tree, options | front-end-menus.md |
| Gold under the Hand: hover texture, red pass and the store sparkle | gold-hover-and-sparkle.md |
| HUD visibility | hud-visibility.md |
| Hand cursor and hover feedback | hand-cursor-rendering.md |
| In-game Options pages | options-menu.md |
| Level-end statistics: the score block, the scores and the statistics screen | level-statistics.md |
| Mechanic: the Battle tab — crossed blades, battle records and the zoom to a fight | battle-tab.md |
| Mechanic: the game action table — every player command, and what handles it | game-actions.md |
| Mechanic: the typed cheats, and whether DK2 remembers them | cheats.md |
| Message tabs (menu39) and the message panel (menu40) | message-tabs.md |
| Minimap corner controls and related view navigation | minimap-controls.md |
| Minimap rendering | minimap-rendering.md |
| OpenKeeper PR relevance from #1401 to #1416 | openkeeper-pr-audit-1401-1416.md |
| OpenKeeper PR relevance from #1417 to #1480 | openkeeper-pr-audit-1417-1480.md |
| Placement cursor: cage, tool icon and price | placement-cursor.md |
| Resource HUD | hud-resources.md |
| The Mentor's speech, the notification table, and six lines DK2 never says | mentor-speech-and-notifications.md |
| The dig-tag highlight | tag-highlight.md |
| The notification type table at 0x006A0B00 (all 100 rows) | message-table.md |
| The possession HUD | possession-hud.md |
What torture tells a keeper: 0x004F2370
|
torture-information.md |
| World hover text | world-hover-text.md |
Sound effects, speech, music and their triggering. System id audio.
| Note | File |
|---|---|
| Crypt: surviving cut-room content | crypt.md |
| Mechanic: the dynamic music — what the game asks for, and how the segments follow | music.md |
| Music segment length (Q703) | music-segment-length.md |
| OpenKeeper PR relevance from #1401 to #1416 | openkeeper-pr-audit-1401-1416.md |
| OpenKeeper PR relevance from #1417 to #1480 | openkeeper-pr-audit-1417-1480.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| QMixer distance attenuation: how QMIXER.DLL turns {minimum, maximum, scale} into a volume | qmixer-distance.md |
| Runtime sound requests | sound-playback.md |
| Sound effects: footsteps, the action table, loops and first person | sound-effects-continuous.md |
| Sound effects: native playback and the OpenKeeper audio leads | sound-effects.md |
| Sound effects: objects, doors, traps and the boulder | sound-effects-objects.md |
| Sound effects: spells, shots and combat | sound-effects-combat.md |
| Sound effects: the interface and global requests of phase W8 | sound-effects-interface.md |
| The Mentor's speech, the notification table, and six lines DK2 never says | mentor-speech-and-notifications.md |
What torture tells a keeper: 0x004F2370
|
torture-information.md |
KWD, KLD, KMF, SDT, WAD and save files, and how we read them. System id data-formats.
| Note | File |
|---|---|
| Format and engine: how DK2 plays a KMF animation | kmf-animation-playback.md |
| Format: WAD archive format ("DWFB" v2) + entry compression | wad-format.md |
Format: saved games (.SAV, .QSAV) |
sav-format.md |
| KMF materials: flags, blend, light | kmf-materials.md |
| KWD/KLD record fields completed for M1 | kwd-record-fields.md |
| Mechanic: CREATURES(170) record — the creature definition table | kwd-creatures.md |
| Mechanic: KWD/KLD container format (top-level record header) | kwd-container.md |
| Mechanic: TERRAIN(110), ROOMS(120) and MAP(100) records | kwd-terrain-rooms.md |
| Mechanic: VARIABLES(230) record layout — the global game-rule table | kwd-variables.md |
| Movies: the .tgq container, TQI video and EA ADPCM audio as DKII.EXE plays them | movie-format.md |
| Placed things: what a level's THINGS file puts in the world | placed-things.md |
| Texture codec: engine textures and .444 images | texture-codec.md |
| The VARIABLES corpus, swept (Q84, Q85, and an amendment to ADR-0085) | variables-corpus-sweep.md |
| Where the balance variables go: the id to global map | balance-variables-in-the-binary.md |
Models, textures, animations, effects and the asset pipeline. System id art-assets.
| Note | File |
|---|---|
| Animation replacement and render clock | animation-transitions.md |
| Creature movement dust | creature-movement-dust.md |
| Creature portal arrival effects | creature-arrival-effects.md |
| Crypt: surviving cut-room content | crypt.md |
| Door and trap drawing | structure-drawing.md |
| Dungeon Heart health visuals | heart-health-visuals.md |
| Dungeon Heart mana particles | heart-mana-effects.md |
| Floating gold and mana numbers | floating-cost-numbers.md |
| Format and engine: how DK2 plays a KMF animation | kmf-animation-playback.md |
| Format and engine: room floors, liquid beds and the liquid surface (Q71) | room-floors-and-liquids.md |
| Format and engine: the floor and plain-terrain pieces DK2 draws for a tile (Q71) | floor-and-terrain-pieces.md |
| Format and engine: which wall and floor pieces DK2 draws for a tile (Q71) | wall-pieces.md |
| Front-end assets: what the menus, campaign map, movies and menu sounds ship as | front-end-assets.md |
| Gold under the Hand: hover texture, red pass and the store sparkle | gold-hover-and-sparkle.md |
| How DK2 draws a placed object | object-drawing.md |
| KMF materials: flags, blend, light | kmf-materials.md |
| Mechanic: how DK2 draws its walls (rendering, not simulation) | wall-rendering.md |
| Mechanic: the terrain lattice, DK2's runtime bending of walls and floors (Q72) | terrain-lattice.md |
| Possession entry stars (Q749) | possession-entry-effect.md |
| Room and neutral-Portal border flames | room-border-effects.md |
| Room construction particles | room-construction-effects.md |
| Shot and spell visual effects: trails, timed and hit effects, the Inferno, procedural lightning | shot-effects.md |
| Terrain destruction debris | terrain-digging-debris.md |
| Texture codec: engine textures and .444 images | texture-codec.md |
| The action animation clock | animation-clock.md |
| Wall corner fill | wall-corner-fill.md |
| Wall torches: where DK2 puts them, and which layer owns them | wall-torches.md |
| Wall-flame presentation cadence | torch-animation.md |
| Wet and bloody footprints | creature-footprints.md |
| Where furniture stands in its tile, and which way it faces | furniture-placement.md |
The Unity adapter, rendering, terrain meshes and the presentation boundary. System id presentation-unity.
| Note | File |
|---|---|
| Animation replacement and render clock | animation-transitions.md |
| Classic dungeon camera | classic-camera.md |
| Classic mesh shadows | creature-shadows.md |
| Classic terrain-light visibility | classic-light-visibility.md |
| Classic vertex lighting | classic-lighting.md |
| Creature movement dust | creature-movement-dust.md |
| Format and engine: room floors, liquid beds and the liquid surface (Q71) | room-floors-and-liquids.md |
| Format and engine: the floor and plain-terrain pieces DK2 draws for a tile (Q71) | floor-and-terrain-pieces.md |
| Format and engine: which wall and floor pieces DK2 draws for a tile (Q71) | wall-pieces.md |
| How DK2 draws a placed object | object-drawing.md |
| Is the first-person possession picture warped? (projection read) | possession-warp.md |
| Mechanic: how DK2 draws its walls (rendering, not simulation) | wall-rendering.md |
| Mechanic: the terrain lattice, DK2's runtime bending of walls and floors (Q72) | terrain-lattice.md |
| Possession on the client: camera, movement and keys | possession-client.md |
| Static mesh lighting inputs | static-mesh-lighting.md |
| The whole-screen colour changes around possession (Q745) | screen-colour-changes.md |
| Wet and bloody footprints | creature-footprints.md |
The Godot adapter, its toolchain and editor tooling, and its side of the presentation boundary. System id presentation-godot.
| Note | File |
|---|---|
| First-person target highlight | possession-target-highlight.md |
| Godot torch-light and ambient-occlusion artifacts | godot-torch-light-artifacts.md |
| Possession colour rendering | possession-colour-rendering.md |
| Possession entry stars (Q749) | possession-entry-effect.md |
| Possession foreground attacks and creature filters | possession-foreground.md |
| Possession specials, sniper and foreground attacks | possession-special-abilities.md |
| Remaining possession client boundaries | possession-client-completion.md |
| The possession HUD | possession-hud.md |
Research method, the binary and its tools, captures, the harness and verification. System id tooling-process.
| Note | File |
|---|---|
| Campaign bot ladder: which levels the campaign player wins | campaign-bot-ladder.md |
| Campaign levels as the public text guides describe them | campaign-guide-levels.md |
| Census: what DKII.EXE holds that the function records do not | binary-census.md |
| Decision parity audit, hash 303 | decision-parity-audit.md |
| External resources, and what we may legally take from each | external-resources.md |
| Heart and terminal-state resync (Q714) | resync-heart-terminal.md |
| Imp comparison: snapshot labels and execution clocks | imp-observation-clocks.md |
| Level 4's outcomes: full replays against DK2's own spread | level4-outcomes.md |
| Limits of the Imp decision checker | imp-decision-checker.md |
| Measuring the router against DK2's own route log | navigation-captures.md |
| Method: what the emulator oracle has held to DKII.EXE | emulator-oracle.md |
| OpenKeeper PR relevance from #1401 to #1416 | openkeeper-pr-audit-1401-1416.md |
| OpenKeeper PR relevance from #1417 to #1480 | openkeeper-pr-audit-1417-1480.md |
| OpenKeeper PR relevance: 1000 through 1110 | openkeeper-pr-audit-1000-1110.md |
| OpenKeeper PR relevance: 1366 to 1400 | openkeeper-pr-audit-1366-1400.md |
| OpenKeeper PR relevance: merged 1296 to 1363, and the behavioural open PRs above 1161 | openkeeper-pr-audit-1296-1363.md |
| Packet playback clock | packet-playback-clock.md |
| Q710: fighter decisions after the Level 4 restore | q710-fighter-decisions.md |
| Q712 atomic input controls | q712-atomic-inputs.md |
| Q712: the next matched route-window divergence | q712-route-window.md |
| Runtime entity references and DKII.EXE's own field names (Q264) | debug-dumpers.md |
| Source: the shipped Dungeon Keeper 2 manual (1999) | manual-1999.md |
| The Dungeon Keeper wiki as a source: how, and the licence question | wiki-as-a-source.md |
| The creature and object records, swept for fields that carry no information | record-field-sweep.md |
| The original's own source-file names, and where its code lives | source-file-map.md |
| The resync replay: continuing our simulation from a DK2 capture's state | resync-replay.md |
| Unlocking campaign levels for capture (registry) | campaign-progress-registry.md |
| Verification of ADR-0227 to ADR-0234, 2026-09-26 | verification-2026-09-26.md |
| What DKII.EXE says about itself, without decompiling anything | executable-strings.md |
| What can be settled by playing the game | observation-checklist.md |
Licences, clean-room rules and what may be reused or redistributed. System id legal.
| Note | File |
|---|---|
| The Dungeon Keeper wiki as a source: how, and the licence question | wiki-as-a-source.md |
Getting started
About
Systems
Overview
Generated
- Status Matrix
- Decisions by System
- Research by System
- Open Questions
- KB Coverage
- Simulation Read-Write Matrix
Research
Contributing