Commit Graph

49 Commits

Author SHA1 Message Date
603d53eb36 ASSET-539: Preserve extra UV sets during ped assembly (#6604)
Squash-merged after diff review of PR #6604
2026-11-23 11:18:11 -06:00
3717a4da0e Merge pull request #4179 from Tim Elery
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:04 -05:00
de9f9319db Merge pull request #3846 from erickbobd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:51 -05:00
2441b282ac tools: add modular ped body assembler, coplanar seam stitcher, and pipeline docs 2026-11-22 15:47:07 -08:00
80d2135821 docs: export each TTPF pool under its own parent folder (ASSET-229)
The 57 pools have 51 distinct basenames, and rpf9dump writes a pool's
catalog to <output root>\<basename>, so one shared output root lets later
pools overwrite earlier catalogs. The recipe now gives each pool its
package-relative parent folder as output root, and the lookup compares the
catalogs' src paths with the enumerated pools instead of counting files.
Also drops a duplicated Python block in the same recipe section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:50:09 -03:00
945f236ed4 Merge pull request #3756 from kapitche 2026-11-22 17:03:36 -05:00
893ad1f982 docs: fix pool lookup and qualify skin interpretation (ASSET-229) 2026-11-22 19:01:16 -03:00
f3072c31ee fragment_children: raw child-drawable census of fragments; record the levels.rpf result (ASSET-261)
Walks the fragment drawable array (u16 at +0x30 records, 0x110-byte stride) and scans the system pages for
other drawable bodies, over any plain RPF9 archive, with --jobs/--start/--end. Synthetic tests only.
docs/character_models.md: levels.rpf and data.rpf counts next to the packs.rpf ones.
2026-11-22 16:28:16 -05:00
494d9247a9 Merge pull request #3256 from erickbobd 2026-11-22 15:16:15 -05:00
b3b85737cb Merge pull request #3009 from Emma
# Conflicts:
#	docs/character_models.md
2026-11-22 15:14:02 -05:00
2a503e61e2 Merge pull request #1534 from Kam471
# Conflicts:
#	docs/character_models.md
#	docs/character_skeleton.md
2026-11-22 15:09:44 -05:00
c94fbce94c docs: materialid on the four garments as measured, and textures.md agrees (ASSET-230 review)
Review of #3009:

- character_models.md said materialid is "declared but unbound on the jacket"
  and "unbound on all four". The jacket's and the crop tee's material rows
  reference a BC4_UNORM texture that is in the pools; the bikini top's and the
  undies' rows have no such slot. Whether a shader samples it is not measured.
- textures.md still said "the jacket, crop tee and other garments have no
  albedo". The bikini top and the undies are on other shaders and account for
  nine of the 0xC8E8C282 references (six and three material rows).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 21:58:16 +02:00
c6901b4ce0 docs: hands and feet use the body skin sheets, whose albedo is not in the package (ASSET-229)
Measured on my own 1.0.2.1 package against the catalogs of all 57 TTPF pools
(357,115 textures). The hand and feet materials bind four maps on shaders
210FBC6A and 8D69EDAB; only the two normal maps are in a pool. The six other
slots of each material bind 0x5D7A3A87CC19967D, in no pool either.

The hands share all four keys with bodynipplesgen_fr1_000 (the female upper
body, core_restofworld.rpf); the feet share specular, normal and ORM with
bodygenitalsgen_f*1_008. Those sheets miss their albedo too, while the male
lower body has all four maps. None of the keys appears in another resource of
the archives the reader can open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:53:41 -03:00
42417783c2 docs: correct the hair census rows and drop the duplicate snippet
The manifest has three player_story000_00 hair rows, not ten, and the measured set is 267 rows (219 stubs, 48 larger). List the six larger rows the old summary omitted and remove the repeated Python block.
2026-11-22 19:15:50 +00:00
3827562207 docs: correct the raw-scan total and ped variation manager claims
The component list already summed to 2,631, so replace the contradictory 453 total and spell out that the 908 are the resources using the skin/flesh shader. On the skeleton page, name both common.rpf managers and state that neither maps a variation index to a drawable plus texture, replacing the false claim that no such manager exists.
2026-11-22 19:06:57 +00:00
9b54495ae5 docs: the bikini top and the undies have an albedo (ASSET-230)
docs/character_models.md listed two garment rows as "none / unverified - likely
speculartex only". Read from the e293917 packs.rpf model export the way the
jacket and crop-tee rows read:

- all three records of each drawable bind 0xC8E8C282 (diffusetex) to the key
  the table already gave, on shaders 84af5c61/81153bcc/76c45dd8/428b44d6 and
  a9dfb1e7/428b44d6, not on the garment shaders;
- both keys are 512x256 BC3_UNORM_SRGB textures with 7 mips in the ttdb_peds
  pools; their speculartex keys are other, BC7_UNORM textures;
- over the whole export the three garment shaders never bind the slot (0 of
  7,948 material rows) and those five always do (1,372 of 1,372).

So "no clothing item in this wardrobe has an albedo" holds for the jacket and
the crop tee only. The Reproduce section gains the material-row snippet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 21:06:05 +02:00
a4b120925a docs: record the full raw-RSC body scan 2026-11-22 19:04:29 +00:00
136b0e07a8 Merge pull request #1534 from Kam471 2026-11-22 13:12:32 -05:00
3b05703f3a docs: record the full raw-RSC body scan 2026-11-22 16:49:49 +00:00
85f61c8694 Merge pull request #2212 from cxchhh
# Conflicts:
#	docs/README.md
#	docs/character_models.md
2026-11-22 11:42:54 -05:00
a843b69bf3 docs: no authored clothing colour exists in the garment data 2026-11-22 16:24:06 +00:00
c8cb0aa0a8 docs: record the raw-RSC body scan negative 2026-11-22 16:23:21 +00:00
b745f93946 anim_glb: export a skinned part with its skeleton and clips as an animated GLB
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>
2026-11-22 16:17:37 +00:00
9905e77b42 docs: record the bodyupper and fragment-child negatives 2026-11-22 16:00:45 +00:00
d91bdcf8e0 docs: record the story000 negative and the Mandy 0/18 hashes 2026-11-22 15:53:10 +00:00
69c96fa641 docs: the body is 874 v, and list the denser garment rows 2026-11-22 15:47:49 +00:00
b6453fe24c docs: the delivered GLBs are static, not identity-IBM skinned 2026-11-22 15:41:10 +00:00
9ffe000919 docs: replace the duplicated hair claims with the measured census 2026-11-22 15:40:21 +00:00
6380eb73fd docs: correct the character texture-slot roles 2026-11-22 15:39:08 +00:00
0c97880f54 docs: the 874-v body's clothing is modelled geometry 2026-11-22 15:26:59 +00:00
200bac3baa docs: drop the duplicate jacket, tee and slot rows 2026-11-22 15:26:59 +00:00
77a82d7c1a Merge pull request #1870 from Vonsek
# Conflicts:
#	docs/character_models.md
2026-11-22 09:48:57 -05:00
02eccb8b8c docs: drop merge-duplicated bullets in d3d12_vulkan.md and character_models.md
d3d12_vulkan.md listed its RTV/DSV bullet twice (the second an older
version) and the "Hash-table cost" and "Wave64" risks twice each; keep the
current copy of each (the hash bullet with the Intel/RTX 5070 Ti/RDNA3
measurements, the wave64 bullet with the per-stage subgroup rule).
character_models.md kept the first line of a rewritten bullet. The new test
flags a list item whose opening repeats within a few lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:44:25 +01:00
1a098361e5 docs: decode the cs_mandy model id and the shared cutscene body 2026-11-22 14:37:29 +00:00
4847c04c7b docs: record the Mandy mission binding and the generic mannequin body 2026-11-22 14:37:14 +00:00
4139be0d80 Merge pull request #1534 from Kam471 2026-11-22 08:38:02 -05:00
24f0efd5b8 docs: the face comes from the head-skin preset, not the head material 2026-11-22 13:10:36 +00:00
38ca58e866 Merge pull request #1534 from Kam471
# Conflicts:
#	docs/README.md
#	docs/character_models.md
2026-11-22 08:08:03 -05:00
926f51605e docs: record the character material audit and the inseparable belt 2026-11-22 12:56:14 +00:00
a66b45462c docs: record the tested fragment-child negative for characters 2026-11-22 12:44:35 +00:00
ef4f6b5227 docs: correct the fragment shape, normal-map keys and token notes 2026-11-22 12:41:08 +00:00
cd71e717ce docs: scope the full-body negative to lucia-named records 2026-11-22 12:41:08 +00:00
843f2e379f docs: make the character re-count snippet runnable in PowerShell 2026-11-22 12:41:07 +00:00
7bf0e941fb Merge pull request #1534 from Kam471
# Conflicts:
#	docs/README.md
#	docs/character_models.md
2026-11-22 07:38:04 -05:00
3454440dbf docs: correct the fragment shape, normal-map keys and token notes 2026-11-22 12:33:25 +00:00
523341f95e docs: scope the full-body negative to lucia-named records 2026-11-22 12:27:13 +00:00
fec74d5393 docs: make the character re-count snippet runnable in PowerShell 2026-11-22 12:27:13 +00:00
768f8a9536 docs: record the measured character-part inventory (packs.rpf, e293917)
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.
2026-11-22 12:27:13 +00:00
2cfe6a1d04 docs: record the measured character-part inventory (packs.rpf, e293917)
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.
2026-11-22 12:02:36 +00:00