CLI: discover pipeline packs in archives without shader containers #1805
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1806"
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 EatCodeSleep2 on 2026-11-24T22:52:37Z.
The 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.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T23:03:38Z.
Review: COMMENTED
Static review only: apps/Windows-only (CLI/run paths) — nothing compiles on macOS; source review of the diff.
Discover pipeline packs in archives without shader containers: 856 bytes — tiny, probably a one-condition fix.
Imported from Marvisak/VIctory. Originally posted by DesertGamer on 2026-11-24T22:56:15Z.
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 Melow-code on 2026-11-24T23:08:29Z.
Review: APPROVED
One-line fix, correct — SGD5 archives without shader containers were wrongly filtered out.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T06:28:36Z.
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
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:02:34Z.
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