Steam can start the script launcher, and victory run loads MFG Unlocker #1614
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1614
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1614"
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?
@tribbedev on GitHub · 2026-11-28 22:23 UTC · original
steam-launcher→main· +427 −11 · 7 files · 1 commits · merged 2026-11-29 08:16 UTCFixes #1613
What it changes
Steam can start the script launcher. Steam's Add a Non-Steam Game
browser lists
.exefiles only, soscripts\play-foxhound.ps1cannot bepicked there — and a start outside Steam gets neither its overlay nor Steam
Input, which is what a pad that is not XInput (a Stadia controller over
Bluetooth) needs to reach the title.
scripts\play-steam.rs, built byscripts\build-steam-launcher.cmd(
rustc, no crates, no cargo): starts Windows PowerShell withplay-foxhound.ps1beside it, hands every argument on, waits for the scriptand for the title the script starts, and returns the script's exit code, so
Steam counts the game as running and keeps Steam Input on it. A first
argument that is not a switch is taken as the title's path and gets
-Exein front of it, so the launch options can be just that path; started with no
argument at all, the arguments come from
play-args.txtbeside the program.Nothing is baked in: the title's folder is a parameter, as with the other
launchers.
scripts\play-foxhound.ps1:-Morealso takesNAME=VALUE, several pairscomma-separated in one argument. A command line cannot carry a hashtable
(
-Filehands the arguments over as they were typed) and PowerShell takes noparameter twice, so from Steam's launch options no switch could be set at
all. A comma inside a value is left alone (
VICTORY_LEAVE_OUThas one).MFG Unlocker is loaded by a start from the script.
victory run --executeloads it when
VICTORY_MFG_UNLOCKER=1andVICTORY_FRAMEGEN=1— thecondition
victory playloads it under (#955, #1089: with frame generation offit only puts someone else's hooks in the game's DirectX, for nothing, and on an
RTX 3060 it gave black, glitching textures). The script launcher only ever put
the first switch into the environment and never named the DLL — that was
victory play's doing — so the mod was on in the F1 menu's settings and neverloaded in a game started from the script, or from Steam through it.
play::load_mfg_from_menulooks the DLL up wherevictory get-mfgputs it,fetches it where it is missing (turning it on was the choice) and loads it as
victory playdoes; without frame generation it is left out, not evenfetched, and the start says why.
README: how to start it through Steam (launch options, controller settings, the
pad log switch), the
-Moreform, and what frame generation needs beforeframes appear at all.
.gitignore:scripts\play-args.txt, which holds one'sown paths.
How it was tested
tracing): GeForce RTX 3080 Ti, Windows 11 x64, Series X profile,
-Res 1080to1440, DLSSqualitywith frame generation2xset through-Morefor the run (saved settings untouched), ray tracing off.
VICTORY_MFG_UNLOCKER=1in the settings, and no "MFG Unlocker" linein any log of a start from the script.
MFG Unlocker loaded (...)and the start's noticeFRAME GEN: DLSS, UNLOCKED BY A MOD. With frame generation off, the startsays that the mod is on and not loaded. Generated frames themselves show
only in the game world with the window focused; on the title screen the log
reads
0 presents with it on(see #1513 for open-world gating)..cmd, its three tests pass(
rustc --test), and a start through it reaches the script and returns itsexit code (no arguments: usage and 2; a path that is not there: the script's
own "No ..." and 1). The title itself was not started from Steam for this,
only from the wrapper.
shader changes.
cargo testpassed for the crates it touches: yes —cargo build --release --locked -p victory,cargo test --release --locked -p victory(29 + 2),cargo clippy --release --locked -p victory(no new findings; the crate'sexisting warnings are untouched),
rustfmt --checkon the new file.Checked for overlap
this touches. Related: #1089 — MFG Unlocker: loaded only at a start with
DLSS frame generation. This PR follows that rule for
victory run; the twotouch the same
play.rsarea and the same README paragraph, so whicheverlands second needs a small rebase (this one adds only the loader for the
runpath, and the fetch it does not need when frame generation is off).#1558 (
play-foxhound.ps1: NVIDIA/AMD files found) changes another part ofthe same script; #1393 (mouse and keyboard from the script) is what the
README's note on
VICTORY_MNKrefers to; #1513 is the gating this run met onthe title screen.