diff --git a/LegacyContentMitigation/Integrations/BtkUiAddon.cs b/LegacyContentMitigation/Integrations/BtkUiAddon.cs index db20f11..7a11187 100644 --- a/LegacyContentMitigation/Integrations/BtkUiAddon.cs +++ b/LegacyContentMitigation/Integrations/BtkUiAddon.cs @@ -41,7 +41,7 @@ public static class BtkUiAddon string.Empty, "Records Camera events & logs them next frame. Useful for determining camera render order shenanigans."); printCameraCallbacksButton.OnPress += () => CameraCallbackLogger.Instance.LogCameraEvents(); - OnMultiPassActiveChanged(FakeMultiPassHack.Instance.IsEnabled); + OnCurrentStateToggled(FakeMultiPassHack.Instance.IsEnabled); FakeMultiPassHack.OnMultiPassActiveChanged += OnMultiPassActiveChanged; } diff --git a/LegacyContentMitigation/Patches.cs b/LegacyContentMitigation/Patches.cs index e2dabaf..8fb82c5 100644 --- a/LegacyContentMitigation/Patches.cs +++ b/LegacyContentMitigation/Patches.cs @@ -9,7 +9,6 @@ using ABI.CCK.Components; using HarmonyLib; using UnityEngine; using UnityEngine.Rendering.PostProcessing; -using UnityEngine.SceneManagement; namespace NAK.LegacyContentMitigation.Patches; @@ -28,10 +27,8 @@ internal static class SceneLoaded_Patches { [HarmonyPrefix] [HarmonyPatch(typeof(SceneLoaded), nameof(SceneLoaded.OnSceneLoadedHandleJob))] - private static void Prefix_SceneLoaded_OnSceneLoadedHandleJob(Scene scene, LoadSceneMode mode) + private static void Prefix_SceneLoaded_OnSceneLoadedHandleJob() { - if (mode == LoadSceneMode.Additive) return; - if (!ModSettings.EntryAutoForLegacyWorlds.Value) { LegacyContentMitigationMod.Logger.Msg("LegacyContentMitigationMod is disabled."); diff --git a/LegacyContentMitigation/Properties/AssemblyInfo.cs b/LegacyContentMitigation/Properties/AssemblyInfo.cs index e460687..afc8905 100644 --- a/LegacyContentMitigation/Properties/AssemblyInfo.cs +++ b/LegacyContentMitigation/Properties/AssemblyInfo.cs @@ -27,6 +27,6 @@ using System.Reflection; namespace NAK.LegacyContentMitigation.Properties; internal static class AssemblyInfoParams { - public const string Version = "1.0.1"; + public const string Version = "1.0.0"; public const string Author = "Exterrata & NotAKidoS"; } \ No newline at end of file diff --git a/LegacyContentMitigation/README.md b/LegacyContentMitigation/README.md deleted file mode 100644 index 0236abe..0000000 --- a/LegacyContentMitigation/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# LegacyContentMitigation - -Experimental mod that manually renders both VR eyes separately while in Legacy Worlds. - -The mod will automatically kick-in when loading NonSpi Worlds & prevent Shader Replacement for all content while active. You can also manually toggle it within the BTKUI Misc tab for experimenting. - --# There is an obvious performance penalty with rendering the world 2x & toggling the head hiding per eye, so enabling the mod outside of Legacy Worlds is not recommended. - ---- - -Here is the block of text where I tell you this mod is not affiliated with or endorsed by ABI. -https://documentation.abinteractive.net/official/legal/tos/#7-modding-our-games - -> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive. - -> Use of this mod is done so at the user's own risk and the creator cannot be held responsible for any issues arising from its use. - -> To the best of my knowledge, I have adhered to the Modding Guidelines established by Alpha Blend Interactive. diff --git a/LegacyContentMitigation/format.json b/LegacyContentMitigation/format.json deleted file mode 100644 index 480d0fb..0000000 --- a/LegacyContentMitigation/format.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "_id": -1, - "name": "LegacyContentMitigation", - "modversion": "1.0.1", - "gameversion": "2024r177", - "loaderversion": "0.6.1", - "modtype": "Mod", - "author": "Exterrata, NotAKidoS", - "description": "Experimental mod that manually renders both VR eyes separately while in Legacy Worlds.\n\nThe mod will automatically kick-in when loading NonSpi Worlds & prevent Shader Replacement for all content while active. You can also manually toggle it within the BTKUI Misc tab for experimenting.\n\n-# There is an obvious performance penalty with rendering the world 2x & toggling the head hiding per eye, so enabling the mod outside of Legacy Worlds is not recommended.", - "searchtags": [ - "legacy", - "content", - "spi", - "shaders" - ], - "requirements": [ - "BTKUILib" - ], - "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r44/LegacyContentMitigation.dll", - "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/LegacyContentMitigation/", - "changelog": "- Initial release", - "embedcolor": "#f61963" -} \ No newline at end of file