Skip to content

docs: re-measure the skin-stream census at main (BUILD-826): 184,393 meshes, both 16-bit forms in levels.rpf - #5016

Open
lunarminus wants to merge 1 commit into
ItsNotRexed:mainfrom
lunarminus:build-826-skin-census
Open

lunarminus wants to merge 1 commit into
ItsNotRexed:mainfrom
lunarminus:build-826-skin-census

Conversation

@lunarminus

Copy link
Copy Markdown

Item: BUILD-826, an independent retail validation of the skin-stream census #2836 documents (claim: #4933 (comment)).

What

docs/character_skeleton.md "Vertex skin streams (ASSET-12)" still had the first measurement, taken at e23e2da0: 102,303 skin meshes / 140,830,768 vertices. On my own 1.0.2.1 copy, tools/skin_streams.py on main (3faac557) finds 184,393 / 224,985,477. That count includes both 16-bit index forms in levels.rpf, which the text said don't appear. This PR updates the table, the totals and the two validation bullets, and records where the difference comes from. Docs only; no code change.

Measured (counts only)

Archive e23e2da0 (the doc) 3faac557 (main)
data.rpf 3,222 / 3,854,484 4,026 / 6,113,654
packs.rpf 45,854 / 60,142,591 48,375 / 60,205,616
levels.rpf 53,227 / 76,833,693 131,992 / 158,666,207
  • The old numbers aren't a measurement error. The tool at e23e2da0 reproduces them exactly on this copy.
  • Cause: I ran the tool at each later revision that touches the walk. Every revision with BUILD-173 (918e8256, fragments whose optional header pointers are null) gives the new totals. Every one without it (4dd254ab, 39f0cd70, e41dd4f6, which are on other branches) gives the old ones. skin_streams: validate the dictionary first-child pointer #2836's d721e851 gives the new ones.
  • Per layout at 3faac557:
    • 4-inf 8-bit 109,976; 8-inf 8-bit 23,905; 4-inf packed 19,965; 8-inf packed 16,172;
    • 4-inf 16-bit 416 (indices R16G16B16A16_UINT);
    • rigid 8-bit 12,715; rigid 16-bit 1,244.
    • 0 meshes unclassified. Skipped candidates: 80 / 85 / 30,016.
  • Validation (--sample 96, as in the doc): 0 out-of-range indices in every layout of every archive, including both 16-bit forms.
    • Weight sums are exactly 255 for every sampled vertex of every weighted layout in data.rpf and levels.rpf (the 16-bit 4-influence layout: 1,586,335 sampled vertices).
    • The packs.rpf packed 4-influence rounding is unchanged: 31,884 / 11,604 / 7,160 of 50,648, min 164.

Tested

tests/test_docs_*.py: OK. git diff --check: clean. Linux, Python 3.14, CPU only.

AI-assisted (Claude Code). No game data: counts and commit hashes only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BzPoR7BgcXfXLLrqxDrn7Y

The "Vertex skin streams" table still had the first measurement (e23e2da): 102,303 meshes. The tool on
main finds 184,393 meshes / 224,985,477 vertices on the same 1.0.2.1 package, including both 16-bit index
forms in levels.rpf, which the text said do not appear.

Measured on my own copy: the e23e2da tool reproduces the old numbers exactly, every tool revision with
BUILD-173 (918e825, fragments with null optional header pointers) gives the new ones, and the revisions
without it (4dd254a, 39f0cd7, e41dd4f) the old ones. The sampled validation (96 meshes per layout per
archive) finds zero out-of-range indices in every layout, the 16-bit ones included, and weight sums of
exactly 255 everywhere except the documented packed 4-influence rounding in packs.rpf (same counts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BzPoR7BgcXfXLLrqxDrn7Y
@Kev-Ball

Kev-Ball commented Nov 23, 2026 •

Copy link
Copy Markdown

The 96-mesh weight-sum result holds for the documented sample, but there are exceptions in the full data.rpf census at 3ee23bda. With tools/skin_streams.py --sample 1000000 on my 1.0.2.1 copy, the tool validated all 4,026 meshes / 6,113,654 vertices it classified. All use the 4-influence 8-bit layout.

I independently summed the four source weight bytes per vertex on the same archive walk. 41 vertices sum to 127, 8 sum to 169, and 6,113,605 sum to 255. The 49 exceptions span four meshes. The stock validator found zero out-of-range indices among 6,159,155 checked components and zero descriptor mismatches.

Please qualify the general weight-sum statement in the layout section and the later sentence that says the source u8 weights sum to 255. The census totals themselves matched. CPU-only on CachyOS, counts only, AI-assisted.

Update for packs.rpf: all 48,375 classified meshes / 60,205,616 vertices were validated. The 8-bit 4-influence layout also has exceptions outside the sample. Of its 2,683,066 vertices, 2,263,766 sum to 255, 231,927 to 247–254, and 187,373 to 127–246. Both 8-influence layouts sum to 255 at every vertex (56,758,945 vertices combined). For packed 4-influence vertices, the same three weight-sum bins contain 580,820 / 110,703 / 72,082 vertices. No out-of-range index components or descriptor mismatches were reported in any layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants