Launchers per console and resolution
play-nvidia.ps1 takes -Resolution (2160, 1440, 1080, 720, 540, 480): the
height the world is drawn at before the title's own upscaler. The render scale
is that height over the output height (Series S 1080, Series X 2160); Series S
refuses heights above 1080. The script prints the console and resolution it
starts with.
scripts\play-S-{1080,720,540,480}p.ps1 and play-X-{2160,1440,1080,720,540,480}p.ps1
call it with each, passing -Exe and other switches through. README: "Picking a
resolution", with what each draws, its render scale, which were measured on
the RTX 5070 and what to expect.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
77e13a974a
commit
d3cd650c12
12 files changed
+102
-1
No files matched your search
@@ -0,0 +1,3 @@
|
||||
# Series S, rendering at 1080p (then the title's own upscaler).
|
||||
# scripts\play-S-1080p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -Resolution 1080 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series S, rendering at 480p (then the title's own upscaler).
|
||||
# scripts\play-S-480p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -Resolution 480 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series S, rendering at 540p (then the title's own upscaler).
|
||||
# scripts\play-S-540p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -Resolution 540 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series S, rendering at 720p (then the title's own upscaler).
|
||||
# scripts\play-S-720p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -Resolution 720 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series X, rendering at 1080p (then the title's own upscaler).
|
||||
# scripts\play-X-1080p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -SeriesX -Resolution 1080 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series X, rendering at 1440p (then the title's own upscaler).
|
||||
# scripts\play-X-1440p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -SeriesX -Resolution 1440 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series X, rendering at 2160p (then the title's own upscaler).
|
||||
# scripts\play-X-2160p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -SeriesX -Resolution 2160 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series X, rendering at 480p (then the title's own upscaler).
|
||||
# scripts\play-X-480p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -SeriesX -Resolution 480 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series X, rendering at 540p (then the title's own upscaler).
|
||||
# scripts\play-X-540p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -SeriesX -Resolution 540 @args
|
||||
@@ -0,0 +1,3 @@
|
||||
# Series X, rendering at 720p (then the title's own upscaler).
|
||||
# scripts\play-X-720p.ps1 -Exe <path of your own copy's executable> [other play-nvidia.ps1 switches, e.g. -Quality]
|
||||
& "$PSScriptRoot\play-nvidia.ps1" -SeriesX -Resolution 720 @args
|
||||
@@ -5,6 +5,9 @@
|
||||
# -SeriesX the Series X profile instead (slower: about 7 fps at half scale)
|
||||
# -Quality fewer stretched/jumping bodies and less rainbow skin, at about 13 fps instead of about 20
|
||||
# -RayTracing keep the title's ray-tracing passes (off by default: see below)
|
||||
# -Resolution the height the game renders at before the title's own upscaler: 2160, 1440, 1080, 720, 540 or 480.
|
||||
# Series S outputs 1080p (so up to 1080 there), Series X 2160p. Default: half the output (540 on S,
|
||||
# 1080 on X). The play-S-*.ps1 and play-X-*.ps1 scripts next to this one call it with each.
|
||||
# -Build target\diag (the default, the build all measurements are of) or target\release
|
||||
# (the release build ignores the ray-tracing skip list: VICTORY_SKIP_PIPELINES is a diagnostics switch)
|
||||
# -More other settings: -More @{VICTORY_PANEL='1'}
|
||||
@@ -15,6 +18,7 @@ param(
|
||||
[switch]$SeriesX,
|
||||
[switch]$Quality,
|
||||
[switch]$RayTracing,
|
||||
[ValidateSet('2160', '1440', '1080', '720', '540', '480')][string]$Resolution,
|
||||
[ValidateSet('diag', 'release')][string]$Build = 'diag',
|
||||
[hashtable]$More = @{}
|
||||
)
|
||||
@@ -63,7 +67,19 @@ if ($Quality) {
|
||||
# Costs about 7 fps (the submitting thread waits about 30 ms a frame for the card).
|
||||
$settings.VICTORY_RELAY = '1'; $settings.VICTORY_CARD_STEPS = '0'; $settings.VICTORY_TEXTURE_NO_WAIT = '0'
|
||||
}
|
||||
# The render scale is the rendered height over the output height (Series S 1080, Series X 2160).
|
||||
$outHeight = if ($SeriesX) { 2160 } else { 1080 }
|
||||
$console = if ($SeriesX) { 'X' } else { 'S' }
|
||||
if ($Resolution) {
|
||||
if ([int]$Resolution -gt $outHeight) {
|
||||
Write-Host "Series $console outputs ${outHeight}p: ${Resolution}p is above it."
|
||||
return
|
||||
}
|
||||
$settings.VICTORY_RENDER_SCALE = ([int]$Resolution / $outHeight).ToString('0.####', [Globalization.CultureInfo]::InvariantCulture)
|
||||
}
|
||||
foreach ($k in $More.Keys) { $settings[$k] = $More[$k] }
|
||||
$scale = [double]::Parse($settings.VICTORY_RENDER_SCALE, [Globalization.CultureInfo]::InvariantCulture)
|
||||
Write-Host "Series $console, rendering at $([int]($outHeight * $scale))p (render scale $($settings.VICTORY_RENDER_SCALE))"
|
||||
|
||||
$victory = Join-Path $PSScriptRoot "..\target\$Build\victory.exe"
|
||||
if (-not (Test-Path $victory)) { Write-Host "No $victory. Build it first (README.md)."; return }
|
||||
|
||||
Reference in new issue
Block a user