Pr/newer title startup #140

Closed
gbuyssens wants to merge 6 commits from upstream-pr/142 into main
gbuyssens commented 2026-11-23 15:05:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gbuyssens on 2026-11-23T15:05:21Z.


A 2026 retail build (MicrosoftGame.Config "title memory Advanced") calls
D3D12ConfigureVirtualMemoryX before its device and asserts on the stub's E_NOTIMPL, so it
ended at once. XCL lays out the title's memory itself: the export answers S_OK and logs its
arguments once (first words of the two pointers – the first one holds 0x400000000).
With it the title gets through XGameRuntime initialisation and GameInput, then asserts on an
E_NOINTERFACE nobody logged: XGameRuntime objects' QueryInterface and DirectStorage's query
now log the class and the IID they refuse, as GameInput's and D3D12's already do.

Tested: RTX 3060, the title above (two runs), scripts\test.ps1 <résultat>.

<!-- greyfinch-sync:ivall/xcl:issue:6562246672 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/142). Originally posted by [gbuyssens](https://github.com/gbuyssens) on 2026-11-23T15:05:21Z. --- A 2026 retail build (MicrosoftGame.Config "title memory Advanced") calls D3D12ConfigureVirtualMemoryX before its device and asserts on the stub's E_NOTIMPL, so it ended at once. XCL lays out the title's memory itself: the export answers S_OK and logs its arguments once (first words of the two pointers – the first one holds 0x400000000). With it the title gets through XGameRuntime initialisation and GameInput, then asserts on an E_NOINTERFACE nobody logged: XGameRuntime objects' QueryInterface and DirectStorage's query now log the class and the IID they refuse, as GameInput's and D3D12's already do. Tested: RTX 3060, the title above (two runs), scripts\test.ps1 <résultat>.
upstream-sync closed this pull request 2026-11-24 06:57:22 +00:00
ivall commented 2026-11-24 07:04:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T20:52:46Z.


Closing: most of what this adds is on main since 9add721 (D3D12ConfigureVirtualMemoryX, GetCustomHeapProperties answering the free-function call, refused interfaces logged, the newer DirectStorage factory), and the branch now conflicts in 3 files. If a part is still missing on current main (the dropped queue flags, for example), please send it as a new PR on main. Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7113685280 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/142#issuecomment-7113685280). Originally posted by [ivall](https://github.com/ivall) on 2026-11-23T20:52:46Z. --- Closing: most of what this adds is on main since 9add721 (D3D12ConfigureVirtualMemoryX, GetCustomHeapProperties answering the free-function call, refused interfaces logged, the newer DirectStorage factory), and the branch now conflicts in 3 files. If a part is still missing on current main (the dropped queue flags, for example), please send it as a new PR on main. Thanks!

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!140
No description provided.