diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-06-22 21:00:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-22 21:00:27 -0400 |
| commit | dc4610dabb0a70783d4b9e9832578ddde757a850 (patch) | |
| tree | 93184230279f02c3cb2165a6d6f27520de2ef25b /src | |
| parent | ca74bc1dcf2a782d6937810858b5d64e3e3d2917 (diff) | |
| parent | 22c9e8e194bfd127a7da9e96be5ccb47e997aa63 (diff) | |
| download | Decky-Framegen-dc4610dabb0a70783d4b9e9832578ddde757a850.tar.gz Decky-Framegen-dc4610dabb0a70783d4b9e9832578ddde757a850.zip | |
Merge pull request #199 from xXJSONDeruloXx/chore/opti-0.9.3-upgradeHEADv0.15.8-prev0.15.7main
feat: add OptiScaler 0.9.3 FSR4 variants
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/SteamGamePatcher.tsx | 10 | ||||
| -rw-r--r-- | src/utils/constants.ts | 7 |
2 files changed, 13 insertions, 4 deletions
diff --git a/src/components/SteamGamePatcher.tsx b/src/components/SteamGamePatcher.tsx index 18df819..e8ac3d2 100644 --- a/src/components/SteamGamePatcher.tsx +++ b/src/components/SteamGamePatcher.tsx @@ -2,6 +2,7 @@ import { useCallback, useEffect, useMemo, useState } from "react"; import { ButtonItem, DropdownItem, Field, PanelSectionRow } from "@decky/ui"; import { toaster } from "@decky/api"; import { listInstalledGames, getGameStatus, patchGame, unpatchGame } from "../api"; +import { FSR4_VARIANT_OPTIONS } from "../utils/constants"; // ─── SteamClient helpers ───────────────────────────────────────────────────── @@ -142,6 +143,11 @@ export function SteamGamePatcher({ dllName, fsr4Variant }: SteamGamePatcherProps [games, selectedAppId] ); + const selectedVariantLabel = useMemo( + () => FSR4_VARIANT_OPTIONS.find((option) => option.value === fsr4Variant)?.label ?? fsr4Variant, + [fsr4Variant] + ); + const isPatchedWithDifferentDll = gameStatus?.patched && gameStatus?.dll_name && gameStatus.dll_name !== dllName; @@ -267,9 +273,7 @@ export function SteamGamePatcher({ dllName, fsr4Variant }: SteamGamePatcherProps <Field {...focusableFieldProps} label="FSR4 runtime"> {gameStatus?.patched ? (gameStatus?.fsr4_variant_label || "Unknown") - : (fsr4Variant === "rdna4-native" - ? "Will patch with Native bundle / RDNA4" - : "Will patch with Steam Deck / RDNA2-3 optimized")} + : `Will patch with ${selectedVariantLabel}`} </Field> </PanelSectionRow> diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 8444240..b873b61 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -68,7 +68,12 @@ export const FSR4_VARIANT_OPTIONS = [ { value: "rdna4-native", label: "Native bundle / RDNA4", - hint: "Uses the amd_fidelityfx_upscaler_dx12.dll that ships inside the OptiScaler 0.9.2a bundle.", + hint: "Uses the amd_fidelityfx_upscaler_dx12.dll that ships inside the OptiScaler 0.9.3 bundle.", + }, + { + value: "rdna34-official-411", + label: "4.1.1 official for RDNA 3/4", + hint: "Uses the native 0.9.3 upscaler plus the official amdxcffx64.dll override for RDNA 3/4.", }, ] as const; |
