mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #166] [CLOSED] xgameruntime: XPackage enumeration, installation monitors and package-installed registration offline #219
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#219
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/166
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/9900📝 Commits (1)
f14804dxgameruntime: XPackage enumeration, installation monitors and package-installed registration offline📊 Changes
2 files changed (+310 additions, -22 deletions)
View changed files
📝
runtime/shims/xgameruntime.cpp(+209 -20)📝
runtime/test/xgameruntime_test.cpp(+101 -2)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):@ItsNotRexed: an exe PR, as you asked.What
Offline answers for the XPackage calls a title makes at boot to learn what is installed:
XPackageEnumeratePackages(Game lists the process's package; Content lists the ids inLEONIDA_CONTENT_PACKAGES, in order; a callback returning false stops the walk),XPackageCreateInstallationMonitorand its progress, update, close and registration calls (installed, launchable, complete; a package that is not installed getsERROR_NOT_FOUND), andXPackageRegisterPackageInstalled(hands out a distinct nonzero token).IXPackageImplslots 5, 6, 9, 28, 29 forward to the same functions, so both ways in answer alike.Why
Without them every one of these calls failed and a title took the not-installed path.
Tested
Built locally with clang-cl 19 + lld-link against the xwin SDK, run under Wine:
xgameruntime_test.exe.xgameruntime_test: OK (171 checks).1 of 159 checks failed,FAIL XPackageEnumeratePackages is exported, exit code 1.runtime/test/xgameruntime_test.cpp(enumeration of Game and Content, early stop, invalid kind/callback, slot 28, monitor open/close/progress/registration, missing package, double close, distinct package-installed tokens). Slot 5 moved from the E_NOTIMPL check to slot 27.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.