xgameruntime: serve the store, accessibility and feature classes locally #529
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/529"
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:36Z.
What
Three runtime classes the title actually reaches are now served, with only honest local answers.
<StoreId>in the title's configuration; products, purchases, entitlements and add-ons stay on the probe, which still logs the slot and caller. No entitlement is invented.falsefor everything. Store and Error answer no, and the comment says why.Slot numbers were read from the title's own wrapper records; the interfaces reach slot 83, so the probe tables grew from 64 to 96 entries — unmapped slots are real probe entries, not memory past a table.
The follow-up commit fixes what review found: the stored interface ID now matches the recorded wrapper contract, the slot provenance is documented and confirmed, the caption background colour is opaque black under the
{A,R,G,B}layout, the disc-licence flag is false because disc cannot be distinguished offline, the captions-off path carries aponytail:note naming the ceiling, the configuration file is restored by an RAII helper even on early return, and the invalid-argument paths assert the caller's buffer is untouched.Behaviour notes
TUXBOX_RUNTIME_PROBE=1serves every class even whenTUXBOX_RUNTIME_SERVICESwithholds it.XAccessibility, matching the interface; the token in the services list changes with it.Verification
static_asserts pin the caption properties (28 bytes), the licence (104 bytes) and the colour (4 bytes{A,R,G,B}) with every offset.python tuxbox.py check --no-gpu9/9.serving XStore,serving XAccessibility,serving XGameRuntimeFeature, plus probe lines for the unimplemented slots.Not covered
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T20:38:03Z.
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.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-29T20:52:40Z.
We're merging #526, #527 and #530 now. This one conflicts with #526 in
runtime/xgameruntime/src/probe.rs: both change the class table (the accessibility class's name, the analytics entry and the slot tables). Since the slot wiring is what this PR gets right, I'd rather you resolve it than guess. Could you rebase it ontomainonce those land? Then we'll run it through the same check.