Repository navigation
skin_streams: require the dictionary page pointer at +8 - #2610
Conversation
|
Checked Negative control: with Verified the requirement against the pinned submodule source ( The added field matches the C# header check exactly; the remaining C# tail check (first child pointer at the Verdict: passes. AI-assisted review. |
|
Reviewed Negative control: with The requirement is checked against the pinned decoder in the submodule, not taken from the body. Independent probes of
Limitations: the body's real-package count ("2,322 resources / 3,222 skin meshes, unchanged") needs the game Nit (non-blocking, pre-existing): the Python branch is not full parity with the pinned function. It does not Verdict: LGTM. AI-assisted review. |
|
Tested 39f0cd7 on Windows 11, Python 3.12.10: pass
AI-assisted (Claude Code). |
Claimed in the coordination issue as: new BUILD item (ID pending) — #2300 (comment)
What and why
tools/skin_streams.py:resource_kindaccepted a drawable dictionary with a null or non-system pointer at+8; the pinned rpf9-explorer'sDrawableDictionaryCheckBytesrequires a system pointer there. That made the Python census classify headers the decoder rejects and then walk them as dictionaries. This adds the+8check; the other signature fields are unchanged.Related: #2379 edits the adjacent fragment branch of the same function. This branch is based on
mainand does not include it.Tested
python -I tests/test_skin_streams.py— 26 tests pass, including 3 new synthetic header tests. I watched the two negative tests fail before the fix.python -m compileall -q make_game.py tools tests— clean.tests/test_docs_design_rows.py), reproduced on cleanmain.data.rpf2,322 resources / 3,222 skin meshes, unchanged before and after. No bytes, names or offsets in this report.AI-assisted: OpenCode (Big Pickle model).
Checklist
AI-assisted (OpenCode).