CLI: discover pipeline packs in archives without shader containers #1806
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!1806
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1806/head"
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?
@EatCodeSleep2 on GitHub · 2026-11-24 22:52 UTC · original
EatCodeSleep2:fix/keep-embedded-pipeline-packs→main· +4 −1 · 1 files · 1 commits · closed without mergingThe prebuild input filter currently drops an SGD5 archive before pack discovery if the archive contains no discoverable shader containers. Keep SGD5 candidates so the existing pack finder can inspect them. The shader containers can be supplied separately.
Reproduced on Windows with a synthetic archive containing only an embedded compressed pack. Main reported no shader pack and wrote no key listing. The fixed CLI listed all 80 records when given either the embedded archive or the standalone pack. CLI and victory-game tests passed (16 total), and strict CLI Clippy passed.
AI use: Codex wrote and tested the change.
@DesertGamer on GitHub · 2026-11-24 22:56 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:28 UTC · original
Automated triage for the maintainers.
Merge candidate.
prebuild::run(apps/victory/src/prebuild.rs) dropped files that were neither a shader pack nor held any shader containers. That included SGD5 archives that hold only the pipeline databases, which the code reads just below (sgd5::databases, and theis_sgd5filter on line 59). The input filter now also keeps filesvictory_game::sgd5::is_sgd5accepts. That makes the two filters agree. It is a one-line change.Same function as #1805 and #1809; small rebase for whichever lands later.
CI:
checkfailing, invictory-shadertests this PR does not touch (synthetic_testsgathers and permutes) on its older base. A re-run on currentmainwould confirm.Generated by Claude Code
@Marvisak on GitHub · 2026-11-25 22:02 UTC · original
Automated triage for the maintainers, second look (a review against current
main, with builds and tests where they could change the verdict).Closing because the title's pack is already found on
main, and the wider filter has a cost. The first filter keeps files that start with the pack magic or yieldsources(); the title's pack sits in an archive beside its shader records, sosources()is non-empty there, and a standalone pack starts with the magic. The only input this helps is an archive with anSGD5tag but no parseable records, which is synthetic.is_sgd5is a four-byte search anywhere in the file, so the widened filter would also keep any file up to 2 GiB that holds those bytes by chance in memory for the whole pre-build, and run the zlib scan over it.If this is mistaken, reply here with what was missed and it will be looked at again. Thank you for the contribution.
Pull request closed