diff --git a/Source/Compat.cs b/Source/Compat.cs
index 13e7b4d6..b2659cfc 100644
--- a/Source/Compat.cs
+++ b/Source/Compat.cs
@@ -5,7 +5,6 @@ namespace LCVR;
public static class Compat
{
public const string MoreCompany = "me.swipez.melonloader.morecompany";
- public const string Diversity = "Chaos.Diversity";
public const string CullFactory = "com.fumiko.CullFactory";
public static bool IsLoaded(string modId)
diff --git a/Source/Compatibility/Diversity/Patches.cs b/Source/Compatibility/Diversity/Patches.cs
deleted file mode 100644
index 4e2fd84c..00000000
--- a/Source/Compatibility/Diversity/Patches.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using Diversity.Misc;
-using HarmonyLib;
-using LCVR.Patches;
-
-namespace LCVR.Compatibility.Diversity;
-
-[LCVRPatch(dependency: Compat.Diversity)]
-[HarmonyPatch]
-internal static class DiversityPatches
-{
- [HarmonyPatch(typeof(HUDManagerRevamp), nameof(HUDManagerRevamp.Start))]
- [HarmonyPostfix]
- private static void OnHUDManagerRevampStart()
- {
- DisableGlitchCustomPass();
- }
-
- [HarmonyPatch(typeof(HUDManagerRevamp), nameof(HUDManagerRevamp.Cpp_OnLoad))]
- [HarmonyPostfix]
- private static void OnLoadCustomPostProcess()
- {
- DisableGlitchCustomPass();
- }
-
- ///
- /// Disables the glitch fullscreen pass, which is incompatible with Dynamic Resolution
- ///
- private static void DisableGlitchCustomPass()
- {
- HUDManagerRevamp.Instance.fullscreenPass2.enabled = false;
- }
-}
\ No newline at end of file
diff --git a/Source/Config.cs b/Source/Config.cs
index 9f0f851b..884995c9 100644
--- a/Source/Config.cs
+++ b/Source/Config.cs
@@ -21,7 +21,7 @@ public class Config(string assemblyPath, ConfigFile file)
public ConfigEntry EnableOcclusionMesh { get; } = file.Bind("Performance", "EnableOcclusionMesh", true, "The occlusion mesh will cause the game to stop rendering pixels outside of the lens views, which increases performance.");
public ConfigEntry EnableDynamicResolution { get; } = file.Bind("Performance", "EnableDynamicResolution", false, "Whether or not dynamic resolution should be enabled. Required for most of these settings to have an effect.");
public ConfigEntry DynamicResolutionUpscaleFilter { get; } = file.Bind("Performance", "DynamicResolutionUpscaleFilter", DynamicResUpscaleFilter.EdgeAdaptiveScalingUpres, new ConfigDescription("The filter/algorithm that will be used to perform dynamic resolution upscaling. Defaulted to FSR (Edge Adaptive Scaling).", new AcceptableValueEnum()));
- public ConfigEntry DynamicResolutionPercentage { get; } = file.Bind("Performance", "DynamicResolutionPercentage", 80f, new ConfigDescription("The percentage of resolution to scale the game down to. The lower the value, the harder the upscale filter has to work which will result in quality loss.", new AcceptableValueRange(0, 100)));
+ public ConfigEntry DynamicResolutionPercentage { get; } = file.Bind("Performance", "DynamicResolutionPercentage", 80f, new ConfigDescription("The percentage of resolution to scale the game down to. The lower the value, the harder the upscale filter has to work which will result in quality loss.", new AcceptableValueRange(10, 100)));
public ConfigEntry CameraResolution { get; } = file.Bind("Performance", "CameraResolution", 0.75f, new ConfigDescription("This setting configures the resolution scale of the game, lower values are more performant, but will make the game look worse. From around 0.8 the difference is negligible (on a Quest 2, with dynamic resolution disabled).", new AcceptableValueRange(0.05f, 1.5f)));
public ConfigEntry DisableVolumetrics { get; } = file.Bind("Performance", "DisableVolumetrics", false, "Disables volumetrics in the game, which significantly improves performance, but removes all fog and may be considered cheating.");
diff --git a/Source/OpenXR.cs b/Source/OpenXR.cs
index 204702e4..15d40af4 100644
--- a/Source/OpenXR.cs
+++ b/Source/OpenXR.cs
@@ -248,7 +248,7 @@ public static bool InitializeXR()
// On failure, revert back to pre 1.2.4 behavior (Default runtime or the one specified by the config)
return InitializeXR(string.IsNullOrEmpty(Plugin.Config.OpenXRRuntimeFile.Value)
? null
- : new Runtime()
+ : new Runtime
{
Name = "LCVR OpenXR Override",
Path = Plugin.Config.OpenXRRuntimeFile.Value
@@ -261,7 +261,7 @@ public static bool InitializeXR()
if (InitializeXR(rtFound
? rt
- : new Runtime()
+ : new Runtime
{
Name = "LCVR OpenXR Override",
Path = Plugin.Config.OpenXRRuntimeFile.Value
diff --git a/Source/Patches/Items/FlashlightItemPatches.cs b/Source/Patches/Items/FlashlightItemPatches.cs
index bd085036..a3d31837 100644
--- a/Source/Patches/Items/FlashlightItemPatches.cs
+++ b/Source/Patches/Items/FlashlightItemPatches.cs
@@ -28,7 +28,7 @@ private static void SwitchFlashlightPatch(FlashlightItem __instance, bool on)
}
///
- /// Make sure to enable to "body" flashlight beam if a VR player pockets their flashlight while it's still active
+ /// Make sure to enable the "helmet" flashlight beam if a VR player pockets their flashlight while it's still active
///
[HarmonyPatch(typeof(FlashlightItem), nameof(FlashlightItem.PocketFlashlightClientRpc))]
[HarmonyPostfix]