docs: fix doc/code inconsistencies across formats, CLI, and specs #282
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/fix-high-consistency"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes a batch of documentation/spec facts that had drifted from the code, found by a global doc↔source consistency audit across the CLI, save format, binary formats, audio, and
.ksyspecs. Documentation-only except one Rust doc-comment; no behavior changes. Every edit was verified against the cited code, and all six edited.ksyfiles compile withkaitai-struct-compiler.HIGH (would mislead into a broken command / corrupt data / wrong output)
--clear/--move/--copyexamples now pass--gdat(the CLI hard-errors without it for edits); prose + context-file table mark--gdatrequired for inventory mutations.v1d64d3dynamic mask swap is type‑14 Missiles inside a creature sub-chain, not type‑15 Clouds (clouds are read unconditionally); matchesrecords.rs/checkcode.rs. Phase 6 retitled "timer-actuator links" to match its own body.1.72×(≈ +4.7 dB), matchingRenderOpts::default.MED (stale / internally-contradicted format facts)
unknown_36is per-save (not constant0xf858); DOS detection keys only onw_timer_flag == 1. SaveEffects masktable1d6456→table1d645d.chargedocumented as editable under the moneybox mask (was listed "not modeled").b_04&1only as no-GDAT fallback); chest contents routing is class parity (class&1); phases decode 4→5→6→3→7; raw arrays carry no mask.count→width; inst[5]flags /transposei16 / smod params; song real field names; sksave body-decoded note + headerw_timer_flag/w36/w38fixes. Byte layouts unchanged.Chest::unused, now decoded as the MAP-container teleport destination;chest.rsdoc-comment synced with its accessors.[SCUMMVM]external-reference tag.LOW (citations / cosmetic)
--name2. music.md — drop the phantom--by-categoryflag.i16.checkcode.rsline citations and the packed[u8;16]alt-species mask bit-indexing.n_records' 16 slots are fully decoded viaDB_SIZES.