diff --git a/Bloxstrap/FastFlagManager.cs b/Bloxstrap/FastFlagManager.cs index 0a3e36a..3e38a56 100644 --- a/Bloxstrap/FastFlagManager.cs +++ b/Bloxstrap/FastFlagManager.cs @@ -25,7 +25,6 @@ namespace Bloxstrap { "Rendering.ManualFullscreen", "FFlagHandleAltEnterFullscreenManually" }, { "Rendering.TexturePack", "FStringPartTexturePackTable2022" }, { "Rendering.DisableScaling", "DFFlagDisableDPIScale" }, - { "Rendering.MSAA", "FIntDebugForceMSAASamples" }, { "Rendering.Mode.D3D11", "FFlagDebugGraphicsPreferD3D11" }, { "Rendering.Mode.D3D10", "FFlagDebugGraphicsPreferD3D11FL10" }, diff --git a/Bloxstrap/InstallChecker.cs b/Bloxstrap/InstallChecker.cs index 285d61d..75219bf 100644 --- a/Bloxstrap/InstallChecker.cs +++ b/Bloxstrap/InstallChecker.cs @@ -199,11 +199,19 @@ namespace Bloxstrap // update migrations - if (App.BuildMetadata.CommitRef.StartsWith("tag") && existingVersionInfo.ProductVersion == "2.4.0") + if (App.BuildMetadata.CommitRef.StartsWith("tag")) { - App.FastFlags.SetValue("DFFlagDisableDPIScale", null); - App.FastFlags.SetValue("DFFlagVariableDPIScale2", null); - App.FastFlags.Save(); + if (existingVersionInfo.ProductVersion == "2.4.0") + { + App.FastFlags.SetValue("DFFlagDisableDPIScale", null); + App.FastFlags.SetValue("DFFlagVariableDPIScale2", null); + App.FastFlags.Save(); + } + else if (existingVersionInfo.ProductVersion == "2.5.0") + { + App.FastFlags.SetValue("FIntDebugForceMSAASamples", null); + App.FastFlags.Save(); + } } if (isAutoUpgrade) diff --git a/Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml b/Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml index 50c0501..666e665 100644 --- a/Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml +++ b/Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml @@ -171,15 +171,6 @@ - - - - - - - - - diff --git a/Bloxstrap/UI/ViewModels/Menu/FastFlagsViewModel.cs b/Bloxstrap/UI/ViewModels/Menu/FastFlagsViewModel.cs index 28ba70d..8b95d0c 100644 --- a/Bloxstrap/UI/ViewModels/Menu/FastFlagsViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Menu/FastFlagsViewModel.cs @@ -127,14 +127,6 @@ namespace Bloxstrap.UI.ViewModels.Menu set => App.FastFlags.SetPresetEnum("Rendering.Lighting", LightingModes[value], "True"); } - public IReadOnlyDictionary MSAAModes => FastFlagManager.MSAAModes; - - public string SelectedMSAAMode - { - get => MSAAModes.First(x => x.Value == App.FastFlags.GetPreset("Rendering.MSAA")).Key ?? MSAAModes.First().Key; - set => App.FastFlags.SetPreset("Rendering.MSAA", MSAAModes[value]); - } - public bool GuiHidingEnabled { get => App.FastFlags.GetPreset("UI.Hide") == "32380007";