Its data-table section globbed `/work/sylph_extract/**/*.pak`, a path that has existed nowhere since `/work` became a clone. The glob matched nothing, so the section reported "0 disc names" and an empty table with no error — while the committed `docs/re/data/name-block-bases.txt`, generated back when the path existed, records 13 450. The disc is required for that section, so a missing or non-disc `$SYLPHEED_DISC` is now an error (exit 1), not an empty result. Verified: without the disc, exit 1 with the message; with `SYLPHEED_DISC=…/sylph_extract` (the original /work/sylph_extract), the section reproduces the committed figures exactly — 13 450 distinct disc names, 50 / 261 data-table rows, `sub_82341A20 r30 0x82088F94 217 names 89% disc`. ⚠️ The artefact itself is deliberately NOT regenerated. Rebuilt from the current database it changes findings — solved bases move, three 15/15 rows vanish, −280 lines — and the cause is the database, not this script: the string extractor's Shift-JIS path requires kana, so kanji-only Japanese (e.g. the allocator's `32B 未開放 %4d : 最大…使用量 %4d / %4d` debug lines) is not in `strings`, and the bases those names pinned no longer resolve (sub_8285F2C8 r5 @ 0x820AE7AC: 15/15 before, 7 now). Regenerating would bake that regression into a cited research artefact (`docs/re/structures/player-tuning-tables.md`). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
12 KiB
12 KiB