CLI: recommend a DXIL validator in translate --help #1993
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1995"
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 AlanQiang0418 on 2026-11-25T02:34:53Z.
Addresses the third request in #1945. The existing help names the override but leaves the reader to choose a DLL.
victory translate --helpnow points tobin\x64\dxil.dllfrom a Microsoft DXC v1.8.2502 or newer release and explains why validators before 1.8, including standalone DXC builds, may reject shaders with repeated semantic names. The short help still lists the override and SDK fallback.The DXC v1.8.2502 release notes document the PSV0 string and semantic-index table ordering fix. #1974 tracks the separate runtime version report and warning.
Verified on Windows by running both
victory translate --helpandvictory translate -h. Atranslate --validatesmoke test loaded the x64 DLL selected byVICTORY_DXIL; the input contained no shaders.cargo clippy --locked --offline -p victory --all-targets -- -D warningspassed.Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T02:48:50Z.
Review: COMMENTED
Static review only: apps/CLI are Windows-only paths — nothing compiles or runs on macOS; source review of the diff.
CLI: recommend a DXIL validator in translate --help — UX hint; overlaps with #1974/#2002 on the same help text.
Imported from Marvisak/VIctory. Originally posted by DesertGamer on 2026-11-25T02:40:53Z.
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-25T09:16:15Z.
Automated triage for the maintainers.
Merge candidate.
Help-text only change in
apps/victory/src/main.rs(Command::Translate,--validate): the long help now recommends pointingVICTORY_DXILat a DXC 1.8.2502+bin\x64\dxil.dlland says why older SDK validators can reject shaders with repeated semantic names. This matches the lookup inemit/validator.rs::default_path()(newest Windows SDK copy otherwise) and the third request in #1945; no behaviour changes.#2002 makes the same help change, but states that
--validatealready prints the DLL version and warns since #1974, which is not inmainyet; this PR's wording is accurate formainas it stands. Recommending a look, not approving.CI: passing (
check).Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T12:13:50Z.
Independent local validation (Windows, Rust 1.100.0/MSVC, head
d83bee0, no game data):cargo test --locked -p victory --bins-> 10 tests passed, exit 0.cargo run --locked -q -p victory -- translate --helpon this PR prints the expanded DXC-validator hint ('Check emitted DXIL with the validator from VICTORY_DXIL or the newest Windows SDK. Set VICTORY_DXIL to the full path to bin\x64\dxil.dll from Microsoft DXC v1.8.2502 or newer. Older SDK validators can reject shaders with repeated semantic names.'); main940d32fprints only the short--validate ... VICTORY_DXIL ... newest Windows SDK'soption text, so the new text is confirmed to come from this PR. Help-text change only; no runtime DXIL validation exercised. AI-assisted (Hy4 flash). GPU/driver: N/A (docs/CLI text). No game data, assets or extracted content used.Imported from Marvisak/VIctory. Originally posted by fiestorra on 2026-11-26T12:39:24Z.
A wording suggestion for this line, measured in #1974: "older SDK validators" could read "validators before 1.8, including standalone DXC builds". The PSV0 failure this warns about reproduces with DXC 1.7 and 1.6 on their own, not only with the copy the SDK ships, and a reader who installed a standalone DXC earlier than 1.8 gets the wrong verdicts from a path that is not the SDK's.
Nothing else from me: this is the text I would have kept over #2002, which I have closed.
Written with an AI assistant.
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T21:16:19Z.
Review: APPROVED
LGTM — verified against
origin/main(63bcca43) on Windows x64.translate --validatehelp text inapps/victory/src/main.rs:82-86clearly documents pointingVICTORY_DXILtobin\x64\dxil.dllfrom DXC v1.8.2502 or newer and explains why older SDK validators reject shaders with repeated semantic names.cargo run --locked -p victory -- translate --help: builds cleanly and renders the updated--validatehelp text.cargo clippy -p victory --all-targets --locked -- -D warnings(default and--all-features): clean.cargo xtask policy: 191 files ok;rustfmt --edition 2024: clean.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.