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

Closed
opened 2026-11-26 19:14:13 +00:00 by github-bot · 0 comments
Owner

@⁠Dark3581 on GitHub · 2026-11-21 14:03 UTC · original

XGameSaveFiles hands a title a plain folder for its saves. Build it on the per-title save folder that GameSave.cpp already uses, and share its quota rules. Stubs in Inventory.cpp:

  • XGameSaveFilesGetFolderWithUiAsync
  • XGameSaveFilesGetFolderWithUiResult
  • XGameSaveFilesGetRemainingQuota

How to do it

  • Each stub's declaration in include/Exports.hpp has no parameters yet. Give it the exact signature from the public GDK headers; do not copy the headers into the repository.
  • Implement each function for every input. A path whose behaviour on a desktop host is unknown calls AbxUnsupported(__func__, "what is unknown"); never return a made-up success.
  • List known gaps in a debt fragment under docs/dev/debt/changes/, and add an e2e scenario (core/libs/tests/FakeTitle.cpp, e2e.py).
  • Rules: CONTRIBUTING.md. One PR may take the whole issue or part of it; say which in the PR.
**@⁠Dark3581** on GitHub · 2026-11-21 14:03 UTC · [original](https://github.com/Dark3581/AnyBox/issues/21) XGameSaveFiles hands a title a plain folder for its saves. Build it on the per-title save folder that [GameSave.cpp](https://github.com/Dark3581/AnyBox/blob/main/core/libs/xdll/xgameruntime/GameSave.cpp) already uses, and share its quota rules. Stubs in [Inventory.cpp](https://github.com/Dark3581/AnyBox/blob/main/core/libs/xdll/xgameruntime/Inventory.cpp): - `XGameSaveFilesGetFolderWithUiAsync` - `XGameSaveFilesGetFolderWithUiResult` - `XGameSaveFilesGetRemainingQuota` **How to do it** - Each stub's declaration in `include/Exports.hpp` has no parameters yet. Give it the exact signature from the public GDK headers; do not copy the headers into the repository. - Implement each function for every input. A path whose behaviour on a desktop host is unknown calls `AbxUnsupported(__func__, "what is unknown")`; never return a made-up success. - List known gaps in a debt fragment under `docs/dev/debt/changes/`, and add an e2e scenario (`core/libs/tests/FakeTitle.cpp`, `e2e.py`). - Rules: [CONTRIBUTING.md](https://github.com/Dark3581/AnyBox/blob/main/CONTRIBUTING.md). One PR may take the whole issue or part of it; say which in the PR.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:14:13 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Dark3581--AnyBox#21
No description provided.