Compare commits

..

3 commits

Author SHA1 Message Date
NotAKidoS
39da88d3d3 LegacyContentMitigation: fix cvrmg embed color 2024-12-31 11:17:16 -06:00
NotAKidoS
e5ee4631c7 LegacyContentMitigation: bump for updater 2024-12-31 11:15:22 -06:00
NotAKidoS
d4dc8fba44 LegacyContentMitigation: prepare for submission 2024-12-31 11:14:39 -06:00
5 changed files with 47 additions and 3 deletions

View file

@ -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();
OnCurrentStateToggled(FakeMultiPassHack.Instance.IsEnabled);
OnMultiPassActiveChanged(FakeMultiPassHack.Instance.IsEnabled);
FakeMultiPassHack.OnMultiPassActiveChanged += OnMultiPassActiveChanged;
}

View file

@ -9,6 +9,7 @@ using ABI.CCK.Components;
using HarmonyLib;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
using UnityEngine.SceneManagement;
namespace NAK.LegacyContentMitigation.Patches;
@ -27,8 +28,10 @@ internal static class SceneLoaded_Patches
{
[HarmonyPrefix]
[HarmonyPatch(typeof(SceneLoaded), nameof(SceneLoaded.OnSceneLoadedHandleJob))]
private static void Prefix_SceneLoaded_OnSceneLoadedHandleJob()
private static void Prefix_SceneLoaded_OnSceneLoadedHandleJob(Scene scene, LoadSceneMode mode)
{
if (mode == LoadSceneMode.Additive) return;
if (!ModSettings.EntryAutoForLegacyWorlds.Value)
{
LegacyContentMitigationMod.Logger.Msg("LegacyContentMitigationMod is disabled.");

View file

@ -27,6 +27,6 @@ using System.Reflection;
namespace NAK.LegacyContentMitigation.Properties;
internal static class AssemblyInfoParams
{
public const string Version = "1.0.0";
public const string Version = "1.0.1";
public const string Author = "Exterrata & NotAKidoS";
}

View file

@ -0,0 +1,18 @@
# 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.

View file

@ -0,0 +1,23 @@
{
"_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"
}