xgameruntime: XPackage installation monitor, enumeration, and IXPackageImpl4 (OLD-9900) #997
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/997"
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 ubiquitarianism/leonida. Originally posted by TanmaySatyam on 2026-11-24T16:41:31Z.
Summary
Claims and completes OLD-9900 (Draft PR #166 by @tedin7, original authorship preserved in the first commit) and adds IXPackageImpl4 support plus XPackage vtable slots 35 & 39:
Imported from ubiquitarianism/leonida. Originally posted by TanmaySatyam on 2026-11-25T09:07:15Z.
Rebased and re-scoped cleanly onto
main(3f81d46ac) now that #984 has landedIXPackageImpl4, slots 5-10, slot 22, and slot 39:main's offlineXPackagesemantics intact (including slot 39 returningS_OKwith 0 callbacks).IXPackageImpl 1-3vtable slots:28/35(EnumeratePackages) topkg_enumerate_packages, and29/36/40(RegisterPackageInstalled) topkg_register_installed(returning distinct non-zero tokens accepted by slot 22, with no offline callbacks).XPackage*exports (XPackageEnumeratePackages,XPackageCreateInstallationMonitor,XPackageCloseInstallationMonitorHandle,XPackageGetInstallationProgress,XPackageUpdateInstallationMonitor,XPackageRegisterInstallationProgressChanged,XPackageUnregisterInstallationProgressChanged,XPackageRegisterPackageInstalled,XPackageUnregisterPackageInstalled) inSHIM_TABLE(xgameruntime)forwarding directly to the same offline handlers.ctest -R ^xgameruntime$->1/1 passed) andpython -I scripts/check_no_game_data.py(exit 0).AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T17:58:41Z.
Red/green: On main xgameruntime_test fails 3 checks (XPackage slots 28/35/39 EnumeratePackages, slots 29/36/40 RegisterPackageInstalled and the flat C XPackage exports are missing), and with the PR ctest -R "^xgameruntime$" passes.
Independent tester (OreoFR, RTX 4070, Windows 11): PR head merged with the other PRs of its batch on main
c1ecf04ed, full ctest run (485 tests, tests that launch the game excluded): no new failure compared with main.Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-28T21:46:07Z.
Verified by OreoFR
c1ecf04ed+ PR headb88e2b596; green run in a merge package of 9 PRs, no new ctest failure vs mainctest -R ^xgameruntime$AI-assisted (Claude Code, Claude Opus 5.5).