Start the script launcher through Steam, and MFG Unlocker from a script start #1613

Closed
opened 2026-11-28 22:24:36 +00:00 by github-bot · 3 comments
Owner

@⁠tribbedev on GitHub · 2026-11-28 22:22 UTC · original

What you would like

Two things that came from starting the title through Steam:

  1. The script launcher as something Steam takes. Steam's Add a Non-Steam
    Game
    browser lists .exe files only, so scripts\play-foxhound.ps1 cannot
    be picked there. A start outside Steam also gets neither its overlay nor
    Steam Input, and a controller that is not XInput (a Stadia pad over
    Bluetooth is a generic HID device) needs Steam Input to reach the title.
  2. MFG Unlocker loaded by a start from the script. victory run never
    loaded it: the launcher put VICTORY_MFG_UNLOCKER=1 into the environment and
    nothing named the DLL, which only victory play did. So with the mod turned
    on in F1 and the script launcher there was no mod in the game, and no line
    about it in the log.

What it should do, and why it would help

  • A small program in scripts that Steam can be pointed at, which starts
    Windows PowerShell with play-foxhound.ps1 beside it, hands every argument
    on, waits for the script and the title, and returns the script's exit code —
    so Steam counts the game as running and keeps Steam Input on it. The title's
    path stays a parameter of that program (Steam's launch options), as with the
    other launchers, or a file beside it for a double click.
  • victory run --execute loading MFG Unlocker under the same condition
    victory play uses (#955, #1089): on, with DLSS frame generation on or
    ready; with frame generation off it is left out, not even fetched.
  • -More taking NAME=VALUE as well as a hashtable: a command line cannot
    carry a hashtable, and PowerShell takes no parameter twice, so from Steam no
    switch could be set at all.

Are you working on a fix?

Yes, I'm on it.

**@⁠tribbedev** on GitHub · 2026-11-28 22:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1613) **What you would like** Two things that came from starting the title through Steam: 1. **The script launcher as something Steam takes.** Steam's *Add a Non-Steam Game* browser lists `.exe` files only, so `scripts\play-foxhound.ps1` cannot be picked there. A start outside Steam also gets neither its overlay nor Steam Input, and a controller that is not XInput (a Stadia pad over Bluetooth is a generic HID device) needs Steam Input to reach the title. 2. **MFG Unlocker loaded by a start from the script.** `victory run` never loaded it: the launcher put `VICTORY_MFG_UNLOCKER=1` into the environment and nothing named the DLL, which only `victory play` did. So with the mod turned on in F1 and the script launcher there was no mod in the game, and no line about it in the log. **What it should do, and why it would help** - A small program in `scripts` that Steam can be pointed at, which starts Windows PowerShell with `play-foxhound.ps1` beside it, hands every argument on, waits for the script and the title, and returns the script's exit code — so Steam counts the game as running and keeps Steam Input on it. The title's path stays a parameter of that program (Steam's launch options), as with the other launchers, or a file beside it for a double click. - `victory run --execute` loading MFG Unlocker under the same condition `victory play` uses (#955, #1089): on, with DLSS frame generation on or ready; with frame generation off it is left out, not even fetched. - `-More` taking `NAME=VALUE` as well as a hashtable: a command line cannot carry a hashtable, and PowerShell takes no parameter twice, so from Steam no switch could be set at all. **Are you working on a fix?** Yes, I'm on it.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 22:24:36 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 22:23 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-28 22:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1613#issuecomment-7246697766) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠tribbedev on GitHub · 2026-11-28 22:23 UTC · original

/claim

**@⁠tribbedev** on GitHub · 2026-11-28 22:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1613#issuecomment-7246701931) /claim
Author
Owner

@⁠tribbedev on GitHub · 2026-11-28 22:27 UTC · original

Not a crash report, so there is no crash log: this is a feature request, and the
bug it carries was that nothing was loaded, not that anything crashed. Answering
the bot's questions anyway, so nobody has to guess:

  • GPU and system: GeForce RTX 3080 Ti, Windows 11 (x64), Series X profile,
    -Res 1080to1440 from the saved settings.
  • The play log has no MFG Unlocker line at all in starts made from the script
    launcher, with VICTORY_MFG_UNLOCKER=1 in victory-settings.txt. With the
    fix in #1614 the same start reads
    MFG Unlocker loaded (<%LOCALAPPDATA%>\victory\mfg-unlocker\MFGUnlocker.dll)
    and the start's notice FRAME GEN: DLSS, UNLOCKED BY A MOD.
  • With frame generation off it now says that the mod is on and not loaded, which
    is the rule #1089 states.
  • On the title screen that run logs 0 presents with it on: generated frames
    appear only in the game itself, with its window focused (see #1513 for the
    open-world gating, which this run did not get to).

The change is in #1614, with what was tested and before/after there.

**@⁠tribbedev** on GitHub · 2026-11-28 22:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1613#issuecomment-7246746910) Not a crash report, so there is no crash log: this is a feature request, and the bug it carries was that nothing was loaded, not that anything crashed. Answering the bot's questions anyway, so nobody has to guess: - GPU and system: GeForce RTX 3080 Ti, Windows 11 (x64), Series X profile, `-Res 1080to1440` from the saved settings. - The play log has no `MFG Unlocker` line at all in starts made from the script launcher, with `VICTORY_MFG_UNLOCKER=1` in `victory-settings.txt`. With the fix in #1614 the same start reads `MFG Unlocker loaded (<%LOCALAPPDATA%>\victory\mfg-unlocker\MFGUnlocker.dll)` and the start's notice `FRAME GEN: DLSS, UNLOCKED BY A MOD`. - With frame generation off it now says that the mod is on and not loaded, which is the rule #1089 states. - On the title screen that run logs `0 presents with it on`: generated frames appear only in the game itself, with its window focused (see #1513 for the open-world gating, which this run did not get to). The change is in #1614, with what was tested and before/after there.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#1613
No description provided.