diff options
| author | Rafael <rafaelalvesp2005@gmail.com> | 2026-11-22 02:05:33 -0300 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 00:33:52 -0500 |
| commit | f2a63040805068afa69638bb8c755c53b42a7cc8 (patch) | |
| tree | 16adfa8c1b14adacc97062c6ba3e028a00a4496e /docs/coder.md | |
| parent | 73c06f9fb63d5a7184b64130442d75c79efcfa9e (diff) | |
story/anim/rbf0_index: skip the carver's index.json and .csv reports in a carve folder
In directory mode the three tools read every regular file, so rpf9_carve.py's index.json (and any
.csv report next to the streams) was counted as a payload, with a made-up offset (its position in
the listing). On a 1.0.2.1 copy's script.rpf carve (1,057 streams) each reported 1,058 files, and
the inflated total was off by exactly the index's size; on the data.rpf carve rbf0_index reported
28,510 streams for 28,509.
page_index.py and navmesh_decode.py already skip .json and .csv; the three tools now do the same.
story_index keeps skipping its own report as well (#712).
Tests: each tool gets a carve folder with three streams plus an index.json and a report.csv, and
must list only the three streams. All three fail on the old code (offsets 3 and 4, or 4 streams
for 2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 7372a903afdb4b6f1a9aa7df7e60283848965dc5)
Diffstat (limited to 'docs/coder.md')
0 files changed, 0 insertions, 0 deletions