xgameruntime: packaged identity, content mounts and folder saves #530
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/530"
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 brcly/TuxBox. Originally posted by csj0oe on 2026-11-29T20:10:54Z.
What
Three storage behaviours a title can reach.
TUXBOX_PACKAGED=1withenv.setdefaultwhen it computed a package root, from the same answer it already passes to the game, soXPackageIsPackagedProcessandXPackageGetCurrentProcessPackageIdentifiercan no longer disagree.package_drive_mounted()requires the marker it writes after taking the drive over, so a title never receives aG:\that is not the package. Anything else completes withERROR_NOT_FOUND; short buffers getINSUFFICIENT_BUFFER; stale or foreign handles getE_INVALIDARG; closing twice is a no-op.Verification
static_asserts for the install-progress and storage-space layouts (32 bytes each), the identifier maximum, the prototypes, and both error codes.python tuxbox.py check --no-gpu7/7.The follow-up commit fixes review findings: the ABI test passes
/Iso it works withclas well asclang-cl; the mount root is gated on the drive claim; the quota walk usessymlink_metadata, counts only regular files and caps depth; the quota arithmetic is saturating; the empty configuration maps to a name the encoder cannot produce; the guest releases its four API objects.Not covered
TUXBOX_PACKAGED=0./Ipath iscl-compatible by construction but was not executed under MSVC.G:; they now correctly getERROR_NOT_FOUNDinstead of a path that is not the package.ERROR_NOT_FOUNDoffline by design; no shipped DLC existed to mount.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T20:38:04Z.
Thanks. From reading, this looks fine: honest local answers and tests for each case. We're adding Lanes self-test scenarios that call these providers, so they're checked without booting a title. We'll merge it once those pass with it.