@@ -14,42 +14,15 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>
1414
1515 public static IReadOnlyDictionary < string , string > PresetFlags = new Dictionary < string , string >
1616 {
17- { "Network.Log" , "FLogNetwork" } ,
18-
19- { "Rendering.Framerate" , "DFIntTaskSchedulerTargetFps" } ,
2017 { "Rendering.ManualFullscreen" , "FFlagHandleAltEnterFullscreenManually" } ,
2118 { "Rendering.DisableScaling" , "DFFlagDisableDPIScale" } ,
2219 { "Rendering.MSAA" , "FIntDebugForceMSAASamples" } ,
23- { "Rendering.DisablePostFX" , "FFlagDisablePostFx" } ,
24- { "Rendering.ShadowIntensity" , "FIntRenderShadowIntensity" } ,
2520
2621 { "Rendering.Mode.D3D11" , "FFlagDebugGraphicsPreferD3D11" } ,
2722 { "Rendering.Mode.D3D10" , "FFlagDebugGraphicsPreferD3D11FL10" } ,
2823
29- { "Rendering.Lighting.Voxel" , "DFFlagDebugRenderForceTechnologyVoxel" } ,
30- { "Rendering.Lighting.ShadowMap" , "FFlagDebugForceFutureIsBrightPhase2" } ,
31- { "Rendering.Lighting.Future" , "FFlagDebugForceFutureIsBrightPhase3" } ,
32-
3324 { "Rendering.TextureQuality.OverrideEnabled" , "DFFlagTextureQualityOverrideEnabled" } ,
3425 { "Rendering.TextureQuality.Level" , "DFIntTextureQualityOverride" } ,
35- { "Rendering.TerrainTextureQuality" , "FIntTerrainArraySliceSize" } ,
36-
37- { "UI.Hide" , "DFIntCanHideGuiGroupId" } ,
38- { "UI.FontSize" , "FIntFontSizePadding" } ,
39-
40- { "UI.FullscreenTitlebarDelay" , "FIntFullscreenTitleBarTriggerDelayMillis" } ,
41-
42- //{ "UI.Menu.Style.V2Rollout", "FIntNewInGameMenuPercentRollout3" },
43- //{ "UI.Menu.Style.EnableV4.1", "FFlagEnableInGameMenuControls" },
44- //{ "UI.Menu.Style.EnableV4.2", "FFlagEnableInGameMenuModernization" },
45- //{ "UI.Menu.Style.EnableV4Chrome", "FFlagEnableInGameMenuChrome" },
46- //{ "UI.Menu.Style.ReportButtonCutOff", "FFlagFixReportButtonCutOff" },
47-
48-
49- //{ "UI.Menu.Style.ABTest.1", "FFlagEnableMenuControlsABTest" },
50- //{ "UI.Menu.Style.ABTest.2", "FFlagEnableV3MenuABTest3" },
51- //{ "UI.Menu.Style.ABTest.3", "FFlagEnableInGameMenuChromeABTest3" },
52- //{ "UI.Menu.Style.ABTest.4", "FFlagEnableInGameMenuChromeABTest4" }
5326 } ;
5427
5528 public static IReadOnlyDictionary < RenderingMode , string > RenderingModes => new Dictionary < RenderingMode , string >
@@ -59,14 +32,6 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>
5932 { RenderingMode . D3D10 , "D3D10" } ,
6033 } ;
6134
62- public static IReadOnlyDictionary < LightingMode , string > LightingModes => new Dictionary < LightingMode , string >
63- {
64- { LightingMode . Default , "None" } ,
65- { LightingMode . Voxel , "Voxel" } ,
66- { LightingMode . ShadowMap , "ShadowMap" } ,
67- { LightingMode . Future , "Future" }
68- } ;
69-
7035 public static IReadOnlyDictionary < MSAAMode , string ? > MSAAModes => new Dictionary < MSAAMode , string ? >
7136 {
7237 { MSAAMode . Default , null } ,
@@ -84,71 +49,6 @@ public class FastFlagManager : JsonManager<Dictionary<string, object>>
8449 { TextureQuality . Level3 , "3" } ,
8550 } ;
8651
87- // this is one hell of a dictionary definition lmao
88- // since these all set the same flags, wouldn't making this use bitwise operators be better?
89- //public static IReadOnlyDictionary<InGameMenuVersion, Dictionary<string, string?>> IGMenuVersions => new Dictionary<InGameMenuVersion, Dictionary<string, string?>>
90- //{
91- // {
92- // InGameMenuVersion.Default,
93- // new Dictionary<string, string?>
94- // {
95- // { "V2Rollout", null },
96- // { "EnableV4", null },
97- // { "EnableV4Chrome", null },
98- // { "ABTest", null },
99- // { "ReportButtonCutOff", null }
100- // }
101- // },
102-
103- // {
104- // InGameMenuVersion.V1,
105- // new Dictionary<string, string?>
106- // {
107- // { "V2Rollout", "0" },
108- // { "EnableV4", "False" },
109- // { "EnableV4Chrome", "False" },
110- // { "ABTest", "False" },
111- // { "ReportButtonCutOff", "False" }
112- // }
113- // },
114-
115- // {
116- // InGameMenuVersion.V2,
117- // new Dictionary<string, string?>
118- // {
119- // { "V2Rollout", "100" },
120- // { "EnableV4", "False" },
121- // { "EnableV4Chrome", "False" },
122- // { "ABTest", "False" },
123- // { "ReportButtonCutOff", null }
124- // }
125- // },
126-
127- // {
128- // InGameMenuVersion.V4,
129- // new Dictionary<string, string?>
130- // {
131- // { "V2Rollout", "0" },
132- // { "EnableV4", "True" },
133- // { "EnableV4Chrome", "False" },
134- // { "ABTest", "False" },
135- // { "ReportButtonCutOff", null }
136- // }
137- // },
138-
139- // {
140- // InGameMenuVersion.V4Chrome,
141- // new Dictionary<string, string?>
142- // {
143- // { "V2Rollout", "0" },
144- // { "EnableV4", "True" },
145- // { "EnableV4Chrome", "True" },
146- // { "ABTest", "False" },
147- // { "ReportButtonCutOff", null }
148- // }
149- // }
150- //};
151-
15252 // all fflags are stored as strings
15353 // to delete a flag, set the value as null
15454 public void SetValue ( string key , object ? value )
@@ -253,9 +153,6 @@ public override void Load(bool alertFailure = true)
253153 // clone the dictionary
254154 OriginalProp = new ( Prop ) ;
255155
256- if ( GetPreset ( "Network.Log" ) != "7" )
257- SetPreset ( "Network.Log" , "7" ) ;
258-
259156 if ( GetPreset ( "Rendering.ManualFullscreen" ) != "False" )
260157 SetPreset ( "Rendering.ManualFullscreen" , "False" ) ;
261158 }
0 commit comments