feat(xgameruntime): implement XGameSaveFiles on the XGameSave folder (#40) #58

Manually merged
github merged 1 commit from gh-pr/58/head into gh-pr/58/base 2026-11-26 19:16:36 +00:00
Owner

@⁠Dark3581 on GitHub · 2026-11-22 23:58 UTC · original
Dark3581:land/xgamesavefiles-40 → main · +397 −15 · 9 files · 1 commits · merged 2026-11-23 00:02 UTC

What

Lands @⁠CaseReed's #40 (XGameSaveFiles, fixes #21), rebased onto current main by the maintainer. The commit keeps CaseReed as its author and is merged with a rebase merge so that stays so; see #40 for the description, the design and CaseReed's own testing.

The only changes from #40 are the conflict resolutions with #39, which landed first and added task-queue scenarios to the same places: the e2e scenario list in core/libs/tests/CMakeLists.txt, the scenario functions and dispatch in core/libs/tests/FakeTitle.cpp, and the e2e paragraph of docs/dev/ARCHITECTURE.md now hold both sets.

Tested

Rebased commit on main (b0baf7b). Windows 10, MinGW (WinLibs GCC 15.2 UCRT), Ninja, Release, clean build directory.

  • Build without warnings. ctest: 72 of 72 in three parallel runs (one earlier parallel run had a one-off pipeline_state failure that passed alone and in 10 repeats under load; that test is unrelated to this change).
  • The e2e_gamesave*, e2e_taskqueue* and e2e_async* scenarios repeated 30 times: 17 scenarios, all passing every time.
  • python tools/check_conventions.py and python tools/debt_fold.py --check (13 fragments, including this change's edits of the XGameSave entries): ok.

Checklist

  • Based on current main; no other open PR implements the same functions (this supersedes #40)
  • One topic per PR; follow-ups go in a new PR
  • python tools/check_conventions.py passes (no comments in code, one declaration per export, Conventional Commit subjects)
  • Unimplemented paths stop (AbxNotImplemented / AbxUnsupported); silent stubs are listed under Silent stubs through a debt fragment
  • Known gaps added, changed or removed through docs/dev/debt/changes/<branch>.md
  • Generic behaviour, not specific to one title
  • No game files, keys, notes or logs added to the repository
  • Depends on: none
  • Fixes: Fixes #21
  • Unblocks: none
  • Source of behaviour: see #40 (public GDK XGameSaveFiles documentation)
  • AI-assisted: yes
**@⁠Dark3581** on GitHub · 2026-11-22 23:58 UTC · [original](https://github.com/Dark3581/AnyBox/pull/58) `Dark3581:land/xgamesavefiles-40` → `main` · +397 −15 · 9 files · 1 commits · merged 2026-11-23 00:02 UTC ### What Lands @⁠CaseReed's #40 (XGameSaveFiles, fixes #21), rebased onto current `main` by the maintainer. The commit keeps CaseReed as its author and is merged with a rebase merge so that stays so; see #40 for the description, the design and CaseReed's own testing. The only changes from #40 are the conflict resolutions with #39, which landed first and added task-queue scenarios to the same places: the e2e scenario list in `core/libs/tests/CMakeLists.txt`, the scenario functions and dispatch in `core/libs/tests/FakeTitle.cpp`, and the e2e paragraph of `docs/dev/ARCHITECTURE.md` now hold both sets. ### Tested Rebased commit on `main` (b0baf7b). Windows 10, MinGW (WinLibs GCC 15.2 UCRT), Ninja, Release, clean build directory. - Build without warnings. `ctest`: 72 of 72 in three parallel runs (one earlier parallel run had a one-off `pipeline_state` failure that passed alone and in 10 repeats under load; that test is unrelated to this change). - The `e2e_gamesave*`, `e2e_taskqueue*` and `e2e_async*` scenarios repeated 30 times: 17 scenarios, all passing every time. - `python tools/check_conventions.py` and `python tools/debt_fold.py --check` (13 fragments, including this change's edits of the XGameSave entries): ok. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions (this supersedes #40) - [x] One topic per PR; follow-ups go in a new PR - [x] `python tools/check_conventions.py` passes (no comments in code, one declaration per export, Conventional Commit subjects) - [x] Unimplemented paths stop (`AbxNotImplemented` / `AbxUnsupported`); silent stubs are listed under Silent stubs through a debt fragment - [x] Known gaps added, changed or removed through `docs/dev/debt/changes/<branch>.md` - [x] Generic behaviour, not specific to one title - [x] No game files, keys, notes or logs added to the repository - [x] Depends on: none - [x] Fixes: Fixes #21 - [x] Unblocks: none - [x] Source of behaviour: see #40 (public GDK XGameSaveFiles documentation) - [x] AI-assisted: yes
XGameSaveFilesGetFolderWithUiAsync and its result hand the title the XGameSave folder itself, and XGameSaveFilesGetRemainingQuota counts one 256 MiB pool shared with XGameSave blobs. The first successful initialization of either system picks it for the process, and the other then returns E_GS_PROVIDER_MISMATCH. Mixed folders (XGameSave containers with XGameSaveFiles, or files in subfolders with XGameSave) and folder links stop the title. Fixes #21.

Rebased onto main by the maintainer: the scenario lists in core/libs/tests/CMakeLists.txt, FakeTitle.cpp and ARCHITECTURE.md now hold both #39's and this change's scenarios.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:16:36 +00:00
github manually merged commit 9dca8d9912 into gh-pr/58/base 2026-11-26 19:16:36 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-22 23:59 UTC · original

Progress report (b0baf7b → 9dca8d9)

📈 Libraries: 27.01% (+0.6696%, +3 implemented functions)

✅ 3 implemented
Library Name
xgameruntime XGameSaveFilesGetFolderWithUiAsync
xgameruntime XGameSaveFilesGetFolderWithUiResult
xgameruntime XGameSaveFilesGetRemainingQuota

Changed libraries

Library Before After Change
xgameruntime 64/391 (16.37%) 67/391 (17.14%) +0.77%
**@⁠github-actions[bot]** on GitHub · 2026-11-22 23:59 UTC · [original](https://github.com/Dark3581/AnyBox/pull/58#issuecomment-7087975230) <!-- progress-report --> ### Progress report (b0baf7b → 9dca8d9) 📈 **Libraries**: 27.01% (+0.6696%, +3 implemented functions) <details> <summary>✅ 3 implemented</summary> | Library | Name | | - | - | | xgameruntime | `XGameSaveFilesGetFolderWithUiAsync` | | xgameruntime | `XGameSaveFilesGetFolderWithUiResult` | | xgameruntime | `XGameSaveFilesGetRemainingQuota` | </details> #### Changed libraries | Library | Before | After | Change | | - | - | - | - | | xgameruntime | 64/391 (16.37%) | 67/391 (17.14%) | +0.77% |
This discussion has been locked. Commenting is limited to contributors.
No description provided.