Skip to content

Commit

Permalink
Merge branch 'pizzaboxer:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Roblox-Thot authored Oct 6, 2024
2 parents e476200 + cb8f8a7 commit 668e686
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 73 deletions.
Binary file modified Bloxstrap/Bloxstrap.ico
Binary file not shown.
15 changes: 2 additions & 13 deletions Bloxstrap/FastFlagManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>
{
{ "Network.Log", "FLogNetwork" },

#if DEBUG
{ "HTTP.Log", "DFLogHttpTraceLight" },

{ "HTTP.Proxy.Enable", "DFFlagDebugEnableHttpProxy" },
{ "HTTP.Proxy.Address.1", "DFStringDebugPlayerHttpProxyUrl" },
{ "HTTP.Proxy.Address.2", "DFStringHttpCurlProxyHostAndPort" },
{ "HTTP.Proxy.Address.3", "DFStringHttpCurlProxyHostAndPortForExternalUrl" },
#endif

{ "Rendering.Framerate", "DFIntTaskSchedulerTargetFps" },
{ "Rendering.ManualFullscreen", "FFlagHandleAltEnterFullscreenManually" },
{ "Rendering.DisableScaling", "DFFlagDisableDPIScale" },
Expand All @@ -45,9 +36,6 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>

{ "UI.Hide", "DFIntCanHideGuiGroupId" },
{ "UI.FontSize", "FIntFontSizePadding" },
#if DEBUG
{ "UI.FlagState", "FStringDebugShowFlagState" },
#endif

{ "UI.FullscreenTitlebarDelay", "FIntFullscreenTitleBarTriggerDelayMillis" },

Expand All @@ -60,7 +48,8 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>

{ "UI.Menu.Style.ABTest.1", "FFlagEnableMenuControlsABTest" },
{ "UI.Menu.Style.ABTest.2", "FFlagEnableV3MenuABTest3" },
{ "UI.Menu.Style.ABTest.3", "FFlagEnableInGameMenuChromeABTest3" }
{ "UI.Menu.Style.ABTest.3", "FFlagEnableInGameMenuChromeABTest3" },
{ "UI.Menu.Style.ABTest.4", "FFlagEnableInGameMenuChromeABTest4" }
};

public static IReadOnlyDictionary<RenderingMode, string> RenderingModes => new Dictionary<RenderingMode, string>
Expand Down
3 changes: 3 additions & 0 deletions Bloxstrap/Installer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@ public static void HandleUpgrade()
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "100");
}

if (App.FastFlags.GetPreset("UI.Menu.Style.ABTest.1") is not null)
App.FastFlags.SetPreset("UI.Menu.Style.ABTest", "False");

App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null);
}

Expand Down
Binary file modified Bloxstrap/Resources/IconBloxstrap.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion Bloxstrap/Resources/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Bloxstrap/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ Do NOT use this to import large "flag lists" made by other people that promise t
<value>Rendering mode</value>
</data>
<data name="Menu.FastFlags.Title" xml:space="preserve">
<value>Fast Flags</value>
<value>Engine settings</value>
</data>
<data name="Menu.FontFiles" xml:space="preserve">
<value>Font files</value>
Expand Down
2 changes: 2 additions & 0 deletions Bloxstrap/UI/Elements/About/Pages/AboutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@
<controls:MarkdownTextBlock MarkdownText="[axstin](https://github.com/axstin)" />
<controls:MarkdownTextBlock MarkdownText="[Mantaraix](https://github.com/Mantaraix)" />
<controls:MarkdownTextBlock MarkdownText="[apprehensions](https://github.com/apprehensions)" />
<controls:MarkdownTextBlock MarkdownText="[axellse](https://github.com/axellse)" />
<controls:MarkdownTextBlock MarkdownText="[BlueOutside](https://github.com/BlueOutside)" />
</StackPanel>
</controls:Expander>
</Grid>
Expand Down
28 changes: 0 additions & 28 deletions Bloxstrap/UI/Elements/Settings/Pages/FastFlagsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,6 @@
<TextBlock Margin="0,2,0,0" FontSize="12" Text="{x:Static resources:Strings.Menu_FastFlags_Help_Description}" Padding="0,0,16,0" Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
</StackPanel>
</ui:CardAction>

<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_ManagerEnabled_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_ManagerEnabled_Description}">
<ui:ToggleSwitch IsChecked="{Binding UseFastFlagManager, Mode=TwoWay}" />
</controls:OptionControl>

