From 7a0f50bd8160b1d207f4d85e468ee52421077f76 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Mon, 9 Sep 2024 12:40:44 +0100 Subject: [PATCH] Remove flag preset for graphics quality slider RIP --- Bloxstrap/FastFlagManager.cs | 2 -- Bloxstrap/Installer.cs | 2 ++ Bloxstrap/Resources/Strings.Designer.cs | 18 ------------------ Bloxstrap/Resources/Strings.resx | 6 ------ .../Elements/Settings/Pages/FastFlagsPage.xaml | 6 ------ .../ViewModels/Settings/FastFlagsViewModel.cs | 6 ------ 6 files changed, 2 insertions(+), 38 deletions(-) diff --git a/Bloxstrap/FastFlagManager.cs b/Bloxstrap/FastFlagManager.cs index 5c92751..a444b80 100644 --- a/Bloxstrap/FastFlagManager.cs +++ b/Bloxstrap/FastFlagManager.cs @@ -49,7 +49,6 @@ namespace Bloxstrap { "UI.FlagState", "FStringDebugShowFlagState" }, #endif - { "UI.Menu.GraphicsSlider", "FFlagFixGraphicsQuality" }, { "UI.FullscreenTitlebarDelay", "FIntFullscreenTitleBarTriggerDelayMillis" }, { "UI.Menu.Style.V2Rollout", "FIntNewInGameMenuPercentRollout3" }, @@ -62,7 +61,6 @@ namespace Bloxstrap { "UI.Menu.Style.ABTest.3", "FFlagEnableInGameMenuChromeABTest3" } }; - // only one missing here is Metal because lol public static IReadOnlyDictionary RenderingModes => new Dictionary { { RenderingMode.Default, "None" }, diff --git a/Bloxstrap/Installer.cs b/Bloxstrap/Installer.cs index c67672a..2aff052 100644 --- a/Bloxstrap/Installer.cs +++ b/Bloxstrap/Installer.cs @@ -519,6 +519,8 @@ namespace Bloxstrap App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null); } + + App.FastFlags.SetValue("FFlagFixGraphicsQuality", null); } App.Settings.Save(); diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index 981861c..67ab3a1 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -2306,24 +2306,6 @@ namespace Bloxstrap.Resources { } } - /// - /// Looks up a localized string similar to Allows you to configure 21 different quality levels instead of 10.. - /// - public static string Menu_FastFlags_Presets_AltGraphicsSelector_Description { - get { - return ResourceManager.GetString("Menu.FastFlags.Presets.AltGraphicsSelector.Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use advanced graphics quality selector. - /// - public static string Menu_FastFlags_Presets_AltGraphicsSelector_Title { - get { - return ResourceManager.GetString("Menu.FastFlags.Presets.AltGraphicsSelector.Title", resourceCulture); - } - } - /// /// Looks up a localized string similar to Rendering and Graphics. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index 890ec70..1285585 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -637,12 +637,6 @@ Do NOT use this to import large "flag lists" made by other people that promise t Learn more about Fast Flags, what these presets do, and how to use them. Title is Common.Help - - Allows you to configure 21 different quality levels instead of 10. - - - Use advanced graphics quality selector - Direct3D [exclusive fullscreen]({0}) using Alt+Enter is enabled by default. diff --git a/Bloxstrap/UI/Elements/Settings/Pages/FastFlagsPage.xaml b/Bloxstrap/UI/Elements/Settings/Pages/FastFlagsPage.xaml index f8bcc5c..9af9ff0 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/FastFlagsPage.xaml +++ b/Bloxstrap/UI/Elements/Settings/Pages/FastFlagsPage.xaml @@ -165,12 +165,6 @@ - - - - diff --git a/Bloxstrap/UI/ViewModels/Settings/FastFlagsViewModel.cs b/Bloxstrap/UI/ViewModels/Settings/FastFlagsViewModel.cs index 9d0a35e..1fc04e0 100644 --- a/Bloxstrap/UI/ViewModels/Settings/FastFlagsViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Settings/FastFlagsViewModel.cs @@ -96,12 +96,6 @@ namespace Bloxstrap.UI.ViewModels.Settings set => App.FastFlags.SetPreset("Rendering.DisableScaling", value ? "True" : null); } - public bool AlternateGraphicsSelectorEnabled - { - get => App.FastFlags.GetPreset("UI.Menu.GraphicsSlider") == "True"; - set => App.FastFlags.SetPreset("UI.Menu.GraphicsSlider", value ? "True" : null); - } - public IReadOnlyDictionary> IGMenuVersions => FastFlagManager.IGMenuVersions; public InGameMenuVersion SelectedIGMenuVersion