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>
tools/anim_glb.py reads a fragment's skeleton (drawable +0x18: bone records,
inverse bind matrices, parents), binds part meshes to it through the model
bone list at grmModel+0x28 (ASSET-12 skin layouts), and writes decoded
anim.rpf clips as glTF animations: bonerotation/bonetranslation/bonescale
drive the joint with the track's bone hash, bone hash 0 drives a mover node,
and a clip entry maps animation time t to (t - start) / rate. --coverage
counts how many clip bone tracks name a skeleton joint.
docs/character_skeleton.md: the instance table was read 0x40 bytes late, so
each row paired a bone with the next bone's TRS. Read from the record start,
the default transforms compose to the stored inverse bind matrices (5.1e-6 m
female, 3.3e-6 m male, all 14,212 skeletons in packs.rpf within 1e-3). The
model bone list is at +0x28, not +0x20. New "Animated glTF export" section
with the measured counts; animation.md, models.md, character_models.md and
the docs index follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
story000_restofworld already recovered its 3 models at 917e9b9, so its delta is 0 and the 917e9b9 baseline is 350,251 models / 159,486 children; the ten-archive delta is +32,530. The levels.rpf fragments/bone-bound/triangles cells have no manifest or harness fields, so they and the totals derived from them are marked not independently reproduced. Add the measured levels.rpf name-pass coverage to world_names.md.
The models.md re-count item was still open. Re-run rpf9dump models over
the same archives at e293917 and record the rows: 39,454 excluding
levels.rpf, +3,206 over 917e9b9, almost all recovered fragments (2,551
in packs.rpf, 594 in data.rpf). Split each archive by IsFragment and
update the packs.rpf paragraph and the README line.
levels.rpf and the triangle totals were not re-run; the table says so.
Add docs/character_models.md and link it from the docs index and models.md.
The page records what the character export actually contains, so a preview
cannot quietly present a proxy or a placeholder as Lucia's hero asset:
- 26,585 manifest rows / 11,335 unique names: 23,720 drawables, 2,865 fragments.
- Every fragment exports as a 25-vertex bounds cube with Embedded: null; child
drawables are not walked.
- Lucia's 22 named records and the 13 decoded parts, with vertex/triangle counts
and albedo keys. The head drawable has no texture reference.
- The only Lucia full body is cs_lucia_legacypedcs (874/640-vertex rows,
1,748/1,816 decoded): a clothed legacy ped, not a base body.
- player_story000_00 is 104 unique names = 63 drawables + 41 bounds fragments.
- Slot-token counts, with the explicit caveat that they are a name heuristic.
- Texture coverage 184/215; only 0xC8E8C282 is sRGB albedo; hands/feet keys
unresolved.
- Not decoded: fragment children, a ped-variation table (the two common.rpf
managers are height/shape and gameplay components, not appearance),
Lucia's hair (3-vertex placeholders), levels.rpf names, and bind pose.
Counts and ranges over the one CVehicleBaseRatingsAndEstimatesMap document in
common.rpf: 252 entries keyed by vehicle model name (all are .yft base names),
road/offroad ratings with a floor of 10 that are not 0..1 fractions,
SI-looking estimates, and 0/inf sentinels a parser must accept. No names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Counts over the one CVehicleDistantLightData document in common.rpf: 1,980
recipes for 319 vehicle models, all of which exist as .yft (with _hi
variants) in the archive catalog; secondary recipe tokens; and no stored
light data (every lights list is empty). No names or values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rpf9dump exports both raw. On a 3,000-model sample (27,435 shaders) the mask
is 0xFF00 | 1 << (bucket & 0x7F) in every shader, bit 7 of the bucket is a
separate flag, and the bucket values 0-6 follow GTA V's drawable bucket list
(opaque, alpha, decal, cutout, no splash, no water, water), checked against
model-name tokens. Counts only.
AI-assisted (Claude). Measured on my own copy (1.0.2.1); docs only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 1,009 levels.rpf rejects in the last shard are texture dictionaries,
not incomplete or duplicate tail pages, and 28 more in shards 1 to 7 are
models the probe caps reject. The 27 standalone models below c3708fb are
those capped models, not merged duplicates. Adds a per-archive table of
reject classes and links the upstream fixes (rpf9-explorer#9, #11).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fresh scan/recover at the new pin, no cache, across every model-bearing archive. The new pin recovers 350,248 models (159,483 drawable-dictionary children) against 190,792 at c3708fb.
Per archive: levels.rpf 314,000 (130,225 children), story000 7,460 (4,156), packs 24,034 (23,720), data 2,581 (268), shared_minigame000 1,288 (317), core_restofworld 885 (797). The standalone total is 190,765, 27 below the c3708fb recovery (duplicates merged). levels.rpf is the sum of ten parallel recovery shards over 206,981 candidates; the last shard rejects 1,009 incomplete/duplicate tail pages. Triangle totals and the C# TTPF texture counts were not re-run.
Full rpf9dump models export of packs.rpf at the new pin: ok=24,034 fail=0 skip=0 in 263 s, 0 embedded textures. The manifest and OBJs are local; only the counts are recorded.
The 48557ea pin predates the merged model-layout recovery, the packs.rpf drawable-dictionary roots, the TTPF compact/array/cubemap/volume layouts and the external skeleton reader. Re-pin to upstream 917e9b9.
rpf9dump now passes e.ResourceDrawableOffset to RageModelDecoder.Decode; without it every dictionary child would decode as the first child. The manifest also records Drawable so a row can be traced to its dictionary offset.
Measured on the 1.0.2.1 package with .NET 8.0.428: a fresh packs.rpf scan recovers 24,034 models (23,720 dictionary children plus 314 fragments) from 23,838 candidates, against 314 at the old pin. docs/models.md keeps the 48557ea/c3708fb table as the control and adds the new packs.rpf result; docs/design.md notes the other archives were not re-counted at the new pin. Build: 0 warnings, 0 errors.
Add a character-skeleton page: 597-name #ft table, the following 597-record parent/reference-TRS table, the model bone-hash mapping, and the character material texture-parameter split. Update animation.md with the partial clip decode (two named clips, 0x48-byte track arrays, 63/38 and 12/38 masks) and the 46-byte MoVE header correction. Link the new page from models.md and design.md. No game data.