diff options
| author | MoonEyes <ducoinbenjamin@yahoo.fr> | 2026-11-29 20:00:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-29 20:00:10 +0100 |
| commit | f7a4e75bf8cdb0db8fae0a0bc89e8b854f3f463b (patch) | |
| tree | 060e3dd3efe39cd3253f3443b1e43afc8b14b807 /scripts | |
| parent | a09d1627e307734a2fbca31a989723ff04ff40f9 (diff) | |
| parent | 865f6c24e33bd7d1f442433d07d52c00187242fb (diff) | |
Merge pull request #2615 from alpfilho/d3d12/fsr3-framegen
d3d12: FSR 3 frame generation for cards without DLSS frame generation (D3D12-FSR3-FRAMEGEN)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/play-d3d12.ps1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/play-d3d12.ps1 b/scripts/play-d3d12.ps1 index aed36ce25..4bcaad50c 100644 --- a/scripts/play-d3d12.ps1 +++ b/scripts/play-d3d12.ps1 | |||
| @@ -24,6 +24,8 @@ | |||
| 24 | # on the title's own upscaler, held to 28 shown frames a second. | 24 | # on the title's own upscaler, held to 28 shown frames a second. |
| 25 | # -NoFrameGen no DLSS frame generation at all, the frames the game renders only | 25 | # -NoFrameGen no DLSS frame generation at all, the frames the game renders only |
| 26 | # -MotionBlur the game's own motion blur (left out by default: at this frame rate it smears in blocks on turns) | 26 | # -MotionBlur the game's own motion blur (left out by default: at this frame rate it smears in blocks on turns) |
| 27 | # -FsrFrameGen AMD's FSR 3 frame generation instead (2x), for cards without DLSS frame generation (RTX 20 and 30): | ||
| 28 | # needs AMD's two signed FidelityFX DLLs in d3d12\amd-sdk\FidelityFX\bin | ||
| 27 | # -Aspect the window's shape: 21:9, 32:9, 16:9, W:H or auto (the screen's). The game still draws 16:9, shown | 29 | # -Aspect the window's shape: 21:9, 32:9, 16:9, W:H or auto (the screen's). The game still draws 16:9, shown |
| 28 | # centred with black bars (-PresentScale fit, the default with -Aspect) or stretched (stretch). | 30 | # centred with black bars (-PresentScale fit, the default with -Aspect) or stretched (stretch). |
| 29 | # -Resolution the older path: the game renders at this height and the title's own upscaler does the rest | 31 | # -Resolution the older path: the game renders at this height and the title's own upscaler does the rest |
| @@ -52,6 +54,7 @@ param( | |||
| 52 | [ValidateSet(0, 2, 3, 4, 5, 6)][int]$FrameGen = 0, | 54 | [ValidateSet(0, 2, 3, 4, 5, 6)][int]$FrameGen = 0, |
| 53 | [switch]$NoFrameGen, | 55 | [switch]$NoFrameGen, |
| 54 | [switch]$MotionBlur, | 56 | [switch]$MotionBlur, |
| 57 | [switch]$FsrFrameGen, | ||
| 55 | [string]$Aspect = '', | 58 | [string]$Aspect = '', |
| 56 | [ValidateSet('', 'fit', 'stretch')][string]$PresentScale = '', | 59 | [ValidateSet('', 'fit', 'stretch')][string]$PresentScale = '', |
| 57 | [string]$Adapter = '', | 60 | [string]$Adapter = '', |
| @@ -97,7 +100,7 @@ if ($Dlss) { $launch.Dlss = $Dlss } | |||
| 97 | if ($FrameGen) { $launch.FrameGen = $FrameGen } | 100 | if ($FrameGen) { $launch.FrameGen = $FrameGen } |
| 98 | if ($Aspect) { $launch.Aspect = $Aspect } | 101 | if ($Aspect) { $launch.Aspect = $Aspect } |
| 99 | if ($PresentScale) { $launch.PresentScale = $PresentScale } | 102 | if ($PresentScale) { $launch.PresentScale = $PresentScale } |
| 100 | foreach ($switch in 'Quality', 'NoDlss', 'NoFrameGen', 'MotionBlur', 'RayTracing', 'Capture', 'NoPrecompile', 'Log', 'DryRun') { | 103 | foreach ($switch in 'Quality', 'NoDlss', 'NoFrameGen', 'MotionBlur', 'RayTracing', 'Capture', 'NoPrecompile', 'Log', 'DryRun', 'FsrFrameGen') { |
| 101 | if ($PSBoundParameters[$switch]) { $launch[$switch] = $true } | 104 | if ($PSBoundParameters[$switch]) { $launch[$switch] = $true } |
| 102 | } | 105 | } |
| 103 | if ($Resolution) { $launch.Resolution = $Resolution } | 106 | if ($Resolution) { $launch.Resolution = $Resolution } |