mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #1048] docs(xbox_d3d12_xs): root-signature flags measure 0x80; 0x03000000 is absent (D3D12-RTS0-FLAGS-MEASURED) #1086
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1086
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1048
Author: @robot00f
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:docs/agent3📝 Commits (1)
12f3a12docs(xbox_d3d12_xs): root-signature flags measure 0x80; 0x03000000 is absent (D3D12-RTS0-FLAGS-MEASURED)📊 Changes
1 file changed (+74 additions, -3 deletions)
View changed files
📝
docs/xbox_d3d12_xs.md(+74 -3)📄 Description
Claim:
claiming: D3D12-RTS0-FLAGS-MEASURED(issue #14).Item ID: D3D12-RTS0-FLAGS-MEASURED.
What
Adds
docs/xbox_d3d12_xs.md§2.5 and updates the §6 table row. It records what the executable'sPRIVroot-signature path actually does, since the flag enum itself has no public page (§2.4):FUN_14247fc40builds aD3D12_VERSIONED_ROOT_SIGNATURE_DESCand passes it toD3D12SerializeVersionedRootSignature. It writesVersion= 2 (D3D_ROOT_SIGNATURE_VERSION_1_1) andFlags=0x80(D3D12_ROOT_SIGNATURE_FLAG_LOCAL_ROOT_SIGNATURE) unconditionally; the description carries no parameters or samplers.FUN_140fa09f0, which does not walk the description: it checks the 8-byte DXBC chunk headerPRIV(+0..+3id,+4..+7uint32payload lengthN) plus the two-byte marker0xDC 0xE2at+8..+9, keys its ordered map (0x1475e7760) on the unaligned 32-bit dword at+0xb(bytes1..4of the compact stream), expands[chunk + 0xa, chunk + 8 + N)into a temporaryID3DBlobviaFUN_1455ac630, passes the expanded bytes andIID_ID3D12RootSignature(0x1461e06c8) toID3D12Devicevtable slot 16 (+0x80,CreateRootSignatureat0x140fa0b34), and releases the temporaryID3DBlobat slot 2 (+0x10,0x140fa0b45). In3VS_AlphaTransmissionFullScreenTrithe three containers declarePRIVchunks of 484, 480 and 480 total bytes (10-byte prefix + 474/470/470-byte compact stream), so it is not a fixed flag blob.0x03000000occurs in neither place: 0 hits over 3,997 validPRIVbodies from 4,000 carved containers (both byte orders), and no immediate in the three functions above across.text(0x140001000–0x145f40966). The nearest value,0x30000000, is unrelated (instruction-dword encoding;MOV RAX, 0x300000050is aWNDCLASSEXinitialiser).0x03000000belongs toRTS0, which the shim already masks; that mask leaves0x80untouched, so thePRIVpath needs no translation.Why
The page previously only said the flags enum is undocumented, and §6 credited the layer's
RTS0high-byte mask as if it were what makes the game's signatures work. The measurements give the real value, name the chunk that carries the bindings, and separate the two numeric values so a later reader does not chase0x03000000on a path that never writes it.Tested
python -I scripts/check_no_game_data.py docs/xbox_d3d12_xs.md-> exit 0python -I tests/test_docs_links.py,tests/test_docs_table_rows.py,tests/test_docs_repo_paths.py,tests/test_docs_cli_flags.py-> OK0x14247fc40,0x140fa09f0,0x1455ac630, import resolution of0x145f3fdb0), a.text(0x140001000–0x145f40966) byte sweep for00 00 00 03and00 00 00 30, and aPRIVbody scan over 4,000 carved containers.GPUs tested: n/a
AI-assisted: yes (Antigravity, Gemini 4 Carbon)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.