victory play: the program alone, beside the title, is all there is to start
Started with no command (a double click) or as `victory play [exe]`, the program finds game_scarlett_master.exe beside itself and starts it with the settings scripts\play-foxhound.ps1 gives it, built in (apps/victory/src/play.rs): the same switch table, what the F1 menu saved over it, DLSS and frame generation made ready where NVIDIA's files are, the frame rate cap, and `--set NAME=VALUE` for anything else. Nothing is written beside the program or into the title's folder: the menu's settings file, a log for every start (play-<utc>-<pid>.log, the newest ten kept) and NVIDIA's files are under %LOCALAPPDATA%\victory, where the caches and saves already are. NVIDIA's DLSS and frame generation files stay NVIDIA's and are not part of the program: a first start without them asks once whether to fetch them from NVIDIA's GitHub, and `victory get-dlss` does it later (the fetcher script, embedded, with a new -To). victory-core logging: VICTORY_LOG_FILE adds a plain-text log file. README: the quick start is the release's exe (download, put beside the title, double click); building it yourself is kept below. Checked on an RTX 5070: no title beside it (a clear error), a file of that name (found, Streamline loaded), get-dlss (66.6 MB in 38 s, files identical to the SDK's), two muted runs of the title from a folder of the program's own (25-28 fps in the opening rooms, right picture, nothing written beside it), and a start from the title's folder by the user. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
1010e02314
commit
48ad7859fb
6 files changed
+604
-34
No files matched your search
@@ -4,12 +4,13 @@
|
||||
# them, so each person gets them from NVIDIA directly. Get-NVIDIA-DLSS.cmd in the repository's folder runs this.
|
||||
# Nothing of NVIDIA's is needed to build the layer: the files are loaded when the game runs.
|
||||
param(
|
||||
[string]$StreamlineTag = 'v2.14.16'
|
||||
[string]$StreamlineTag = 'v2.14.16',
|
||||
# Another folder for them than nvidia-sdk here (`victory get-dlss` names one under %LOCALAPPDATA%\victory).
|
||||
[string]$To = ''
|
||||
)
|
||||
$ProgressPreference = 'SilentlyContinue' # Invoke-WebRequest's progress bar makes it many times slower
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
|
||||
$root = (Resolve-Path (Join-Path $PSScriptRoot '..')).Path
|
||||
$sdk = Join-Path $root 'nvidia-sdk'
|
||||
$sdk = if ($To) { $To } else { Join-Path (Resolve-Path (Join-Path $PSScriptRoot '..')).Path 'nvidia-sdk' }
|
||||
$sl = Join-Path $sdk 'Streamline'
|
||||
$bin = Join-Path $sl 'bin\x64'
|
||||
# What is loaded when the game runs: Streamline's interposer and plugins, DLSS and the frame generation model.
|
||||
@@ -133,4 +134,4 @@ $still = @($dlls | Where-Object { -not (Test-Path (Join-Path $bin $_)) })
|
||||
if ($still) { throw "Not there after all: $($still -join ', ')" }
|
||||
Write-Host " licences: $(Join-Path $sl 'license.txt') (Streamline) and the *.license.txt files in $bin (DLSS, Reflex)"
|
||||
Write-Host ''
|
||||
Write-Host 'Done. scripts\play-foxhound.ps1 uses them from its next start.'
|
||||
Write-Host 'Done. They are used from the next start.'
|
||||
Reference in new issue
Block a user