From 8448c823c000d494480bde677f76c60969805723 Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Sat, 19 Jul 2025 09:02:50 -0400
Subject: move env vars into lsfg script, getting sunset in lsfg-vk config soon

---
 src/components/ConfigurationSection.tsx | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

(limited to 'src/components/ConfigurationSection.tsx')

diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index ad99c28..85ca463 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -100,30 +100,16 @@ export function ConfigurationSection({
           label="Override Vulkan present mode"
           description="Select a specific Vulkan presentation mode for better performance or compatibility (may cause crashes)"
           menuLabel="Select presentation mode"
-          selectedOption={config.experimental_present_mode}
+          selectedOption={config.experimental_present_mode || "fifo"}
           onChange={(value) => onConfigChange('experimental_present_mode', value.data)}
           rgOptions={[
-            { data: "", label: "Default" },
-            { data: "fifo", label: "FIFO" },
-            { data: "vsync", label: "VSync" },
+            { data: "fifo", label: "FIFO (VSync)" },
             { data: "mailbox", label: "Mailbox" },
             { data: "immediate", label: "Immediate" }
           ]}
         />
       </PanelSectionRow>
 
-      <PanelSectionRow>
-        <SliderField
-          label={`FPS Limit${config.experimental_fps_limit > 0 ? ` (${config.experimental_fps_limit} FPS)` : ' (Off)'}`}
-          description="Base framerate cap for DirectX games, before frame multiplier (requires game re-launch)"
-          value={config.experimental_fps_limit}
-          min={0}
-          max={60}
-          step={1}
-          onChange={(value) => onConfigChange('experimental_fps_limit', value)}
-        />
-      </PanelSectionRow>
-
       <PanelSectionRow>
         <div
           style={{
@@ -140,6 +126,18 @@ export function ConfigurationSection({
         </div>
       </PanelSectionRow>
 
+      <PanelSectionRow>
+        <SliderField
+          label={`DXVK Frame Rate${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : ' (Off)'}`}
+          description="Base framerate cap for DirectX games, before frame multiplier (requires game re-launch)"
+          value={config.dxvk_frame_rate}
+          min={0}
+          max={60}
+          step={1}
+          onChange={(value) => onConfigChange('dxvk_frame_rate', value)}
+        />
+      </PanelSectionRow>
+
       <PanelSectionRow>
         <ToggleField
           label="Enable WOW64 for 32-bit games"
-- 
cgit v1.2.3


From c9ae3c5afa6612b98ea7152e9cfd892dd282cb3d Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Sat, 19 Jul 2025 09:15:51 -0400
Subject: update descriptions

---
 src/components/ConfigurationSection.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'src/components/ConfigurationSection.tsx')

diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 85ca463..5afd8f6 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -98,12 +98,12 @@ export function ConfigurationSection({
       <PanelSectionRow>
         <DropdownItem
           label="Override Vulkan present mode"
-          description="Select a specific Vulkan presentation mode for better performance or compatibility (may cause crashes)"
+          description="Select a specific Vulkan presentation mode for better performance or compatibility (May cause crashes)"
           menuLabel="Select presentation mode"
           selectedOption={config.experimental_present_mode || "fifo"}
           onChange={(value) => onConfigChange('experimental_present_mode', value.data)}
           rgOptions={[
-            { data: "fifo", label: "FIFO (VSync)" },
+            { data: "fifo", label: "FIFO (VSync) - Default" },
             { data: "mailbox", label: "Mailbox" },
             { data: "immediate", label: "Immediate" }
           ]}
@@ -122,14 +122,14 @@ export function ConfigurationSection({
             color: "white"
           }}
         >
-          Environment Variables (Requires Re-launch)
+          Environment Variables (Requires re-launch)
         </div>
       </PanelSectionRow>
 
       <PanelSectionRow>
         <SliderField
-          label={`DXVK Frame Rate${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : ' (Off)'}`}
-          description="Base framerate cap for DirectX games, before frame multiplier (requires game re-launch)"
+          label={`Base FPS Cap${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : ' (Off)'}`}
+          description="Base framerate cap for DirectX games, before frame multiplier"
           value={config.dxvk_frame_rate}
           min={0}
           max={60}
@@ -141,7 +141,7 @@ export function ConfigurationSection({
       <PanelSectionRow>
         <ToggleField
           label="Enable WOW64 for 32-bit games"
-          description="Enables PROTON_USE_WOW64=1 for 32-bit games (use with ProtonGE to fix crashing)"
+          description="Enables PROTON_USE_WOW64=1 for 32-bit games (Use with ProtonGE to fix crashing)"
           checked={config.enable_wow64}
           onChange={(value) => onConfigChange('enable_wow64', value)}
         />
@@ -150,7 +150,7 @@ export function ConfigurationSection({
       <PanelSectionRow>
         <ToggleField
           label="Disable Steam Deck Mode"
-          description="Disables Steam Deck mode (unlocks hidden settings in some games)"
+          description="Disables Steam Deck mode (Unlocks hidden settings in some games)"
           checked={config.disable_steamdeck_mode}
           onChange={(value) => onConfigChange('disable_steamdeck_mode', value)}
         />
-- 
cgit v1.2.3

