Drop the invalid play.ps1 skip default and fail on missing executables #78

Merged
feanorsun merged 1 commit from upstream-pr/78 into main 2026-11-26 08:17:50 +00:00
feanorsun commented 2026-11-26 02:18:30 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by feanorsun on 2026-11-26T02:18:30Z.


Refs #25

  • Item 3. Remove the VICTORY_SKIP_PIPELINES=none preset from scripts/play.ps1. The Rust parser warns on none and already treats an unset variable as an empty skip list. Users can still supply comma-separated, 16-digit hexadecimal hashes through -More.
  • Item 5. Exit with status 1 after printing the existing message when the build is missing or -Exe names a missing file. Both paths previously returned status 0 to the caller.

Verification

Ran each missing-file case before and after the change in a fresh Windows PowerShell process with -NoProfile -File, using temporary copies of the launcher. Both exit codes changed from 0 to 1. The missing-build case printed the build hint. With a zero-byte build placeholder, the missing--Exe case printed the missing path and exited before invoking the placeholder.

An isolated PowerShell AST check compared the effective settings across eight combinations of -Safe, -RayTracing and -More per revision. The default skip list is now unset, explicit hashes pass through verbatim, and all other preset values matched. git diff --check passed.

No Rust build, game launch, GPU, D3D12 or WARP execution was performed.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:6618066959 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/78). Originally posted by [feanorsun](https://github.com/feanorsun) on 2026-11-26T02:18:30Z. --- Refs #25 - **Item 3.** Remove the `VICTORY_SKIP_PIPELINES=none` preset from `scripts/play.ps1`. The Rust parser warns on `none` and already treats an unset variable as an empty skip list. Users can still supply comma-separated, 16-digit hexadecimal hashes through `-More`. - **Item 5.** Exit with status 1 after printing the existing message when the build is missing or `-Exe` names a missing file. Both paths previously returned status 0 to the caller. ## Verification Ran each missing-file case before and after the change in a fresh Windows PowerShell process with `-NoProfile -File`, using temporary copies of the launcher. Both exit codes changed from 0 to 1. The missing-build case printed the build hint. With a zero-byte build placeholder, the missing-`-Exe` case printed the missing path and exited before invoking the placeholder. An isolated PowerShell AST check compared the effective settings across eight combinations of `-Safe`, `-RayTracing` and `-More` per revision. The default skip list is now unset, explicit hashes pass through verbatim, and all other preset values matched. `git diff --check` passed. No Rust build, game launch, GPU, D3D12 or WARP execution was performed.
avatarmanz commented 2026-11-26 07:54:49 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:54:49Z.


Merged into main in the next push (tests pass); thanks.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7185972627 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/78#issuecomment-7185972627). Originally posted by [avatarmanz](https://github.com/avatarmanz) on 2026-11-26T07:54:49Z. --- Merged into main in the next push (tests pass); thanks.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
avatarmanz/VIctory-7900XTX!78
No description provided.