Reject champion's bones (misc #0) in dungeon.dat builds #425

Closed
opened 2026-10-30 13:22:14 +01:00 by jqueuniet · 0 comments
Owner

Misc #0 is a champion's bones: named {hero_name}BONES, with state picking the champion ([SKPROJECT] SKWINSPX GET_ITEM_NAME), matched by the altar of rebirth (PROCESS_TIMER_RESURRECTION). It only exists in saves, created on a champion's death. In dungeon.dat it has no meaning: loaded, it would name a member of whatever party plays.

No retail or demo dungeon.dat carries one (DOS EN/DE/FR, Mac US/FR, beta, demos). Generic bones are misc #52 (BONES) and #61 (BONE).

Reject misc #0 records when building a dungeon.dat (dm2 build, dungeon_from_json and bindings) and in editor validation. Parsing keeps accepting them, so beta or modded files stay readable.

https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7

Misc #0 is a champion's bones: named `{hero_name}BONES`, with `state` picking the champion (`[SKPROJECT] SKWINSPX` `GET_ITEM_NAME`), matched by the altar of rebirth (`PROCESS_TIMER_RESURRECTION`). It only exists in saves, created on a champion's death. In `dungeon.dat` it has no meaning: loaded, it would name a member of whatever party plays. No retail or demo `dungeon.dat` carries one (DOS EN/DE/FR, Mac US/FR, beta, demos). Generic bones are misc #52 (`BONES`) and #61 (`BONE`). Reject misc #0 records when building a `dungeon.dat` (`dm2 build`, `dungeon_from_json` and bindings) and in editor validation. Parsing keeps accepting them, so beta or modded files stay readable. https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jqueuniet/dm2-tools#425
No description provided.