diff --git a/Bloxstrap/FastFlagManager.cs b/Bloxstrap/FastFlagManager.cs index b380b5f..5c92751 100644 --- a/Bloxstrap/FastFlagManager.cs +++ b/Bloxstrap/FastFlagManager.cs @@ -52,7 +52,7 @@ namespace Bloxstrap { "UI.Menu.GraphicsSlider", "FFlagFixGraphicsQuality" }, { "UI.FullscreenTitlebarDelay", "FIntFullscreenTitleBarTriggerDelayMillis" }, - { "UI.Menu.Style.DisableV2", "FFlagDisableNewIGMinDUA" }, + { "UI.Menu.Style.V2Rollout", "FIntNewInGameMenuPercentRollout3" }, { "UI.Menu.Style.EnableV4.1", "FFlagEnableInGameMenuControls" }, { "UI.Menu.Style.EnableV4.2", "FFlagEnableInGameMenuModernization" }, { "UI.Menu.Style.EnableV4Chrome", "FFlagEnableInGameMenuChrome" }, @@ -103,7 +103,7 @@ namespace Bloxstrap InGameMenuVersion.Default, new Dictionary { - { "DisableV2", null }, + { "V2Rollout", null }, { "EnableV4", null }, { "EnableV4Chrome", null }, { "ABTest", null } @@ -114,7 +114,7 @@ namespace Bloxstrap InGameMenuVersion.V1, new Dictionary { - { "DisableV2", "True" }, + { "V2Rollout", "0" }, { "EnableV4", "False" }, { "EnableV4Chrome", "False" }, { "ABTest", "False" } @@ -125,7 +125,7 @@ namespace Bloxstrap InGameMenuVersion.V2, new Dictionary { - { "DisableV2", "False" }, + { "V2Rollout", "100" }, { "EnableV4", "False" }, { "EnableV4Chrome", "False" }, { "ABTest", "False" } @@ -136,7 +136,7 @@ namespace Bloxstrap InGameMenuVersion.V4, new Dictionary { - { "DisableV2", "True" }, + { "V2Rollout", "0" }, { "EnableV4", "True" }, { "EnableV4Chrome", "False" }, { "ABTest", "False" } @@ -147,7 +147,7 @@ namespace Bloxstrap InGameMenuVersion.V4Chrome, new Dictionary { - { "DisableV2", "True" }, + { "V2Rollout", "0" }, { "EnableV4", "True" }, { "EnableV4Chrome", "True" }, { "ABTest", "False" } diff --git a/Bloxstrap/Installer.cs b/Bloxstrap/Installer.cs index 6d28072..c08c45f 100644 --- a/Bloxstrap/Installer.cs +++ b/Bloxstrap/Installer.cs @@ -514,6 +514,18 @@ namespace Bloxstrap ProtocolHandler.Register("roblox", "Roblox", Paths.Application, "-player \"%1\""); ProtocolHandler.Register("roblox-player", "Roblox", Paths.Application, "-player \"%1\""); + + string? oldV2Val = App.FastFlags.GetValue("FFlagDisableNewIGMinDUA"); + + if (oldV2Val is not null) + { + if (oldV2Val == "True") + App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "0"); + else + App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "100"); + + App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null); + } } App.Settings.Save();