Skip to content

docs: a real run is what the executable still owes, not its presence - #8296

Open
wavehs wants to merge 1 commit into
ItsNotRexed:mainfrom
wavehs:docs/executable-is-not-missing
Open

wavehs wants to merge 1 commit into
ItsNotRexed:mainfrom
wavehs:docs/executable-is-not-missing

Conversation

@wavehs

@wavehs wavehs commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: #8186 (comment)

What and why

Two pages still say the executable is missing where what is missing is a real run of it:

  • docs/pipeline_check.md:492: "the game's descriptors, root signatures and push constants match the contract at run time (the missing executable still owns that)".
  • docs/design.md:143 (the D3D12 command-objects index row): "PresentX signature/slot and exact swapchain/plane parameters remain open until the executable is available."

docs/boot.md records that --dry-run and --init have been run on the retail executable (mapped at its base, 30 imports unimplemented, TLS callbacks and package DllMains without an exception), and docs/runtime_imports.md measures its import table. The executable is no longer the missing piece; a run that exercises the descriptors and names the PresentX slot is.

The change says exactly that and nothing else: "a real run of the executable still owns that" and "remain open until a real run of the executable measures them."

Tested

macOS arm64 (Apple M3 Pro), Python 3.15.2, docs only, no GPU or game files:

AI-assisted: yes (an agent session).

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (No translator rule here.)

@shdann

shdann commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

This PR includes all of open PR #8284. The description lists two pages, but merging this head also changes docs/xcl_compare.md.

I checked head 0a393c3dc against upstream main 67d877390:

If the two edits can land independently, base commit 0a393c3dc directly on main. If the stack is intentional, add Depends on: #8284 to the description so the coordinator can merge them in order.

AI-assisted.

@tupacfan04 tupacfan04 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not clean: the head includes #8284's xcl_compare.md row, which still directly contradicts xmem_exe_calls.md at the same measured commit.

  • docs/xcl_compare.md:74 says the executable's four xmem.dll physical-page imports are served and XMemAlloc/XMemFree/XMemVirtualAlloc bind; runtime_imports.md:121-123,168 supports it.
  • docs/xmem_exe_calls.md:3-4 still says “Seven have no shim yet”; :18-30 marks the physical-page imports no and XMemVirtualAlloc “refuses every one of these 23”; :53-56 says every nonzero attribute returns ERROR_NOT_SUPPORTED. This is already reported on #8284; update that page or label it a pre-shim snapshot.

Two further stale claims:

  • docs/runtime_imports.md:641-642 still says “The executable's own imports are unknown … its import table cannot be measured yet”, contradicting its own RT-5 rows at :127-168 (53 shim / 432 host / 72 module / 30 unimplemented) and the new row. Scope or update it.
  • The title “a real run is what the executable still owes” is stale against docs/retail_boot_chain.md:1-35, which records a real gta2rt --run on 2026-11-23 to stop 13 (1,185 D3D12 calls, slots 26/48/73/133); that run still stops before PresentX and does not validate descriptors/root signatures/push constants. Say “a run that reaches PresentX/validates the descriptors” to avoid the contradiction.

The changed docs/design.md:143 and docs/pipeline_check.md:492 lines are substantively correct with that wording. Docs only; no game files. AI-assisted (OpenCode).

pipeline_check.md and the design.md D3D12 command-objects row still call the executable missing. It has been mapped and initialized (docs/boot.md, docs/runtime_imports.md); what is missing is a real run that names the slots and measures the descriptors.
@wavehs
wavehs force-pushed the docs/executable-is-not-missing branch from 0a393c3 to 27ea481 Compare November 23, 2026 18:49
@wavehs

wavehs commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Fixed, thanks @shdann. The branch was cut from the #8284 head; I rebased 0a393c3dc onto current main (1befe1dc6) so this PR now contains only its own commit.

No Depends on: is needed any more.

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.

3 participants