diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-05-19 14:26:39 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-05-19 14:26:39 -0400 |
| commit | 19e5aefa2f41ebd4389bf27136adacf3e75d3502 (patch) | |
| tree | c7f2228aa45fd4325a68de6fe6f32864f383791c /src/utils/constants.ts | |
| parent | 9e12c11b6189972ea04de454dad5c8554efe657a (diff) | |
| download | Decky-Framegen-feat/asset-manifest-fsr4-variants.tar.gz Decky-Framegen-feat/asset-manifest-fsr4-variants.zip | |
feat: add fsr4 runtime manifestsfeat/asset-manifest-fsr4-variants
Diffstat (limited to 'src/utils/constants.ts')
| -rw-r--r-- | src/utils/constants.ts | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 7fa6970..8444240 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -59,6 +59,22 @@ export const PROXY_DLL_OPTIONS = [ export type ProxyDllValue = typeof PROXY_DLL_OPTIONS[number]["value"]; export const DEFAULT_PROXY_DLL: ProxyDllValue = "dxgi.dll"; +export const FSR4_VARIANT_OPTIONS = [ + { + value: "rdna23-int8", + label: "Steam Deck / RDNA2-3 optimized", + hint: "Uses the bundled FSR4 INT8 4.0.2c override. Recommended for Steam Deck and other non-RDNA4 systems.", + }, + { + value: "rdna4-native", + label: "Native bundle / RDNA4", + hint: "Uses the amd_fidelityfx_upscaler_dx12.dll that ships inside the OptiScaler 0.9.2a bundle.", + }, +] as const; + +export type Fsr4VariantValue = typeof FSR4_VARIANT_OPTIONS[number]["value"]; +export const DEFAULT_FSR4_VARIANT: Fsr4VariantValue = "rdna23-int8"; + // Common timeout values export const TIMEOUTS = { resultDisplay: 5000, // 5 seconds @@ -76,5 +92,5 @@ export const MESSAGES = { installSuccess: "OptiScaler mod setup successfully!", uninstallSuccess: "OptiScaler mod removed successfully.", instructionTitle: "How to Use:", - instructionText: "Click 'Copy Patch Command' or 'Copy Unpatch Command', then go to your game's properties, and paste the command into the Launch Options field.\n\nIn-game: Enable DLSS in graphics settings to unlock FSR 3.1/XeSS 2.0 in DirectX12 Games.\n\nFor extended OptiScaler options, assign a back button to a keyboard's 'Insert' key." + instructionText: "Use 'Copy launch options' for the standard direct launch-options method. If you want the wrapper commands instead, enable Manual Mode to reveal 'Copy Patch Command' and 'Copy Unpatch Command'.\n\nIn-game: Enable DLSS in graphics settings to unlock FSR 3.1/XeSS 2.0 in DirectX12 Games.\n\nFor extended OptiScaler options, assign a back button to a keyboard's 'Insert' key." }; |
