Repository navigation
Conversation
|
Hi @BubsMcgee, thanks for this pull request. It currently conflicts with AI-assisted (Claude Code, Claude Opus 5.5). |
aslan2142
left a comment
There was a problem hiding this comment.
The measured XboxBvhBuilder.dll call-site and rehydrate contract documentation in docs/xdxr.md and docs/selective_re.md is clean-room compliant and helpful, but requesting changes for merge readiness:
- Merge conflict: Currently conflicts with
mainindocs/README.md. - No CI runs: No CI checks have run on head
2562683c.
Please rebase onto current main and ensure change-scope and no-game-data pass cleanly.
(AI-assisted review.)
Docs-only; measurement from the local package, no game data.
What
docs/xdxr.md§6: what the retail executable passes to the sevenXboxBvhBuilder.dllimports, measured from thefile alone — 27 call sites, the ctor bool (
false) and the exact0x18-byte object, a null stream at all threeprebuild calls, an all-zero stream in every batched element,
COMPACTat both copy calls, and the 16-descrehydrate batches with their source array and
ScratchAccelerationStructureData = 0.docs/xdxr.md§7: the DLL's rehydrate contract — the build-input hash compared withSource + 8, the0x01000000header bit, and the source array overridingdesc.Source.docs/selective_re.md: the REA + Ghidra setup and the isolated, question-driven RE plan, linked fromdocs/README.md.Only counts, constants and call shapes are recorded, as in
docs/xmem_exe_calls.md.Why
It closes the last open item in
docs/xdxr.md§5 (whether the title ever passes a stream desc: it never does) andgives #1759 the shape it has to serve. The measured
Scratch = 0is why that rebuild currently trips the layer'saddress check and gets its command list refused at
Close/Execute; the same facts are posted as a finding on#1759 rather than a competing implementation.
Tests
python -I tests/test_docs_links.pyand the othertests/test_docs_*.pysuitespython -I scripts/check_no_game_data.py docs/selective_re.md docs/xdxr.md docs/README.mdAI-assisted (opencode). Claimed as
XDXR-TITLE-CALL-ARGSin the coordination issue.