docs/models.md said tests/test_skinned_glb.py runs 24 synthetic tests.
`python -I tests/test_skinned_glb.py` runs 30 (Ran 30 tests, OK).
Only the number changes.
Remove an 85-line verbatim repeat of the material shader hashes and effect records subsection (formerly lines 653 to 737) introduced by a repeated merge on main.
@jeremygold02's formula, recomputed here on all 932 records (910 + 22);
the value never equals the serialized record length, so the walk still
finds the next record. Runtime use unknown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The estimates join the performance-map table only loosely and the quarter-mile time collapses to 6.73 + 401.0/v_top (R2 0.99998); ratings are deterministic functions of the estimates. Handling inputs are absent from the readable archives, so the handling fit cannot be verified.
The e293917 re-count table marked the levels.rpf fragment, bone-bound
and triangle cells (and the mesh, vertex and embedded-texture figures)
"not independently reproduced": levels.rpf had a recovery count from
count.exe but no rpf9dump manifest.
A full `rpf9dump models` export of levels.rpf at e293917 reproduces the
recovery count to the row (235,330 candidates, 71 not recovered,
343,327 entries, fail=0; Drawable set on 130,239, null on 213,088) and
gives 50,731 fragments, 59,544 bone-bound, 2,509,947,536 triangles,
3,854,587 meshes, 2,364,218,711 vertices and 1,293 embedded textures.
The same counting reproduces the data.rpf row from a fresh export.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Review on #3809: the weighted formula holds on the 345 blocks with all four
parts above 10, not on all 504; the 24 blocks with an overall of exactly 10
are part of the 159 with a part at 10 (345 + 159 = 504); and the exports show
a minimum, not where the engine clamps. Wording only, no new numbers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The local exporter writes vertex_count and triangle_count, not index_count. Remove the invented index_count from the synthetic fixtures and expect the documented unknown index total; keep index_count optional for inputs that actually supply it.
Measured over the 504 ratingsRoad/ratingsOffroad blocks of common.rpf's CVehicleBaseRatingsAndEstimatesMap
(252 keys x 2 surfaces) from one retail 1.0.2.1 package: fOverallRating = 0.21 fSpeedRating + 0.38
fHandlingRating + 0.40 fAccelerationRating + 0.01 fBrakesRating, weights summing to 1. The residual is at most
7e-5 on the 345 blocks whose four parts are all above 10, and differencing the road and offroad blocks of the
139 keys that are above 10 on both surfaces recovers 0.2100 / 0.3800 / 0.4000 / 0.0100, so the weights do not
depend on the surface.
The 10 floor is on the overall too: 24 blocks whose parts run 10.0 to 11.97 carry an fOverallRating of exactly
10. The other 159 blocks, which have at least one part at exactly 10, sit up to 4.1 below the weighted mean,
which parts raised to 10 from a lower value would explain; no block without a part at 10 deviates.
Counts, ranges and coefficients only: no model names and no per-vehicle values, and no game file is committed.
- shader_disasm: prune stale listings against every input, not the --skip-existing remainder (a resumed run
deleted every listing it had just reused).
- progress_dashboard: a drive-letter path is never inside the repository off Windows (it printed user names);
its own read_text helper is read_utf8, so the encoding check does not take it for pathlib's.
- Translator tests follow this round's rules: desc_lookup's BroadcastFirst in the typed-load condition walker;
resinfo sizes are 0 past the last level and a 2D depth word is 0 (SHADER-388); SHADER-315 constant folding in
the perm and i16 tests; #2089's structured wave64 emulation.
- test_semantic_translator_use: 57 oracle-only files merged before it are DEBT; test_spirv_tools_required is
allowed (CI meta-test).
- Test fixes: image_fuzz fake writes the programs, preflight follows c506d00c's loader hint rule, feature_scan
reads the first line of a pytest-decorated message, w64_graphics wording.
- docs: rows merged again in design.md, README.md, d3d12_vulkan.md; GameInput table rebuilt from #3172's rows;
orphan rows in models.md and embedded_shaders.md; repeated bullets; anchors; a flag not on main.
- Repo rules: stdout guard on 14 programs; LF writes; csv lineterminator in bink_play.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremygold02's formula, recomputed here on all 932 records (910 + 22);
the value never equals the serialized record length, so the walk still
finds the next record. Runtime use unknown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The table-location caveat is gone: tests/test_sgd5_effects.py passes
against this package. The u32 after an effect name stays open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With @jeremygold02's tools/sgd5_effects.py (#3036, 0029eba7) on the same
shaders.rpf: 932 effect records with distinct name hashes, 913 technique
tables, 25,037 techniques and 28,798 passes, and the data.rpf materials'
18 hashes (3,340 slots) each matching exactly one record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The group walk (@jeremygold02) reproduced on the same archive: 11,018 /
10,944 / 195 / 0 / 0 / 2,647 programs and 910 effects in the first
database, 500 / 1,157 / 0 / 0 / 0 / 42 and 22 in the second, adding up to
the whole carve. Group 2 is the GS. His census of both databases' effect
tables is reported as his.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by @jeremygold02 in #2519 and reproduced on three records of the same
shaders.rpf. The run-time choice of technique and pass, and a general locator
for effect records, stay open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The table-location caveat is gone: tests/test_sgd5_effects.py passes
against this package. The u32 after an effect name stays open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With @jeremygold02's tools/sgd5_effects.py (#3036, 0029eba7) on the same
shaders.rpf: 932 effect records with distinct name hashes, 913 technique
tables, 25,037 techniques and 28,798 passes, and the data.rpf materials'
18 hashes (3,340 slots) each matching exactly one record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Zero zero-weight joint indices before the palette lookup, so the numpy path matches the stdlib path instead of raising IndexError.
Strengthen the packed test to set bits 12-15, and add tests for mesh_blob.sections and the empty component list. Document that only 0x8C is accepted (no measured 0x8B layout), add the 0x8C docs row and correct the test count to 15.
The group walk (@jeremygold02) reproduced on the same archive: 11,018 /
10,944 / 195 / 0 / 0 / 2,647 programs and 910 effects in the first
database, 500 / 1,157 / 0 / 0 / 0 / 42 and 22 in the second, adding up to
the whole carve. Group 2 is the GS. His census of both databases' effect
tables is reported as his.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by @jeremygold02 in #2519 and reproduced on three records of the same
shaders.rpf. The run-time choice of technique and pass, and a general locator
for effect records, stay open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A material's shader hash (rpf9dump manifest Materials[].Shader) is the joaat of its effect name, and the
carve index names every compute program <effect>:<entry>, so a material reaches its effect and that
effect's RaytracingResolve programs: 3,211 of data.rpf's 3,340 materials (8 of 18 hashes). The 23,619
graphics programs carry no effect name, are not stored grouped by effect, and their 8-hex suffix neither is
a joaat of the name nor matches the effect-named programs' suffixes, so effect -> technique -> VS/PS is not
recoverable from the package (presumably in the executable, RT-5). Measured on a 1.0.2.1 copy, counts only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>