Move many mods to Deprecated folder, fix spelling

This commit is contained in:
NotAKidoS 2025-04-03 02:57:35 -05:00
parent 5e822cec8d
commit 0042590aa6
539 changed files with 7475 additions and 3120 deletions

View file

@ -0,0 +1,47 @@
using ABI_RC.Systems.IK;
using HarmonyLib;
using UnityEngine;
using Valve.VR;
namespace NAK.TrackedPointFix.HarmonyPatches;
class IKSystemPatches
{
[HarmonyPostfix]
[HarmonyPatch(typeof(TrackingPoint), nameof(TrackingPoint.SetVisibility))]
static void Postfix_TrackingPoint_SetVisibility(ref TrackingPoint __instance)
{
GameObject systemTracker = __instance.referenceTransform.Find("DisplayTracker").gameObject;
if (systemTracker != null)
{
systemTracker.SetActive(__instance.displayObject.activeSelf);
__instance.displayObject.SetActive(false);
}
}
[HarmonyPostfix]
[HarmonyPatch(typeof(TrackingPoint), nameof(TrackingPoint.Initialize))]
static void Postfix_TrackingPoint_Initialize(ref TrackingPoint __instance)
{
GameObject systemTracker = new GameObject();
systemTracker.name = "DisplayTracker";
systemTracker.transform.parent = __instance.referenceTransform;
systemTracker.transform.localPosition = Vector3.zero;
systemTracker.transform.localRotation = Quaternion.identity;
systemTracker.transform.localScale = Vector3.one;
systemTracker.SetActive(false);
SteamVR_RenderModel renderModel = systemTracker.AddComponent<SteamVR_RenderModel>();
renderModel.enabled = true;
renderModel.updateDynamically = false;
renderModel.createComponents = false;
renderModel.SetDeviceIndex(ExtractNumberFromTrackingPoint(__instance.name));
}
public static int ExtractNumberFromTrackingPoint(string inputString)
{
string numberString = inputString.Replace("SteamVR_", "");
int number = int.Parse(numberString);
return number;
}
}

View file

@ -0,0 +1,24 @@
using MelonLoader;
namespace NAK.TrackedPointFix;
public class TrackedPointFix : MelonMod
{
public override void OnInitializeMelon()
{
ApplyPatches(typeof(HarmonyPatches.IKSystemPatches));
}
void ApplyPatches(Type type)
{
try
{
HarmonyInstance.PatchAll(type);
}
catch (Exception e)
{
LoggerInstance.Msg($"Failed while patching {type.Name}!");
LoggerInstance.Error(e);
}
}
}

View file

@ -0,0 +1,30 @@
using MelonLoader;
using NAK.TrackedPointFix.Properties;
using System.Reflection;
[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
[assembly: AssemblyTitle(nameof(NAK.TrackedPointFix))]
[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
[assembly: AssemblyProduct(nameof(NAK.TrackedPointFix))]
[assembly: MelonInfo(
typeof(NAK.TrackedPointFix.TrackedPointFix),
nameof(NAK.TrackedPointFix),
AssemblyInfoParams.Version,
AssemblyInfoParams.Author,
downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/TrackedPointFix"
)]
[assembly: MelonGame("Alpha Blend Interactive", "ChilloutVR")]
[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
[assembly: HarmonyDontPatchAll]
namespace NAK.TrackedPointFix.Properties;
internal static class AssemblyInfoParams
{
public const string Version = "1.0.3";
public const string Author = "NotAKidoS";
}

View file

@ -0,0 +1,19 @@
# TrackedPointFix (Depricated)
lazy af fix for a small issue
Your Left/Right hand controllers will now track faster and while in the Steam overlay.
This approach to fixing the issue is made lazy to support DesktopVRSwitch.
(also because im lazy)
---
Here is the block of text where I tell you this mod is not affiliated or endorsed by ABI.
https://documentation.abinteractive.net/official/legal/tos/#7-modding-our-games
> This mod is an independent creation and is 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,2 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk"/>

View file

@ -0,0 +1,23 @@
{
"_id": -1,
"name": "TrackedPointFix",
"modversion": "1.0.0",
"gameversion": "2022r170p1",
"loaderversion": "0.6.1",
"modtype": "Mod",
"author": "NotAKidoS",
"description": "Allows your controllers to track while the SteamVR overlay is open. This also fixes Quest/Touch controllers feeling slow during fast movements.",
"searchtags": [
"vr",
"quest",
"controller",
"tracking"
],
"requirements": [
"None"
],
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r3/TrackedPointFix.dll",
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/TrackedPointFix/",
"changelog": "Initial Release",
"embedcolor": "3498db"
}