fix(dstorage): factory and queue IIDs of a newer kit #6
No reviewers
Labels
No labels
area: audio
area: d3d11
area: d3d12
area: gdk
area: gui
area: kernel
area: loader
area: shaders
area: video
area: winrt
bug
compat
console: series-xs
console: xbox-one
duplicate
enhancement
graphics-glitch
needs-log
needs-repro
not-a-dump
regression
status: boots
status: in-game
status: intro
status: menu
status: nothing
status: playable
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/sammwyy--xvalkyrie!6
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/6/head"
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?
@arugerdev on GitHub · 2026-11-23 17:30 UTC · original
arugerdev:fix/dstorage-newer-kit→main· +138 −16 · 3 files · 1 commits · merged 2026-11-23 19:24 UTCA famous newer title built with the April 2026 kit (GXDK 10.0.26100.7901, per its
.xbldsection) asksDStorageGetFactoryfor a factory IID XValkyrie does not know, getsE_NOINTERFACEand stops on its ownint3a few seconds after starting.This change:
62959d11-d45f-4884-a0a3-f7862ea243aeas the factory, as well as the IID already known. It is the same object.SetStagingBufferSize:E_NOTIMPL.(desc, iid, out)likeCreateQueue. The queue description is followed by 8 more bytes, which the title sets to 1 and which are not read here. It makes the same queue.3c02cb0c-c050-4195-99a1-a1ce94ba33c5, the IID the title passes to slot 10, as well as the old one.Older titles see no difference: the old IIDs and slots 0 to 8 are unchanged, and the new slots come after them.
Where it comes from
The disassembly of that title, which has no symbols. The IIDs are the ones it passes. The slots and arguments are the ones its calls use:
OpenFile) and slot 5 (CreateStatusArray), with the file and status IIDs XValkyrie already has;Through the queue it uses slot 3 (
EnqueueRequest, sameRequestlayout) and slot 8 (Close).No SDK headers were used.
Testing
build.cmd --testpasses, including three new cases intests/dstorage.cpp: older IIDs and slot 3 unchanged, newer IIDs and slot