HLE: enumerate the current installation for XPackageKind::Game #1827
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1827
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@n-romanovich on GitHub · 2026-11-24 23:05 UTC · original
n-romanovich:feat/hle-xpackage-enumerate-game→main· +101 −7 · 1 files · 1 commits · openImplements
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.@DesertGamer on GitHub · 2026-11-24 23:06 UTC · original
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.
@Marvisak on GitHub · 2026-11-25 06:32 UTC · original · edited 2026-11-25 07:18 UTC
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
@n-romanovich on GitHub · 2026-11-25 06:43 UTC · original
@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.