Skip to content

docs/README: index the merged ped_catalogues.md and strand_grooms.md pages - #5664

Open
evilclanker9000 wants to merge 2 commits into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/4-docs-index-missing
Open

evilclanker9000 wants to merge 2 commits into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/4-docs-index-missing

Conversation

@evilclanker9000

Copy link
Copy Markdown
Contributor

What and why

docs/README.md is the index of the notes under docs/, but two pages that are already on main never got a row: docs/ped_catalogues.md (37077102e, #4187) and docs/strand_grooms.md (d8bfb820d, 4e624fd7e). Without a row they are only reachable by guessing the file name.

This adds one row for each in the "Archives and assets" table, using only what the pages already state:

  • ped_catalogues.md: struct 0x8dcb4cf5, resource-packed 0DRP v122 in packs.rpf and standalone PSIN, the 88-byte preset record with its parent_id inheritance, the cull_drawable chain.
  • strand_grooms.md: smh groom LOD resources behind a one-triangle .#dr stub, the 0x150-byte per-instance record (t71) with its 256-bit style mask, and the smh_pose_0_CS_PreSkinSimGuides/smh_gen_1_CS_InterpolateStrands path.

Test

python -c "import glob,os;idx=open('docs/README.md',encoding='utf-8').read();files=[os.path.basename(f) for f in glob.glob('docs/*.md')];print([f for f in files if f not in idx and f!='README.md'])"
python -I tests/test_docs_table_rows.py
python -I tests/test_docs_links.py

Before: ['modding.md', 'ped_catalogues.md', 'strand_grooms.md'] (modding.md is in #5584 / #5308).
After: ['modding.md'].

test_docs_table_rows.py: 2 tests, OK. test_docs_links.py: 6 tests, OK.

No new test: a docs-index row has nothing to assert beyond the table-shape tests above, which already cover docs/README.md and still pass.

GPU and driver

No GPU needed.

Notes

I kept both rows in "Archives and assets" instead of moving strand_grooms.md to "Runtime, GPU and validation": the page's measured content is the groom resource layout, next to character_models.md and character_skeleton.md.

AI-assisted.

@mrbean56

Copy link
Copy Markdown

Read 77179247b6: both indexed pages exist at this base and the rows match their content.

  • docs/ped_catalogues.md (title "Ped Appearance Catalogues (0x8dcb4cf5)"): the row's two framings, the 88-byte preset record and the cull_drawable chain are the page's own three sections; docs/strand_grooms.md (title "GPU Strand Grooms (smh)"): the .#dr stub, the 0x150-byte t71 record and the two smh_* shader names are in the page.
  • The README is alphabetical, and both rows land in the right place.

No GPU, no game data. AI-assisted.

@cynbun

cynbun commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Reviewed 7717924 (claims checked against main 561b65a, docs tests on Linux, Python 3.14.8): pass, one nit

  • Both pages are on main with no index row, and no other open PR touching docs/README.md adds one. Every term in the ped_catalogues.md row is on that page: struct 0x8dcb4cf5, 0DRP v122 in packs.rpf and standalone PSIN (docs/ped_catalogues.md:3-6), 0x50000000-based pointers (:28-34), the 88-byte preset 0xf795e8ba (:60), parent_id (:65, :129) and cull_drawable. The strand_grooms.md row matches docs/strand_grooms.md:3-9 and :45.
  • Nit, docs/README.md:25: "the 0x150-byte per-instance record (t71) with its 256-bit style mask". The mask is not in the t71 record. It is at +0x10 of the 0xb0-byte t72 style record that the instance selects with its +0x58 index (docs/strand_grooms.md:51). Something like "…(t71), whose style index selects a 256-bit region mask" would match the page.
  • All 11 tests/test_docs_*.py pass, git diff --check clean, merges clean with main and with the other mergeable open PRs touching docs/README.md.

AI-assisted (Claude Code).

@evilclanker9000

Copy link
Copy Markdown
Contributor Author

Thanks, both. The nit is right: the 256-bit mask lives at +0x10 of the 0xb0-byte t72 style record, and the instance only selects it with its +0x58 index (docs/strand_grooms.md:45-51). Pushed 95c86e9, which rewrites the strand_grooms.md row as "the 0x150-byte per-instance record (t71), whose +0x58 style index selects a 0xb0-byte t72 record with its 256-bit region mask".

Re-ran the docs tests on Windows, Python 3.13, after the change: python -I tests/test_docs_*.py (all 11 files) and python -I tests/test_i18n_index.py pass, git diff --check clean. No GPU, no game data.

AI-assisted.

@kapitche

kapitche commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Tested 95c86e9 merged with main 561b65a (PR already based on it) on Linux WSL2, Python 3.12.16: pass

Docs-only PR. tests/test_docs_*.py: 33 run, 33 passed.

Checked the two new docs/README.md rows against the pages: both files exist; ped_catalogues.md has struct 0x8dcb4cf5 (5 mentions), 0DRP v122 and standalone PSIN, the 0x50000000 virtual pointer base, the 88-byte preset record 0xf795e8ba with parent_id, and the cull_drawable chain; strand_grooms.md has the one-triangle stub drawable, the t71 0x150-byte record with +0x58 style index into t72 (0xb0-byte records, 256-bit region mask) and both smh_pose_0 / smh_gen_1 shaders. Table rows have the right cell count (no stray pipes). Negative control: not applicable (docs only). No issue found.

@larpinguser larpinguser left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Adds two rows to the docs/README.md index: ped_catalogues.md (struct 0x8dcb4cf5 in 0DRP v122 within packs.rpf and standalone PSIN, the 88-byte preset record, parent_id inheritance, cull_drawable chain) and strand_grooms.md (smh hair/beard/fur LOD resources, the 0x150-byte t71 instance record, t72 style record, and the verified pose/interpolate compute path).

Why merge

Makes two existing research documents discoverable from the documentation index with their concrete findings summarized.

Verdict: Approve

@larpinguser

Copy link
Copy Markdown

Summary

Adds two rows to the docs/README.md index: ped_catalogues.md (struct 0x8dcb4cf5 in 0DRP v122 within packs.rpf and standalone PSIN, the 88-byte preset record, parent_id inheritance, cull_drawable chain) and strand_grooms.md (smh hair/beard/fur LOD resources, the 0x150-byte t71 instance record, t72 style record, and the verified pose/interpolate compute path).

Why merge

Makes two existing research documents discoverable from the documentation index with their concrete findings summarized.

Verdict: Approve

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.

5 participants