Skip to content

PROC-407: update docs/runtime_imports.md to mark D3D12ConfigureVirtualMemoryX as served - #7539

Closed
Muhammad-Umair-Mustafa wants to merge 3 commits into
ProjectLeonida:mainfrom
Muhammad-Umair-Mustafa:proc-407
Closed

Muhammad-Umair-Mustafa wants to merge 3 commits into
ProjectLeonida:mainfrom
Muhammad-Umair-Mustafa:proc-407

Conversation

@Muhammad-Umair-Mustafa

Copy link
Copy Markdown

Claimed in the coordination issue as: PROC-407 (in #7333)

What and why

docs/runtime_imports.md still counted d3d12_xs.dll!D3D12ConfigureVirtualMemoryX among the unimplemented retail imports, even though #6792 already serves it on main (configure_virtual_memory in runtime/shims/d3d12_xs.cpp, registered in SHIM_TABLE(d3d12_xs, ...) and returning S_OK).

This updates the d3d12_xs.dll row note and follow-up prose under the retail executable (RT-5) section to reflect that all 8 imports in xmem.dll and d3d12_xs.dll are now served (22 remaining unimplemented imports across the five unshimmed DLLs, down from 23), while keeping the historical 1cc6e3c1 dry-run measurement table unchanged.

Tested

Docs-only change; verified D3D12ConfigureVirtualMemoryX registration and implementation in runtime/shims/d3d12_xs.cpp on main. No game files used.

docs/runtime_imports.md: mark D3D12ConfigureVirtualMemoryX as served (PROC-407)

D3D12ConfigureVirtualMemoryX is registered in SHIM_TABLE(d3d12_xs, ...)
in runtime/shims/d3d12_xs.cpp (configure_virtual_memory, returning S_OK).

Keep the 1cc6e3c dry-run snapshot table unchanged, and update the
d3d12_xs.dll row note and follow-up prose to reflect that all 8 imports
in xmem.dll and d3d12_xs.dll are now served (22 remaining unimplemented
imports across the five unshimmed DLLs, down from 23).

Docs-only; no game files.
@morodirule

Copy link
Copy Markdown

Overlap note (code-read only; cannot run the Windows dry-run here): this edits the same D3D12ConfigureVirtualMemoryX rows as open #7362, so per the board rule one should land. Verified on main: #6792's serve exists (runtime/shims/d3d12_xs.cpp:233), so the row must change either way. Difference that needs reconciling: this PR keeps the d3d12_xs.dll row with a '(now served)' note and rewrites the prose to a 22 total, while #7362 drops d3d12_xs.dll from the list with a re-measured 29 total and updates the per-DLL list plus the --init paragraph and two other docs — and already has an independent Windows re-measurement lined up. Suggest landing #7362 as the vehicle and closing/re-targeting this one to any remainder. No game files. AI-assisted.

@YordiLorenzo

Copy link
Copy Markdown

Tested c8604b3 on Linux, Python 3.14.4: pass, one open question

  • python -I tests/test_docs_*.py: test_docs_cli_flags, test_docs_links and test_docs_design_rows (docs/README.md rows) fail the same way on main, none in runtime_imports.md
  • scripts/check_no_game_data.py docs/runtime_imports.md: exit 0
  • main serves D3D12ConfigureVirtualMemoryX at runtime/shims/d3d12_xs.cpp:233 and returns S_OK, as the new text says
  • The 22 is main's 23 minus one, worked out, not a new dry run. Open docs: the unimplemented import count is 29, not 30 — #6792 serves D3D12ConfigureVirtualMemoryX #7362 re-measured 29 for the same rows and the two conflict, so one of them is wrong, and only a dry run on a game copy can say which

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.

4 participants