<StackPanel Visibility="{Binding ShowDebugFlags, Mode=OneTime}">
<TextBlock Text="Debug" FontSize="20" FontWeight="Medium" Margin="0,16,0,0" />

<controls:OptionControl
Header="HTTP request logging"
Description="Enables logging of HTTP requests (DFLogHttpTraceLight=12).">
<ui:ToggleSwitch IsChecked="{Binding HttpRequestLogging, Mode=TwoWay}" />
</controls:OptionControl>

<controls:OptionControl
Header="HTTP proxy address"
Description="Set blank if not using a proxy. Don't forget to add cacert.pem as a mod.">
<ui:TextBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" Text="{Binding HttpRequestProxy, Mode=TwoWay}" />
</controls:OptionControl>

<controls:OptionControl
Header="Flag state overlay"
Description="Show values of specified flags during runtime. Each flag is comma separated.">
<ui:TextBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" Text="{Binding StateOverlayFlags, Mode=TwoWay}" />
</controls:OptionControl>
</StackPanel>

<TextBlock Text="{x:Static resources:Strings.Common_Presets}" FontSize="20" FontWeight="Medium" Margin="0,16,0,0" />

Expand Down
29 changes: 0 additions & 29 deletions Bloxstrap/UI/ViewModels/Settings/FastFlagsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,13 @@ public class FastFlagsViewModel : NotifyPropertyChangedViewModel
private void OpenFastFlagEditor() => OpenFlagEditorEvent?.Invoke(this, EventArgs.Empty);

public ICommand OpenFastFlagEditorCommand => new RelayCommand(OpenFastFlagEditor);

#if DEBUG
public Visibility ShowDebugFlags => Visibility.Visible;
#else
public Visibility ShowDebugFlags => Visibility.Collapsed;
#endif

public bool UseFastFlagManager
{
get => App.Settings.Prop.UseFastFlagManager;
set => App.Settings.Prop.UseFastFlagManager = value;
}

public bool HttpRequestLogging
{
get => App.FastFlags.GetPreset("HTTP.Log") is not null;
set => App.FastFlags.SetPreset("HTTP.Log", value ? 12 : null);
}

public string HttpRequestProxy
{
get => App.FastFlags.GetPreset("HTTP.Proxy.Address.1") ?? "";

set
{
App.FastFlags.SetPreset("HTTP.Proxy.Enable", String.IsNullOrEmpty(value) ? null : true);
App.FastFlags.SetPreset("HTTP.Proxy.Address", String.IsNullOrEmpty(value) ? null : value);
}
}

public string StateOverlayFlags
{
get => App.FastFlags.GetPreset("UI.FlagState") ?? "";
set => App.FastFlags.SetPreset("UI.FlagState", String.IsNullOrEmpty(value) ? null : value);
}

public int FramerateLimit
{
get => int.TryParse(App.FastFlags.GetPreset("Rendering.Framerate"), out int x) ? x : 0;
Expand Down
Binary file added Images/Bloxstrap-full-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Bloxstrap-full-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Images/Bloxstrap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
> [!IMPORTANT]
> [6th October 2024 ‐ Upcoming changes to Bloxstrap](https://github.com/pizzaboxer/bloxstrap/wiki/6th-October-2024-%E2%80%90-Upcoming-changes-to-Bloxstrap)
> [!CAUTION]
> The only official places to download Bloxstrap are this GitHub repository and [bloxstraplabs.com](https://bloxstraplabs.com). Any other websites offering downloads or claiming to be us are not controlled by us.
# <img src="https://github.com/pizzaboxer/bloxstrap/raw/main/Images/Bloxstrap.png" width="48"/> Bloxstrap
<p align="center">
<img src="https://github.com/pizzaboxer/bloxstrap/raw/main/Images/Bloxstrap-full-dark.png#gh-dark-mode-only" width="500">
<img src="https://github.com/pizzaboxer/bloxstrap/raw/main/Images/Bloxstrap-full-light.png#gh-light-mode-only" width="500">
</p>

[![License](https://img.shields.io/github/license/pizzaboxer/bloxstrap)](https://github.com/pizzaboxer/bloxstrap/blob/main/LICENSE)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/pizzaboxer/bloxstrap/ci.yml?branch=main&label=builds)](https://github.com/pizzaboxer/bloxstrap/actions)
Expand Down

0 comments on commit 668e686

Please sign in to comment.