startup: implement XGameSaveEnumerateBlobInfo and XGameSaveEnumerateBlobInfoByName in xgameruntime (Part of #1334) #2285
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2293"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:27:57Z.
Part 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.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:49:00Z.
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.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T10:49:13Z.
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.