mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
New FFlag presets, categorisation, easy killswitch
This commit is contained in:
parent
08900de756
commit
8dfd12b7f0
@ -5,7 +5,6 @@
|
||||
Default,
|
||||
x1,
|
||||
x2,
|
||||
x4,
|
||||
x8
|
||||
x4
|
||||
}
|
||||
}
|
||||
|
11
Bloxstrap/Enums/FlagPresets/TextureQuality.cs
Normal file
11
Bloxstrap/Enums/FlagPresets/TextureQuality.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace Bloxstrap.Enums.FlagPresets
|
||||
{
|
||||
public enum TextureQuality
|
||||
{
|
||||
Default,
|
||||
Level0,
|
||||
Level1,
|
||||
Level2,
|
||||
Level3
|
||||
}
|
||||
}
|
@ -26,6 +26,9 @@ namespace Bloxstrap
|
||||
{ "Rendering.Framerate", "DFIntTaskSchedulerTargetFps" },
|
||||
{ "Rendering.ManualFullscreen", "FFlagHandleAltEnterFullscreenManually" },
|
||||
{ "Rendering.DisableScaling", "DFFlagDisableDPIScale" },
|
||||
{ "Rendering.MSAA", "FIntDebugForceMSAASamples" },
|
||||
{ "Rendering.DisablePostFX", "FFlagDisablePostFx" },
|
||||
{ "Rendering.ShadowIntensity", "FIntRenderShadowIntensity" },
|
||||
|
||||
{ "Rendering.Mode.D3D11", "FFlagDebugGraphicsPreferD3D11" },
|
||||
{ "Rendering.Mode.D3D10", "FFlagDebugGraphicsPreferD3D11FL10" },
|
||||
@ -37,12 +40,18 @@ namespace Bloxstrap
|
||||
{ "Rendering.Lighting.ShadowMap", "FFlagDebugForceFutureIsBrightPhase2" },
|
||||
{ "Rendering.Lighting.Future", "FFlagDebugForceFutureIsBrightPhase3" },
|
||||
|
||||
{ "Rendering.TextureQuality.OverrideEnabled", "DFFlagTextureQualityOverrideEnabled" },
|
||||
{ "Rendering.TextureQuality.Level", "DFIntTextureQualityOverride" },
|
||||
{ "Rendering.TerrainTextureQuality", "FIntTerrainArraySliceSize" },
|
||||
|
||||
{ "UI.Hide", "DFIntCanHideGuiGroupId" },
|
||||
{ "UI.FontSize", "FIntFontSizePadding" },
|
||||
#if DEBUG
|
||||
{ "UI.FlagState", "FStringDebugShowFlagState" },
|
||||
#endif
|
||||
|
||||
{ "UI.Menu.GraphicsSlider", "FFlagFixGraphicsQuality" },
|
||||
{ "UI.FullscreenTitlebarDelay", "FIntFullscreenTitleBarTriggerDelayMillis" },
|
||||
|
||||
{ "UI.Menu.Style.DisableV2", "FFlagDisableNewIGMinDUA" },
|
||||
{ "UI.Menu.Style.EnableV4.1", "FFlagEnableInGameMenuControls" },
|
||||
@ -77,8 +86,16 @@ namespace Bloxstrap
|
||||
{ MSAAMode.Default, null },
|
||||
{ MSAAMode.x1, "1" },
|
||||
{ MSAAMode.x2, "2" },
|
||||
{ MSAAMode.x4, "4" },
|
||||
{ MSAAMode.x8, "8" }
|
||||
{ MSAAMode.x4, "4" }
|
||||
};
|
||||
|
||||
public static IReadOnlyDictionary<TextureQuality, string?> TextureQualityLevels => new Dictionary<TextureQuality, string?>
|
||||
{
|
||||
{ TextureQuality.Default, null },
|
||||
{ TextureQuality.Level0, "0" },
|
||||
{ TextureQuality.Level1, "1" },
|
||||
{ TextureQuality.Level2, "2" },
|
||||
{ TextureQuality.Level3, "3" },
|
||||
};
|
||||
|
||||
// this is one hell of a dictionary definition lmao
|
||||
|
173
Bloxstrap/Resources/Strings.Designer.cs
generated
173
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -1055,7 +1055,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 1x MSAA.
|
||||
/// Looks up a localized string similar to 1x.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_MSAAMode_x1 {
|
||||
get {
|
||||
@ -1064,7 +1064,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 2x MSAA.
|
||||
/// Looks up a localized string similar to 2x.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_MSAAMode_x2 {
|
||||
get {
|
||||
@ -1073,7 +1073,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 4x MSAA.
|
||||
/// Looks up a localized string similar to 4x.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_MSAAMode_x4 {
|
||||
get {
|
||||
@ -1081,15 +1081,6 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 8x MSAA.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_MSAAMode_x8 {
|
||||
get {
|
||||
return ResourceManager.GetString("Enums.FlagPresets.MSAAMode.x8", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Direct3D 10.
|
||||
/// </summary>
|
||||
@ -1135,6 +1126,51 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Default.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_TextureQuality_Default {
|
||||
get {
|
||||
return ResourceManager.GetString("Enums.FlagPresets.TextureQuality.Default", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Level 0 (Lowest).
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_TextureQuality_Level0 {
|
||||
get {
|
||||
return ResourceManager.GetString("Enums.FlagPresets.TextureQuality.Level0", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Level 1.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_TextureQuality_Level1 {
|
||||
get {
|
||||
return ResourceManager.GetString("Enums.FlagPresets.TextureQuality.Level1", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Level 2.
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_TextureQuality_Level2 {
|
||||
get {
|
||||
return ResourceManager.GetString("Enums.FlagPresets.TextureQuality.Level2", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Level 3 (Highest).
|
||||
/// </summary>
|
||||
public static string Enums_FlagPresets_TextureQuality_Level3 {
|
||||
get {
|
||||
return ResourceManager.GetString("Enums.FlagPresets.TextureQuality.Level3", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Private.
|
||||
/// </summary>
|
||||
@ -1878,7 +1914,7 @@ namespace Bloxstrap.Resources {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Fast Flags are extremely powerful, being that they are intended to only be used by Roblox engineers. While they can be very useful, manually configuring them can cause serious issues with stability and functionality. Do NOT use the editor if you are unsure of what you are doing.
|
||||
///
|
||||
///Do NOT use this to import large "flag lists" made by other people that promise to improve performance or such. They are subject to the aforementioned issues, and they will cause problems for you since you will not be fully aware of [rest of string was truncated]";.
|
||||
///Do NOT use this to import large "flag lists" made by other people that promise to improve performance or such. They are subject to the aforementioned issues, and they will cause problems for you since you will not be fully aware [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlagEditor_Warning_Text {
|
||||
get {
|
||||
@ -1914,7 +1950,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Choose whether to allow Bloxstrap to manage Fast Flags.
|
||||
/// Looks up a localized string similar to Selecting this will prevent anything configured here from being applied to Roblox..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_ManagerEnabled_Description {
|
||||
get {
|
||||
@ -1923,7 +1959,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Enable Fast Flag manager.
|
||||
/// Looks up a localized string similar to Allow Bloxstrap to manage Fast Flags.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_ManagerEnabled_Title {
|
||||
get {
|
||||
@ -1932,7 +1968,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Toggle between using the consolidated 1-10 / fine-grained 1-21 graphics quality slider..
|
||||
/// 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 {
|
||||
@ -1941,7 +1977,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Use alternate graphics quality selector.
|
||||
/// Looks up a localized string similar to Use advanced graphics quality selector.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_AltGraphicsSelector_Title {
|
||||
get {
|
||||
@ -1968,7 +2004,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to FastFlag preset for Direct3D [exclusive fullscreen]({0}) using Alt+Enter is already enabled by default..
|
||||
/// Looks up a localized string similar to Direct3D [exclusive fullscreen]({0}) using Alt+Enter is enabled by default..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_D3DExclusiveFullscreenInfo {
|
||||
get {
|
||||
@ -2040,11 +2076,29 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Choose which version of the escape menu to use..
|
||||
/// Looks up a localized string similar to Disable player shadows.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_EscapeMenuVersion_Description {
|
||||
public static string Menu_FastFlags_Presets_DisablePlayerShadows_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.EscapeMenuVersion.Description", resourceCulture);
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.DisablePlayerShadows.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disable post-processing effects.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_DisablePostFX_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.DisablePostFX.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disable terrain textures.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_DisableTerrainTextures_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.DisableTerrainTextures.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -2058,7 +2112,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Roblox reduces your rendering quality, depending on display scaling. This toggle disables that..
|
||||
/// Looks up a localized string similar to Roblox reduces your rendering quality depending on how your display is scaled in Windows..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_FixDisplayScaling_Description {
|
||||
get {
|
||||
@ -2076,7 +2130,25 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Use a large number like 9999 for no limit. Set as 0 for defaults..
|
||||
/// Looks up a localized string similar to Default value is 1. Adjust if you use a custom font..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_FontPadding_Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.FontPadding.Description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Font size.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_FontPadding_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.FontPadding.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Set to 0 for defaults if you want to use Roblox's native framerate unlocker..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_FPSLimit_Description {
|
||||
get {
|
||||
@ -2093,6 +2165,24 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Stops it from showing whenever you move your mouse to the top of the screen..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_FullscreenTitlebar_Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.FullscreenTitlebar.Description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Disable full-screen titlebar.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_FullscreenTitlebar_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.FullscreenTitlebar.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Toggled with [keyboard shortcuts]({0}). Only works if you're in the [Bloxstrap group]({1})..
|
||||
/// </summary>
|
||||
@ -2130,29 +2220,11 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Choose which material version should be forced in all games..
|
||||
/// Looks up a localized string similar to Anti-aliasing quality (MSAA).
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_Materials_Description {
|
||||
public static string Menu_FastFlags_Presets_MSAA_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.Materials.Description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Preferred materials.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_Materials_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.Materials.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Choose which renderer Roblox should use..
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_RenderingMode_Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.RenderingMode.Description", resourceCulture);
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.MSAA.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -2165,6 +2237,15 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Texture quality.
|
||||
/// </summary>
|
||||
public static string Menu_FastFlags_Presets_TextureQuality_Title {
|
||||
get {
|
||||
return ResourceManager.GetString("Menu.FastFlags.Presets.TextureQuality.Title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Fast Flags.
|
||||
/// </summary>
|
||||
@ -2550,7 +2631,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Forces every in-game font to be a font that you choose..
|
||||
/// Looks up a localized string similar to Font size can be adjusted in the Fast Flags tab..
|
||||
/// </summary>
|
||||
public static string Menu_Mods_Misc_CustomFont_Description {
|
||||
get {
|
||||
@ -2577,7 +2658,7 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Apply custom font.
|
||||
/// Looks up a localized string similar to Use custom font.
|
||||
/// </summary>
|
||||
public static string Menu_Mods_Misc_CustomFont_Title {
|
||||
get {
|
||||
|
@ -445,16 +445,13 @@ Click for more information</value>
|
||||
<value>Automatic</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.MSAAMode.x1" xml:space="preserve">
|
||||
<value>1x MSAA</value>
|
||||
<value>1x</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.MSAAMode.x2" xml:space="preserve">
|
||||
<value>2x MSAA</value>
|
||||
<value>2x</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.MSAAMode.x4" xml:space="preserve">
|
||||
<value>4x MSAA</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.MSAAMode.x8" xml:space="preserve">
|
||||
<value>8x MSAA</value>
|
||||
<value>4x</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.RenderingMode.D3D10" xml:space="preserve">
|
||||
<value>Direct3D 10</value>
|
||||
@ -730,13 +727,13 @@ Do NOT use this to import large "flag lists" made by other people that promise t
|
||||
<comment>Title is Common.Help</comment>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.AltGraphicsSelector.Description" xml:space="preserve">
|
||||
<value>Toggle between using the consolidated 1-10 / fine-grained 1-21 graphics quality slider.</value>
|
||||
<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 alternate graphics quality selector</value>
|
||||
<value>Use advanced graphics quality selector</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.D3DExclusiveFullscreenInfo" xml:space="preserve">
|
||||
<value>FastFlag preset for Direct3D [exclusive fullscreen]({0}) using Alt+Enter is already enabled by default.</value>
|
||||
<value>Direct3D [exclusive fullscreen]({0}) using Alt+Enter is enabled by default.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.Debug.FlagStateOverlay.Description" xml:space="preserve">
|
||||
<value>Show values of specified flags during runtime. Each flag is comma separated.</value>
|
||||
@ -761,20 +758,17 @@ Do NOT use this to import large "flag lists" made by other people that promise t
|
||||
<data name="Menu.FastFlags.Presets.Debug.Title" xml:space="preserve">
|
||||
<value>Debug</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.EscapeMenuVersion.Description" xml:space="preserve">
|
||||
<value>Choose which version of the escape menu to use.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.EscapeMenuVersion.Title" xml:space="preserve">
|
||||
<value>Preferred escape menu version</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FixDisplayScaling.Description" xml:space="preserve">
|
||||
<value>Roblox reduces your rendering quality, depending on display scaling. This toggle disables that.</value>
|
||||
<value>Roblox reduces your rendering quality depending on how your display is scaled in Windows.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FixDisplayScaling.Title" xml:space="preserve">
|
||||
<value>Preserve rendering quality with display scaling</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FPSLimit.Description" xml:space="preserve">
|
||||
<value>Use a large number like 9999 for no limit. Set as 0 for defaults.</value>
|
||||
<value>Set to 0 for defaults if you want to use Roblox's native framerate unlocker.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FPSLimit.Title" xml:space="preserve">
|
||||
<value>Framerate limit</value>
|
||||
@ -791,15 +785,6 @@ Do NOT use this to import large "flag lists" made by other people that promise t
|
||||
<data name="Menu.FastFlags.Presets.LightingTechnology.Title" xml:space="preserve">
|
||||
<value>Preferred lighting technology</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.Materials.Description" xml:space="preserve">
|
||||
<value>Choose which material version should be forced in all games.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.Materials.Title" xml:space="preserve">
|
||||
<value>Preferred materials</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.RenderingMode.Description" xml:space="preserve">
|
||||
<value>Choose which renderer Roblox should use.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.RenderingMode.Title" xml:space="preserve">
|
||||
<value>Rendering mode</value>
|
||||
</data>
|
||||
@ -937,7 +922,7 @@ Selecting 'No' will ignore this warning and continue installation.</value>
|
||||
<value>Choose font...</value>
|
||||
</data>
|
||||
<data name="Menu.Mods.Misc.CustomFont.Description" xml:space="preserve">
|
||||
<value>Forces every in-game font to be a font that you choose.</value>
|
||||
<value>Font size can be adjusted in the Fast Flags tab.</value>
|
||||
</data>
|
||||
<data name="Menu.Mods.Misc.CustomFont.Invalid" xml:space="preserve">
|
||||
<value>The file you have chosen does not appear to be a valid font file.</value>
|
||||
@ -946,7 +931,7 @@ Selecting 'No' will ignore this warning and continue installation.</value>
|
||||
<value>Remove applied font</value>
|
||||
</data>
|
||||
<data name="Menu.Mods.Misc.CustomFont.Title" xml:space="preserve">
|
||||
<value>Apply custom font</value>
|
||||
<value>Use custom font</value>
|
||||
</data>
|
||||
<data name="Menu.Mods.Misc.DisableFullscreenOptimisations.Description" xml:space="preserve">
|
||||
<value>A Windows feature that may conflict with performance in full-screen.</value>
|
||||
@ -1051,9 +1036,52 @@ Scroll for more languages.</value>
|
||||
<data name="Menu.FastFlags.Presets.Categories.UserInterface" xml:space="preserve">
|
||||
<value>User Interface and Layout</value>
|
||||
</data>
|
||||
<value>Enable Fast Flag manager</value>
|
||||
<data name="Menu.FastFlags.ManagerEnabled.Title" xml:space="preserve">
|
||||
<value>Allow Bloxstrap to manage Fast Flags</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.ManagerEnabled.Description" xml:space="preserve">
|
||||
<value>Choose whether Fast Flags configured here should apply to Roblox</value>
|
||||
<value>Disabling this will prevent anything configured here from being applied to Roblox.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.MSAA.Title" xml:space="preserve">
|
||||
<value>Anti-aliasing quality (MSAA)</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.DisablePostFX.Title" xml:space="preserve">
|
||||
<value>Disable post-processing effects</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FullscreenTitlebar.Title" xml:space="preserve">
|
||||
<value>Disable full-screen titlebar</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FullscreenTitlebar.Description" xml:space="preserve">
|
||||
<value>Stops it from showing whenever you move your mouse to the top of the screen.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.TextureQuality.Title" xml:space="preserve">
|
||||
<value>Texture quality</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.TextureQuality.Default" xml:space="preserve">
|
||||
<value>Default</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.TextureQuality.Level0" xml:space="preserve">
|
||||
<value>Level 0 (Lowest)</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.TextureQuality.Level1" xml:space="preserve">
|
||||
<value>Level 1</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.TextureQuality.Level2" xml:space="preserve">
|
||||
<value>Level 2</value>
|
||||
</data>
|
||||
<data name="Enums.FlagPresets.TextureQuality.Level3" xml:space="preserve">
|
||||
<value>Level 3 (Highest)</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.DisablePlayerShadows.Title" xml:space="preserve">
|
||||
<value>Disable player shadows</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FontPadding.Title" xml:space="preserve">
|
||||
<value>Font size</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.FontPadding.Description" xml:space="preserve">
|
||||
<value>Default value is 1. Adjust if you use a custom font.</value>
|
||||
</data>
|
||||
<data name="Menu.FastFlags.Presets.DisableTerrainTextures.Title" xml:space="preserve">
|
||||
<value>Disable terrain textures</value>
|
||||
</data>
|
||||
</root>
|
@ -8,7 +8,7 @@
|
||||
xmlns:resources="clr-namespace:Bloxstrap.Resources"
|
||||
xmlns:controls="clr-namespace:Bloxstrap.UI.Elements.Controls"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="1000" d:DesignWidth="800"
|
||||
d:DesignHeight="1500" d:DesignWidth="800"
|
||||
Title="FastFlagsPage"
|
||||
Scrollable="True"
|
||||
Loaded="Page_Loaded">
|
||||
@ -55,6 +55,33 @@
|
||||
|
||||
<TextBlock Text="{x:Static resources:Strings.Menu_FastFlags_Presets_Categories_Rendering}" FontSize="16" FontWeight="Medium" Margin="0,16,0,0" />
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_MSAA_Title}">
|
||||
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding MSAALevels.Keys, Mode=OneTime}" Text="{Binding SelectedMSAALevel, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Path=., Converter={StaticResource ResourceConverter}, ConverterParameter='Enums.FlagPresets.MSAAMode.'}" />
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_DisablePlayerShadows_Title}">
|
||||
<ui:ToggleSwitch IsChecked="{Binding DisablePlayerShadows, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_DisablePostFX_Title}"
|
||||
HelpLink="https://create.roblox.com/docs/environment/post-processing-effects">
|
||||
<ui:ToggleSwitch IsChecked="{Binding DisablePostFX, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_DisableTerrainTextures_Title}">
|
||||
<ui:ToggleSwitch IsChecked="{Binding DisableTerrainTextures, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_FPSLimit_Title}"
|
||||
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_FPSLimit_Description}"
|
||||
@ -76,8 +103,14 @@
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Title}"
|
||||
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Description}">
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_FixDisplayScaling_Title}"
|
||||
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_FixDisplayScaling_Description}"
|
||||
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#dpi-scaling-fixes">
|
||||
<ui:ToggleSwitch IsChecked="{Binding FixDisplayScaling, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Title}">
|
||||
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding RenderingModes.Keys, Mode=OneTime}" Text="{Binding SelectedRenderingMode, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
@ -88,14 +121,24 @@
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_FixDisplayScaling_Title}"
|
||||
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_FixDisplayScaling_Description}"
|
||||
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#dpi-scaling-fixes">
|
||||
<ui:ToggleSwitch IsChecked="{Binding FixDisplayScaling, Mode=TwoWay}" />
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_TextureQuality_Title}">
|
||||
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding TextureQualities.Keys, Mode=OneTime}" Text="{Binding SelectedTextureQuality, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Path=., Converter={StaticResource ResourceConverter}, ConverterParameter='Enums.FlagPresets.TextureQuality.'}" />
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
</controls:OptionControl>
|
||||
|
||||
<TextBlock Text="{x:Static resources:Strings.Menu_FastFlags_Presets_Categories_UserInterface}" FontSize="16" FontWeight="Medium" Margin="0,16,0,0" />
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_FullscreenTitlebar_Title}"
|
||||
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_FullscreenTitlebar_Description}">
|
||||
<ui:ToggleSwitch IsChecked="{Binding FullscreenTitlebarDisabled, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_HideGuis_Title}"
|
||||
Description="{Binding Source={x:Static resources:Strings.Menu_FastFlags_Presets_HideGuis_Description}, Converter={StaticResource StringFormatConverter}, ConverterParameter='https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#gui-hiding|https://www.roblox.com/groups/32380007/Bloxstrap'}"
|
||||
@ -103,9 +146,15 @@
|
||||
<ui:ToggleSwitch IsChecked="{Binding GuiHidingEnabled, Mode=TwoWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
x:Name="FontPaddingOption"
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_FontPadding_Title}"
|
||||
Description="{Binding Source={x:Static resources:Strings.Menu_FastFlags_Presets_FontPadding_Description}, Converter={StaticResource StringFormatConverter}, ConverterParameter='https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#gui-hiding|https://www.roblox.com/groups/32380007/Bloxstrap'}">
|
||||
<ui:TextBox Width="200" Padding="10,5,10,5" Text="{Binding FontSize, Mode=TwoWay}" PreviewTextInput="ValidateInt32" IsEnabled="{Binding InnerContent.Children[1].IsChecked, ElementName=FontPaddingOption, Mode=OneWay}" />
|
||||
</controls:OptionControl>
|
||||
|
||||
<controls:OptionControl
|
||||
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_EscapeMenuVersion_Title}"
|
||||
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_EscapeMenuVersion_Description}"
|
||||
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#escape-menu-version">
|
||||
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
|
@ -74,6 +74,14 @@ namespace Bloxstrap.UI.ViewModels.Menu
|
||||
set => App.FastFlags.SetPreset("Rendering.Framerate", value == 0 ? null : value);
|
||||
}
|
||||
|
||||
public IReadOnlyDictionary<MSAAMode, string?> MSAALevels => FastFlagManager.MSAAModes;
|
||||
|
||||
public MSAAMode SelectedMSAALevel
|
||||
{
|
||||
get => MSAALevels.FirstOrDefault(x => x.Value == App.FastFlags.GetPreset("Rendering.MSAA")).Key;
|
||||
set => App.FastFlags.SetPreset("Rendering.MSAA", MSAALevels[value]);
|
||||
}
|
||||
|
||||
public IReadOnlyDictionary<RenderingMode, string> RenderingModes => FastFlagManager.RenderingModes;
|
||||
|
||||
public RenderingMode SelectedRenderingMode
|
||||
@ -140,10 +148,59 @@ namespace Bloxstrap.UI.ViewModels.Menu
|
||||
set => App.FastFlags.SetPresetEnum("Rendering.Lighting", LightingModes[value], "True");
|
||||
}
|
||||
|
||||
public bool FullscreenTitlebarDisabled
|
||||
{
|
||||
get => int.TryParse(App.FastFlags.GetPreset("UI.FullscreenTitlebarDelay"), out int x) && x > 5000;
|
||||
set => App.FastFlags.SetPreset("UI.FullscreenTitlebarDelay", value ? "3600000" : null);
|
||||
}
|
||||
|
||||
public bool GuiHidingEnabled
|
||||
{
|
||||
get => App.FastFlags.GetPreset("UI.Hide") == "32380007";
|
||||
set => App.FastFlags.SetPreset("UI.Hide", value ? "32380007" : null);
|
||||
}
|
||||
|
||||
public IReadOnlyDictionary<TextureQuality, string?> TextureQualities => FastFlagManager.TextureQualityLevels;
|
||||
|
||||
public TextureQuality SelectedTextureQuality
|
||||
{
|
||||
get => TextureQualities.Where(x => x.Value == App.FastFlags.GetPreset("Rendering.TextureQuality.Level")).FirstOrDefault().Key;
|
||||
set
|
||||
{
|
||||
if (value == TextureQuality.Default)
|
||||
{
|
||||
App.FastFlags.SetPresetEnum("Rendering", "TextureQuality", null);
|
||||
}
|
||||
else
|
||||
{
|
||||
App.FastFlags.SetPreset("Rendering.TextureQuality.OverrideEnabled", "True");
|
||||
App.FastFlags.SetPreset("Rendering.TextureQuality.Level", TextureQualities[value]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool DisablePostFX
|
||||
{
|
||||
get => App.FastFlags.GetPreset("Rendering.DisablePostFX") == "True";
|
||||
set => App.FastFlags.SetPreset("Rendering.DisablePostFX", value ? "True" : null);
|
||||
}
|
||||
|
||||
public bool DisablePlayerShadows
|
||||
{
|
||||
get => App.FastFlags.GetPreset("Rendering.ShadowIntensity") == "0";
|
||||
set => App.FastFlags.SetPreset("Rendering.ShadowIntensity", value ? "0" : null);
|
||||
}
|
||||
|
||||
public int? FontSize
|
||||
{
|
||||
get => int.TryParse(App.FastFlags.GetPreset("UI.FontSize"), out int x) ? x : 1;
|
||||
set => App.FastFlags.SetPreset("UI.FontSize", value == 1 ? null : value);
|
||||
}
|
||||
|
||||
public bool DisableTerrainTextures
|
||||
{
|
||||
get => App.FastFlags.GetPreset("Rendering.TerrainTextureQuality") == "0";
|
||||
set => App.FastFlags.SetPreset("Rendering.TerrainTextureQuality", value ? "0" : null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user