diff options
| author | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 17:41:06 +0100 |
|---|---|---|
| committer | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 17:41:06 +0100 |
| commit | e801a13a2e7f85d3a63c900de3b870545698db2e (patch) | |
| tree | 4e7f0f291f835dfcb7de8faa30102d4dc2f69bf1 /runtime/src/xma2_decoder.cpp | |
| parent | d5634defe4030ec12558f70492fd7322ddaf5873 (diff) | |
world_archetypes: read a carved resource's continuation file too (WORLD-ARCHETYPES-FOLDER-CONTINUATION)
On a folder of carved streams, world_index.scan_path joins a 0x7a
resource whose blocks run past its stream with the file of the stream
that followed it (rpf9_carve's index.json), and reports the joined
length as the row's size but only the first file as its "file".
iter_resources then re-read that first file alone, so every block in
the continuation was lost without a warning: archetype definitions and,
for --check-extents, map entity blocks. The same two streams in an RPF9
window are joined by WC.assemble and read in full. docs/world_census.md
counts 2,868 maps that join a continuation.
Join the same files in iter_resources: follow the carve's successors
while the data is shorter than the row's size.
Tested: new test_folder_joins_a_continuation_file_as_world_index_does
(on main the folder gives 0 archetypes instead of 2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions