startup: implement XGameSaveEnumerateBlobInfo and XGameSaveEnumerateBlobInfoByName in xgameruntime (Part of #1334) #2293
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2293
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2293/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?
@tedin7 on GitHub · 2026-11-25 10:27 UTC · original
tedin7:x2w-w4-xgamesave-slice→main· +346 −2 · 4 files · 2 commits · merged 2026-11-25 11:02 UTCPart of #1334
What this unblocks: titles that list the blobs of a save container (to size a read or check for required blobs) can now do so through
XGameSaveEnumerateBlobInfoandXGameSaveEnumerateBlobInfoByNamein the xgameruntime stand-in, before calling the existingXGameSaveReadBlobData.What changed
src/xgameruntime_shim.cpp: two new implemented rows in the thunk table, using the publicXGameSaveBlobInfoCallback(bool(const XGameSaveBlobInfo*, void*);falsestops the walk).E_INVALIDARG. Closed handle:E_HANDLE. Handle of a closed provider: refused.tests/xgameruntime_gamesave_enumerate_check.cpp+ CMake testxgameruntime_gamesave_enumerate: empty container, three blobs, prefix hit/miss/case/too-long, empty prefix, early stop, re-entrant callback, sibling-container isolation, closed handle, closed provider.docs/experiments.md: behavior and build/test line.Out of scope: container enumeration and asynchronous reads. Signature reference: https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo
Verification (Linux only; Win2025 WARP dev+release is for Stage-2)
python3 -B tests/docs_links_check.py: pass (18 files, 436 links)python3 -B tests/xgameruntime_table_check.py: PASSgit diff --check: cleanx86_64-w64-mingw32-g++ -std=c++17(no warnings in the shim); the check printed PASS when run with the shim DLL under a local Wine.AI-assisted; commands listed were executed locally.
@tedin7 on GitHub · 2026-11-25 10:49 UTC · original
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
cc6e6544678e274a6d05dc2cdec30fbf440d44a2:--preset dev): build of the xgameruntime targets, thenctest --preset dev -R '^(xgameruntime_async_status|xgameruntime_contracts|xgameruntime_gamesave_async|xgameruntime_gamesave_enumerate|xgameruntime_identity|xgameruntime_pls_xpackage|xgameruntime_preflight_stub_refused|xgameruntime_thunks|xgameruntime_user_async)$' --no-tests=error: 9/9 passed./O2(--preset release): same targets and same ctest regex: 9/9 passed.AI-assisted; commands listed were executed locally.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 10:49 UTC · original · edited 2026-11-25 10:52 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
cc6e654ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.