Add support for the 2023 v4 menu

This commit is contained in:
pizzaboxer 2023-06-12 11:41:24 +01:00
parent 7b950cba55
commit 778a67dcb9
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 34 additions and 5 deletions

View File

@ -18,6 +18,10 @@
"Bloxstrap (Menu)": { "Bloxstrap (Menu)": {
"commandName": "Project", "commandName": "Project",
"commandLineArgs": "-menu" "commandLineArgs": "-menu"
},
"Bloxstrap (Deeplink)": {
"commandName": "Project",
"commandLineArgs": "roblox://experiences/start?placeId=95206881"
} }
} }
} }

View File

@ -36,7 +36,8 @@ namespace Bloxstrap.Singletons
{ "Future", "FFlagDebugForceFutureIsBrightPhase3" } { "Future", "FFlagDebugForceFutureIsBrightPhase3" }
}; };
// this is one hell of a variable definition lmao // this is one hell of a dictionary definition lmao
// since these all set the same flags, wouldn't making this use bitwise operators be better?
public static IReadOnlyDictionary<string, Dictionary<string, string?>> IGMenuVersions => new Dictionary<string, Dictionary<string, string?>> public static IReadOnlyDictionary<string, Dictionary<string, string?>> IGMenuVersions => new Dictionary<string, Dictionary<string, string?>>
{ {
{ {
@ -44,7 +45,10 @@ namespace Bloxstrap.Singletons
new Dictionary<string, string?> new Dictionary<string, string?>
{ {
{ "FFlagDisableNewIGMinDUA", null }, { "FFlagDisableNewIGMinDUA", null },
{ "FFlagEnableInGameMenuV3", null } { "FFlagEnableInGameMenuV3", null },
{ "FFlagEnableInGameMenuControls", null },
{ "FFlagEnableV3MenuABTest3", null },
{ "FFlagEnableMenuControlsABTest", null }
} }
}, },
@ -53,7 +57,10 @@ namespace Bloxstrap.Singletons
new Dictionary<string, string?> new Dictionary<string, string?>
{ {
{ "FFlagDisableNewIGMinDUA", "True" }, { "FFlagDisableNewIGMinDUA", "True" },
{ "FFlagEnableInGameMenuV3", "False" } { "FFlagEnableInGameMenuV3", "False" },
{ "FFlagEnableInGameMenuControls", "False" },
{ "FFlagEnableV3MenuABTest3", "False" },
{ "FFlagEnableMenuControlsABTest", "False" }
} }
}, },
@ -62,7 +69,10 @@ namespace Bloxstrap.Singletons
new Dictionary<string, string?> new Dictionary<string, string?>
{ {
{ "FFlagDisableNewIGMinDUA", "False" }, { "FFlagDisableNewIGMinDUA", "False" },
{ "FFlagEnableInGameMenuV3", "False" } { "FFlagEnableInGameMenuV3", "False" },
{ "FFlagEnableInGameMenuControls", "False" },
{ "FFlagEnableV3MenuABTest3", "False" },
{ "FFlagEnableMenuControlsABTest", "False" }
} }
}, },
@ -71,7 +81,22 @@ namespace Bloxstrap.Singletons
new Dictionary<string, string?> new Dictionary<string, string?>
{ {
{ "FFlagDisableNewIGMinDUA", "False" }, { "FFlagDisableNewIGMinDUA", "False" },
{ "FFlagEnableInGameMenuV3", "True" } { "FFlagEnableInGameMenuV3", "True" },
{ "FFlagEnableInGameMenuControls", "False" },
{ "FFlagEnableV3MenuABTest3", "False" },
{ "FFlagEnableMenuControlsABTest", "False" }
}
},
{
"Version 4 (2023)",
new Dictionary<string, string?>
{
{ "FFlagDisableNewIGMinDUA", "True" },
{ "FFlagEnableInGameMenuV3", "False" },
{ "FFlagEnableInGameMenuControls", "True" },
{ "FFlagEnableV3MenuABTest3", "True" },
{ "FFlagEnableMenuControlsABTest", "True" }
} }
} }
}; };