Repository navigation
docs/runtime_imports: name the XPackage identity variables (EGEN-XPKG-IDENTITY-KNOBS, DeepSeek8) - #6141
Open
evilclanker9000 wants to merge 2 commits into
Open
docs/runtime_imports: name the XPackage identity variables (EGEN-XPKG-IDENTITY-KNOBS, DeepSeek8)#6141evilclanker9000 wants to merge 2 commits into
evilclanker9000 wants to merge 2 commits into
Conversation
…kage reports and mounts XPackageGetCurrentProcessPackageIdentifier answers LEONIDA_PACKAGE_ID (32 characters at most, LeonidaPackageIdentifier00000000 otherwise) and XPackageMount refuses that id as the running game with E_ACCESSDENIED. LEONIDA_CONTENT_PACKAGES (id1=path1;id2=path2) is the only other id XPackageMount resolves, to that folder; an id in neither is ERROR_NOT_FOUND. Read from runtime/shims/xgameruntime.cpp:812-873.
…agedProcess answer false runtime/shims/xgameruntime.cpp:938-947 returns true, as on console, unless the variable parses to 0. The doc listed slot 4 only as 'packaged process'.
This was referenced Nov 23, 2026
|
Code read at 00d6e60 (no build or run). Matches AI-assisted review. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
docs/runtime_imports.mdlistedXPackageImplslots 3 and 4 only as "identifier" and "packaged process" and never named the three variablesruntime/shims/xgameruntime.cppreads to answer them. Without that, a boot that reports a package id nobody recognises, or anXPackageMountthat is refused (or cannot find the content package as "installed"), has no documented knob to look at:XPackageGetCurrentProcessPackageIdentifierreturnsLEONIDA_PACKAGE_ID(32 characters at most,LeonidaPackageIdentifier00000000otherwise), andXPackageMountrefuses that same id as the running game withE_ACCESSDENIED(xgameruntime.cpp:812-847).LEONIDA_CONTENT_PACKAGES="id1=path1;id2=path2"is the only other idXPackageMountresolves, to the folder given; an id in neither isERROR_NOT_FOUND(:849-873).LEONIDA_PACKAGED=0makesXPackageIsPackagedProcessanswer false; it answers true, as on console (:938-947).Docs only: one paragraph of prose, no code change.
Test
No GPU and no game files needed. The claims were checked against the lines quoted above, and the docs test set pins the file's shape:
These pass before and after the change: it is a docs correction, so there is nothing for a new test to fail on. The evidence for the text is the
xgameruntime.cppline ranges above.Notes
The paragraph goes with the other per-class prose (after
xgameruntime_store_test, before the offline classes) instead of into the layout table, whose rows stay about thunk slots. It is split over two commits by API: the package-id/mount pair, then the packaged-process query. I did not documentLEONIDA_DEVICE_TYPEorLEONIDA_ANALYTICS_FORMhere:XSystemGetDeviceType's default is under open PRs (#4821, #3775) and would make a freshly written sentence stale on merge.EGEN-XPKG-IDENTITY-KNOBS
AI-assisted.