Tick the setup's AMD FSR box by default only with an AMD display adapter

The FSR step downloads on any GPU since #1, but the box was ticked for every player. The window now lists the display
adapters Windows reports (screens.windows_adapter_names) and ticks it when one is AMD, or when none could be listed.
The README's install list gets its fourth step back, and the menu's Upscalers text no longer says FSR runs on AMD
GPUs alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
codexx-devandClaude Opus 5.5 committed 2026-11-16 22:11:09 -03:00
1 parent dab62eaf49
commit 48cb8a198a
11 files changed
+77 -20

No files matched your search

+4 -2
View File
@@ -100,12 +100,14 @@ loads the saves 1.4.3 wrote.
the library; NGX loads it from the folder of totk.exe for `dlaa` and the DLSS modes. A DLSS library already in the
folder (a newer one the player put there) is kept. Without an RTX GPU the step only logs and does nothing; a failed
download warns, the game runs without DLSS, and the next run of the setup tries again.
9. **FSR** (the window's tick box, on by default, or `--fsr`; Windows): download
9. **FSR** (the window's tick box, on by default when Windows lists an AMD display adapter, `screens.py`
`windows_adapter_names`; or `--fsr`; Windows): download
`amd_fidelityfx_loader_vk.dll` and `amd_fidelityfx_upscaler_vk.dll` from AMD's FSR SDK repository
(github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK, tag `v2.4.0`, `Kits/FidelityFX/signedbin/`, AMD FSR SDK
license) into the install folder and check their sizes and SHA-256 (`steps.py`, `Fsr`). Both go in only when both
downloaded and matched. `dlaa_backend = fsr` loads them from the folder of totk.exe. Libraries already in the folder
are kept; the SDK selects an upscaler version supported by the GPU; a failed download warns and the next run tries again.
are kept; the SDK selects an upscaler version supported by the GPU; a failed download warns and the next run tries
again.
10. **Clean up** the temp folder, except the generated C and the objects (about 1.3 GB), and write
`build-cache/rebuild.txt` in the install folder.