Remove flag preset for graphics quality slider

RIP
This commit is contained in:
pizzaboxer 2024-09-09 12:40:44 +01:00
parent 356155c75b
commit 7a0f50bd81
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
6 changed files with 2 additions and 38 deletions

View File

@ -49,7 +49,6 @@ namespace Bloxstrap
{ "UI.FlagState", "FStringDebugShowFlagState" }, { "UI.FlagState", "FStringDebugShowFlagState" },
#endif #endif
{ "UI.Menu.GraphicsSlider", "FFlagFixGraphicsQuality" },
{ "UI.FullscreenTitlebarDelay", "FIntFullscreenTitleBarTriggerDelayMillis" }, { "UI.FullscreenTitlebarDelay", "FIntFullscreenTitleBarTriggerDelayMillis" },
{ "UI.Menu.Style.V2Rollout", "FIntNewInGameMenuPercentRollout3" }, { "UI.Menu.Style.V2Rollout", "FIntNewInGameMenuPercentRollout3" },
@ -62,7 +61,6 @@ namespace Bloxstrap
{ "UI.Menu.Style.ABTest.3", "FFlagEnableInGameMenuChromeABTest3" } { "UI.Menu.Style.ABTest.3", "FFlagEnableInGameMenuChromeABTest3" }
}; };
// only one missing here is Metal because lol
public static IReadOnlyDictionary<RenderingMode, string> RenderingModes => new Dictionary<RenderingMode, string> public static IReadOnlyDictionary<RenderingMode, string> RenderingModes => new Dictionary<RenderingMode, string>
{ {
{ RenderingMode.Default, "None" }, { RenderingMode.Default, "None" },

View File

@ -519,6 +519,8 @@ namespace Bloxstrap
App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null); App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null);
} }
App.FastFlags.SetValue("FFlagFixGraphicsQuality", null);
} }
App.Settings.Save(); App.Settings.Save();

View File

@ -2306,24 +2306,6 @@ namespace Bloxstrap.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to Allows you to configure 21 different quality levels instead of 10..
/// </summary>
public static string Menu_FastFlags_Presets_AltGraphicsSelector_Description {
get {
return ResourceManager.GetString("Menu.FastFlags.Presets.AltGraphicsSelector.Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use advanced graphics quality selector.
/// </summary>
public static string Menu_FastFlags_Presets_AltGraphicsSelector_Title {
get {
return ResourceManager.GetString("Menu.FastFlags.Presets.AltGraphicsSelector.Title", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Rendering and Graphics. /// Looks up a localized string similar to Rendering and Graphics.
/// </summary> /// </summary>

View File

@ -637,12 +637,6 @@ Do NOT use this to import large "flag lists" made by other people that promise t
<value>Learn more about Fast Flags, what these presets do, and how to use them.</value> <value>Learn more about Fast Flags, what these presets do, and how to use them.</value>
<comment>Title is Common.Help</comment> <comment>Title is Common.Help</comment>
</data> </data>
<data name="Menu.FastFlags.Presets.AltGraphicsSelector.Description" xml:space="preserve">
<value>Allows you to configure 21 different quality levels instead of 10.</value>
</data>
<data name="Menu.FastFlags.Presets.AltGraphicsSelector.Title" xml:space="preserve">
<value>Use advanced graphics quality selector</value>
</data>
<data name="Menu.FastFlags.Presets.D3DExclusiveFullscreenInfo" xml:space="preserve"> <data name="Menu.FastFlags.Presets.D3DExclusiveFullscreenInfo" xml:space="preserve">
<value>Direct3D [exclusive fullscreen]({0}) using Alt+Enter is enabled by default.</value> <value>Direct3D [exclusive fullscreen]({0}) using Alt+Enter is enabled by default.</value>
</data> </data>

View File

@ -165,12 +165,6 @@
</ComboBox> </ComboBox>
</controls:OptionControl> </controls:OptionControl>
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_AltGraphicsSelector_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_AltGraphicsSelector_Description}">
<ui:ToggleSwitch IsChecked="{Binding AlternateGraphicsSelectorEnabled, Mode=TwoWay}" />
</controls:OptionControl>
<ui:CardAction Margin="0,24,0,0" Icon="EditSettings24" Command="{Binding OpenFastFlagEditorCommand}"> <ui:CardAction Margin="0,24,0,0" Icon="EditSettings24" Command="{Binding OpenFastFlagEditorCommand}">
<StackPanel> <StackPanel>
<TextBlock FontSize="14" Text="{x:Static resources:Strings.Menu_FastFlagEditor_Title}" /> <TextBlock FontSize="14" Text="{x:Static resources:Strings.Menu_FastFlagEditor_Title}" />

View File

@ -96,12 +96,6 @@ namespace Bloxstrap.UI.ViewModels.Settings
set => App.FastFlags.SetPreset("Rendering.DisableScaling", value ? "True" : null); 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<InGameMenuVersion, Dictionary<string, string?>> IGMenuVersions => FastFlagManager.IGMenuVersions; public IReadOnlyDictionary<InGameMenuVersion, Dictionary<string, string?>> IGMenuVersions => FastFlagManager.IGMenuVersions;
public InGameMenuVersion SelectedIGMenuVersion public InGameMenuVersion SelectedIGMenuVersion