feat(xgameruntime): implement XSystemGetXboxLiveSandboxId #13
No reviewers
Labels
No labels
accessibility
bug
ci
docs
documentation
duplicate
enhancement
fixes issue
good first issue
help wanted
invalid
library request
libs
needs rebase
question
relinker
stale
tools
unblocks title
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Dark3581--AnyBox!13
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/13/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?
@Callimann8 on GitHub · 2026-11-21 12:06 UTC · original
Callimann8:claude/project-thread-fz4yux-sandbox→main· +41 −3 · 9 files · 1 commits · closed without mergingWhat
Implements
XSystemGetXboxLiveSandboxIdin xgameruntime with its GDK signature. It always returnsRETAIL, which the GDK documentation gives for the retail environment and as the default when no sandbox is stored on the device. A buffer smaller thanXSystemXboxLiveSandboxIdMaxBytes(16) returnsHRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);sandboxIdUsedis optional and receives 7 (terminator included). A nullsandboxIdstops withAbxUnsupported. A development sandbox set on the PC is not read; that gap and the unmeasured parts are in a debt fragment. Adds ane2e_sandbox_idscenario.Tested
Cross-built
ab_xgameruntime.dll,fake_title.exeand the relinker with MinGW-w64 on Linux. The newe2e_sandbox_idtest was not run (no Windows host); CI's Windows job runs it.check_conventions.pyanddebt_fold.py --checkpass.Checklist
main; no other open PR implements the same functionspython tools/check_conventions.pypasses (no comments in code, one declaration per export, Conventional Commit subjects)AbxNotImplemented/AbxUnsupported); silent stubs are listed under Silent stubs through a debt fragmentdocs/dev/debt/changes/<branch>.mdXSystemXboxLiveSandboxIdMaxBytes= 16 from the public microsoft/XBOX-GDK-dotnet interop constants@github-actions[bot] on GitHub · 2026-11-21 12:07 UTC · original
Progress report (
5327b75→7f896cc)📈 Libraries: 15.62% (+0.2232%, +1 implemented function)
✅ 1 implemented
XSystemGetXboxLiveSandboxIdChanged libraries
@Dark3581 on GitHub · 2026-11-21 12:30 UTC · original · approved these changes
Reviewed — looks good
Landed as it is. The branch conflicted with
mainafter the XThread commit, #14 and #12, so I rebased it myself and committed it onmainasdc7d8b2, with you as author.What I ran
Head
7f896cc, then the same change rebased onc8b782d(after #14 and #12). MinGW (WinLibs GCC 15.2 UCRT, Ninja, Release) on Windows 10, clean build directory for both.Results
e2e_sandbox_id, repeatedtools/check_conventions.py,tools/debt_fold.py --checktools/progress.pyFindings
Blocking
None.
Non-blocking
core/libs/xdll/xgameruntime/include/Exports.hpp: the new declaration stayed in the stub list, in its old alphabetical slot. While resolving the conflicts I moved it next toXSystemGetConsoleId, with the other implemented XSystem functions, as #12 does. No code change.Not verified
Reading a development sandbox set on the PC, and behaviour on a console, as recorded in debt.
Thanks, a tidy and well-sourced change.
@Dark3581 on GitHub · 2026-11-21 12:30 UTC · original
Landed on
mainasdc7d8b2(rebased on #14 and #12, you as author). Closing, since the commit went in directly rather than through the merge button. Thanks again.Pull request closed