HLE: enumerate the current installation for XPackageKind::Game #1825
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1827"
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 Marvisak/VIctory. Originally posted by n-romanovich on 2026-11-24T23:05:10Z.
Implements
XPackageEnumeratePackagesforXPackageKind::Game(kind == 0) incrates/victory-hle/src/modules/xpackage.rsinstead of returning an empty list:#[repr(C)] PackageDetailsmatching the GDKXPackageDetailslayout.E_INVALIDARGwhencallbackis null, yields this installation once (index = 0,count = 1,package_identifier/title_idfromidentifier(),store_idfromruntime::title()) forkind == 0, and keepskind != 0(Content) empty.the_installation_is_complete_and_alonewith synthetic unit tests coveringkind == 0,kind == 1, and null callback handling.AI-assisted; verified with
cargo test -p victory-hle --locked -- xpackageandcargo clippy -p victory-hle --all-targets --locked, plus independent subagent review.Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T23:47:46Z.
Review: COMMENTED
Static review only: victory-hle is Windows-only — nothing compiles on macOS; source review of the diff.
Enumerate the current installation for X…: HLE installation enumeration fix. Windows-only.
Imported from Marvisak/VIctory. Originally posted by DesertGamer on 2026-11-24T23:06:21Z.
VIctory V2: community PRs, merged and tested
Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.
Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).
⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.
Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2
Unofficial community fork of Marvisak/VIctory, GPL-3.0.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T06:32:25Z.
Automated triage for the maintainers.
Needs work.
enumerateincrates/victory-hle/src/modules/xpackage.rsnow reports this installation for the game kind (0) and returnsE_INVALIDARGfor a null callback.Update after your reply: thanks. At
ae3f4ef,title_idcomes fromruntime::title().id, and the comments no longer name the console SDK. Three points from the last review are still open:versionis still 0, and the{:08X}format fortitle_idhas no stated source. The field order ofPackageDetailsalso needs a basis that is not copied from a header, such as how the title's callback reads the record.E_INVALIDARGfor a null callback changes a runtime return value. Please cite where it comes from. Before this PR, a null callback returnedS_OK.CI:
checkpassing.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by n-romanovich on 2026-11-25T06:43:44Z.
@Marvisak, updated
feat/hle-xpackage-enumerate-game(ae3f4ef) to address the triage points:title_idfield: now populated fromruntime::title().idformatted as{:08X}instead of the package identifier string (test updated accordingly).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.