Repository navigation
xgameruntime: XPackage enumeration, installation monitors and package-installed registration offline - #166
xgameruntime: XPackage enumeration, installation monitors and package-installed registration offline#166Andretuta wants to merge 1 commit into
Conversation
…-installed registration offline XPackageEnumeratePackages lists the process's package (Game) or the LEONIDA_CONTENT_PACKAGES ones (Content); XPackageCreateInstallationMonitor and its progress, update, close and registration calls answer installed and complete; XPackageRegisterPackageInstalled hands out a token. IXPackageImpl slots 5, 6, 9, 28, 29 forward to the same functions.
… original CONTRIBUTING.md, AGENTS.md, the French contributing page and the issue template's build link sent contributors to ItsNotRexed/Leonida, which went private on 23 November 2026: the claims search, the gh command an agent is told to run, #166 and #313 all led nowhere. They now use ubiquitarianism/leonida, say that older #N numbers are from the original tracker, and name what replaces them here (#18, #17, gpu-test-results/, docs/d3d12_vulkan.md). Adds the done: line and the main target from the coordination issue. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Built and ran this natively on Windows (MSVC 19.50.35721.0, head f14804d on its own base, RelWithDebInfo). Two things I'd fix before it leaves draft, and one small one. Each is cited. 1. The interface slots that are actually called are still
2. Microsoft Learn's reference for A title built against that header reads 3. Small: GPU (not exercised by these tests): NVIDIA GeForce RTX 5070 Ti, driver 617.42, Windows 11 Pro 26300. AI-assisted. |
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.