diff --git a/AASBufferFix/AASBufferFix.csproj b/.DepricatedMods/AASBufferFix/AASBufferFix.csproj similarity index 100% rename from AASBufferFix/AASBufferFix.csproj rename to .DepricatedMods/AASBufferFix/AASBufferFix.csproj diff --git a/AASBufferFix/AASBufferHelper.cs b/.DepricatedMods/AASBufferFix/AASBufferHelper.cs similarity index 100% rename from AASBufferFix/AASBufferHelper.cs rename to .DepricatedMods/AASBufferFix/AASBufferHelper.cs diff --git a/AASBufferFix/HarmonyPatches.cs b/.DepricatedMods/AASBufferFix/HarmonyPatches.cs similarity index 100% rename from AASBufferFix/HarmonyPatches.cs rename to .DepricatedMods/AASBufferFix/HarmonyPatches.cs diff --git a/AASBufferFix/Main.cs b/.DepricatedMods/AASBufferFix/Main.cs similarity index 100% rename from AASBufferFix/Main.cs rename to .DepricatedMods/AASBufferFix/Main.cs diff --git a/AASBufferFix/Properties/AssemblyInfo.cs b/.DepricatedMods/AASBufferFix/Properties/AssemblyInfo.cs similarity index 100% rename from AASBufferFix/Properties/AssemblyInfo.cs rename to .DepricatedMods/AASBufferFix/Properties/AssemblyInfo.cs diff --git a/AASBufferFix/README.md b/.DepricatedMods/AASBufferFix/README.md similarity index 100% rename from AASBufferFix/README.md rename to .DepricatedMods/AASBufferFix/README.md diff --git a/AASBufferFix/Utils.cs b/.DepricatedMods/AASBufferFix/Utils.cs similarity index 100% rename from AASBufferFix/Utils.cs rename to .DepricatedMods/AASBufferFix/Utils.cs diff --git a/AASBufferFix/format.json b/.DepricatedMods/AASBufferFix/format.json similarity index 100% rename from AASBufferFix/format.json rename to .DepricatedMods/AASBufferFix/format.json diff --git a/ClearHudNotifications/ClearHudNotifications.csproj b/.DepricatedMods/ClearHudNotifications/ClearHudNotifications.csproj similarity index 100% rename from ClearHudNotifications/ClearHudNotifications.csproj rename to .DepricatedMods/ClearHudNotifications/ClearHudNotifications.csproj diff --git a/ClearHudNotifications/HarmonyPatches.cs b/.DepricatedMods/ClearHudNotifications/HarmonyPatches.cs similarity index 100% rename from ClearHudNotifications/HarmonyPatches.cs rename to .DepricatedMods/ClearHudNotifications/HarmonyPatches.cs diff --git a/ClearHudNotifications/Main.cs b/.DepricatedMods/ClearHudNotifications/Main.cs similarity index 100% rename from ClearHudNotifications/Main.cs rename to .DepricatedMods/ClearHudNotifications/Main.cs diff --git a/ClearHudNotifications/Properties/AssemblyInfo.cs b/.DepricatedMods/ClearHudNotifications/Properties/AssemblyInfo.cs similarity index 100% rename from ClearHudNotifications/Properties/AssemblyInfo.cs rename to .DepricatedMods/ClearHudNotifications/Properties/AssemblyInfo.cs diff --git a/ClearHudNotifications/format.json b/.DepricatedMods/ClearHudNotifications/format.json similarity index 100% rename from ClearHudNotifications/format.json rename to .DepricatedMods/ClearHudNotifications/format.json diff --git a/ControllerFreeze/ControllerFreeze.csproj b/.DepricatedMods/ControllerFreeze/ControllerFreeze.csproj similarity index 100% rename from ControllerFreeze/ControllerFreeze.csproj rename to .DepricatedMods/ControllerFreeze/ControllerFreeze.csproj diff --git a/ControllerFreeze/HarmonyPatches.cs b/.DepricatedMods/ControllerFreeze/HarmonyPatches.cs similarity index 100% rename from ControllerFreeze/HarmonyPatches.cs rename to .DepricatedMods/ControllerFreeze/HarmonyPatches.cs diff --git a/ControllerFreeze/Main.cs b/.DepricatedMods/ControllerFreeze/Main.cs similarity index 100% rename from ControllerFreeze/Main.cs rename to .DepricatedMods/ControllerFreeze/Main.cs diff --git a/ControllerFreeze/Properties/AssemblyInfo.cs b/.DepricatedMods/ControllerFreeze/Properties/AssemblyInfo.cs similarity index 100% rename from ControllerFreeze/Properties/AssemblyInfo.cs rename to .DepricatedMods/ControllerFreeze/Properties/AssemblyInfo.cs diff --git a/ControllerFreeze/README.md b/.DepricatedMods/ControllerFreeze/README.md similarity index 100% rename from ControllerFreeze/README.md rename to .DepricatedMods/ControllerFreeze/README.md diff --git a/ControllerFreeze/format.json b/.DepricatedMods/ControllerFreeze/format.json similarity index 100% rename from ControllerFreeze/format.json rename to .DepricatedMods/ControllerFreeze/format.json diff --git a/FuckMetrics/FuckMetrics.csproj b/.DepricatedMods/FuckMetrics/FuckMetrics.csproj similarity index 100% rename from FuckMetrics/FuckMetrics.csproj rename to .DepricatedMods/FuckMetrics/FuckMetrics.csproj diff --git a/FuckMetrics/HarmonyPatches.cs b/.DepricatedMods/FuckMetrics/HarmonyPatches.cs similarity index 100% rename from FuckMetrics/HarmonyPatches.cs rename to .DepricatedMods/FuckMetrics/HarmonyPatches.cs diff --git a/FuckMetrics/Main.cs b/.DepricatedMods/FuckMetrics/Main.cs similarity index 100% rename from FuckMetrics/Main.cs rename to .DepricatedMods/FuckMetrics/Main.cs diff --git a/FuckMetrics/ManagedLibs/.keep b/.DepricatedMods/FuckMetrics/ManagedLibs/.keep similarity index 100% rename from FuckMetrics/ManagedLibs/.keep rename to .DepricatedMods/FuckMetrics/ManagedLibs/.keep diff --git a/FuckMetrics/Properties/AssemblyInfo.cs b/.DepricatedMods/FuckMetrics/Properties/AssemblyInfo.cs similarity index 100% rename from FuckMetrics/Properties/AssemblyInfo.cs rename to .DepricatedMods/FuckMetrics/Properties/AssemblyInfo.cs diff --git a/FuckMetrics/format.json b/.DepricatedMods/FuckMetrics/format.json similarity index 100% rename from FuckMetrics/format.json rename to .DepricatedMods/FuckMetrics/format.json diff --git a/HeadBobbingFix/HarmonyPatches.cs b/.DepricatedMods/HeadBobbingFix/HarmonyPatches.cs similarity index 100% rename from HeadBobbingFix/HarmonyPatches.cs rename to .DepricatedMods/HeadBobbingFix/HarmonyPatches.cs diff --git a/HeadBobbingFix/HeadBobbingFix.csproj b/.DepricatedMods/HeadBobbingFix/HeadBobbingFix.csproj similarity index 100% rename from HeadBobbingFix/HeadBobbingFix.csproj rename to .DepricatedMods/HeadBobbingFix/HeadBobbingFix.csproj diff --git a/HeadBobbingFix/Main.cs b/.DepricatedMods/HeadBobbingFix/Main.cs similarity index 100% rename from HeadBobbingFix/Main.cs rename to .DepricatedMods/HeadBobbingFix/Main.cs diff --git a/HeadBobbingFix/Properties/AssemblyInfo.cs b/.DepricatedMods/HeadBobbingFix/Properties/AssemblyInfo.cs similarity index 100% rename from HeadBobbingFix/Properties/AssemblyInfo.cs rename to .DepricatedMods/HeadBobbingFix/Properties/AssemblyInfo.cs diff --git a/HeadBobbingFix/README.md b/.DepricatedMods/HeadBobbingFix/README.md similarity index 100% rename from HeadBobbingFix/README.md rename to .DepricatedMods/HeadBobbingFix/README.md diff --git a/HeadBobbingFix/format.json b/.DepricatedMods/HeadBobbingFix/format.json similarity index 100% rename from HeadBobbingFix/format.json rename to .DepricatedMods/HeadBobbingFix/format.json diff --git a/JumpPatch/HarmonyPatches.cs b/.DepricatedMods/JumpPatch/HarmonyPatches.cs similarity index 100% rename from JumpPatch/HarmonyPatches.cs rename to .DepricatedMods/JumpPatch/HarmonyPatches.cs diff --git a/JumpPatch/JumpPatch.csproj b/.DepricatedMods/JumpPatch/JumpPatch.csproj similarity index 100% rename from JumpPatch/JumpPatch.csproj rename to .DepricatedMods/JumpPatch/JumpPatch.csproj diff --git a/JumpPatch/Main.cs b/.DepricatedMods/JumpPatch/Main.cs similarity index 100% rename from JumpPatch/Main.cs rename to .DepricatedMods/JumpPatch/Main.cs diff --git a/JumpPatch/Properties/AssemblyInfo.cs b/.DepricatedMods/JumpPatch/Properties/AssemblyInfo.cs similarity index 100% rename from JumpPatch/Properties/AssemblyInfo.cs rename to .DepricatedMods/JumpPatch/Properties/AssemblyInfo.cs diff --git a/JumpPatch/format.json b/.DepricatedMods/JumpPatch/format.json similarity index 100% rename from JumpPatch/format.json rename to .DepricatedMods/JumpPatch/format.json diff --git a/NAK.CustomComponents/Components/NAKPointerTracker.cs b/.DepricatedMods/NAK.CustomComponents/Components/NAKPointerTracker.cs similarity index 100% rename from NAK.CustomComponents/Components/NAKPointerTracker.cs rename to .DepricatedMods/NAK.CustomComponents/Components/NAKPointerTracker.cs diff --git a/NAK.CustomComponents/CustomComponents.csproj b/.DepricatedMods/NAK.CustomComponents/CustomComponents.csproj similarity index 100% rename from NAK.CustomComponents/CustomComponents.csproj rename to .DepricatedMods/NAK.CustomComponents/CustomComponents.csproj diff --git a/NAK.CustomComponents/Main.cs b/.DepricatedMods/NAK.CustomComponents/Main.cs similarity index 100% rename from NAK.CustomComponents/Main.cs rename to .DepricatedMods/NAK.CustomComponents/Main.cs diff --git a/NAK.CustomComponents/Properties/AssemblyInfo.cs b/.DepricatedMods/NAK.CustomComponents/Properties/AssemblyInfo.cs similarity index 100% rename from NAK.CustomComponents/Properties/AssemblyInfo.cs rename to .DepricatedMods/NAK.CustomComponents/Properties/AssemblyInfo.cs diff --git a/NAK.CustomComponents/format.json b/.DepricatedMods/NAK.CustomComponents/format.json similarity index 100% rename from NAK.CustomComponents/format.json rename to .DepricatedMods/NAK.CustomComponents/format.json diff --git a/Nevermind/Main.cs b/.DepricatedMods/Nevermind/Main.cs similarity index 100% rename from Nevermind/Main.cs rename to .DepricatedMods/Nevermind/Main.cs diff --git a/Nevermind/Nevermind.csproj b/.DepricatedMods/Nevermind/Nevermind.csproj similarity index 100% rename from Nevermind/Nevermind.csproj rename to .DepricatedMods/Nevermind/Nevermind.csproj diff --git a/Nevermind/Properties/AssemblyInfo.cs b/.DepricatedMods/Nevermind/Properties/AssemblyInfo.cs similarity index 100% rename from Nevermind/Properties/AssemblyInfo.cs rename to .DepricatedMods/Nevermind/Properties/AssemblyInfo.cs diff --git a/Nevermind/format.json b/.DepricatedMods/Nevermind/format.json similarity index 100% rename from Nevermind/format.json rename to .DepricatedMods/Nevermind/format.json diff --git a/NoDepthOnlyFlat/Main.cs b/.DepricatedMods/NoDepthOnlyFlat/Main.cs similarity index 100% rename from NoDepthOnlyFlat/Main.cs rename to .DepricatedMods/NoDepthOnlyFlat/Main.cs diff --git a/NoDepthOnlyFlat/NoDepthOnlyFlat.csproj b/.DepricatedMods/NoDepthOnlyFlat/NoDepthOnlyFlat.csproj similarity index 100% rename from NoDepthOnlyFlat/NoDepthOnlyFlat.csproj rename to .DepricatedMods/NoDepthOnlyFlat/NoDepthOnlyFlat.csproj diff --git a/NoDepthOnlyFlat/Properties/AssemblyInfo.cs b/.DepricatedMods/NoDepthOnlyFlat/Properties/AssemblyInfo.cs similarity index 100% rename from NoDepthOnlyFlat/Properties/AssemblyInfo.cs rename to .DepricatedMods/NoDepthOnlyFlat/Properties/AssemblyInfo.cs diff --git a/NoDepthOnlyFlat/README.md b/.DepricatedMods/NoDepthOnlyFlat/README.md similarity index 100% rename from NoDepthOnlyFlat/README.md rename to .DepricatedMods/NoDepthOnlyFlat/README.md diff --git a/NoDepthOnlyFlat/format.json b/.DepricatedMods/NoDepthOnlyFlat/format.json similarity index 100% rename from NoDepthOnlyFlat/format.json rename to .DepricatedMods/NoDepthOnlyFlat/format.json diff --git a/PlaySpaceScaleFix/HarmonyPatches.cs b/.DepricatedMods/PlaySpaceScaleFix/HarmonyPatches.cs similarity index 100% rename from PlaySpaceScaleFix/HarmonyPatches.cs rename to .DepricatedMods/PlaySpaceScaleFix/HarmonyPatches.cs diff --git a/PlaySpaceScaleFix/Main.cs b/.DepricatedMods/PlaySpaceScaleFix/Main.cs similarity index 100% rename from PlaySpaceScaleFix/Main.cs rename to .DepricatedMods/PlaySpaceScaleFix/Main.cs diff --git a/PlaySpaceScaleFix/PlaySpaceScaleFix.csproj b/.DepricatedMods/PlaySpaceScaleFix/PlaySpaceScaleFix.csproj similarity index 100% rename from PlaySpaceScaleFix/PlaySpaceScaleFix.csproj rename to .DepricatedMods/PlaySpaceScaleFix/PlaySpaceScaleFix.csproj diff --git a/PlaySpaceScaleFix/Properties/AssemblyInfo.cs b/.DepricatedMods/PlaySpaceScaleFix/Properties/AssemblyInfo.cs similarity index 100% rename from PlaySpaceScaleFix/Properties/AssemblyInfo.cs rename to .DepricatedMods/PlaySpaceScaleFix/Properties/AssemblyInfo.cs diff --git a/PlaySpaceScaleFix/README.md b/.DepricatedMods/PlaySpaceScaleFix/README.md similarity index 100% rename from PlaySpaceScaleFix/README.md rename to .DepricatedMods/PlaySpaceScaleFix/README.md diff --git a/PlaySpaceScaleFix/format.json b/.DepricatedMods/PlaySpaceScaleFix/format.json similarity index 100% rename from PlaySpaceScaleFix/format.json rename to .DepricatedMods/PlaySpaceScaleFix/format.json diff --git a/TrackedPointFix/HarmonyPatches.cs b/.DepricatedMods/TrackedPointFix/HarmonyPatches.cs similarity index 100% rename from TrackedPointFix/HarmonyPatches.cs rename to .DepricatedMods/TrackedPointFix/HarmonyPatches.cs diff --git a/TrackedPointFix/Main.cs b/.DepricatedMods/TrackedPointFix/Main.cs similarity index 100% rename from TrackedPointFix/Main.cs rename to .DepricatedMods/TrackedPointFix/Main.cs diff --git a/TrackedPointFix/Properties/AssemblyInfo.cs b/.DepricatedMods/TrackedPointFix/Properties/AssemblyInfo.cs similarity index 100% rename from TrackedPointFix/Properties/AssemblyInfo.cs rename to .DepricatedMods/TrackedPointFix/Properties/AssemblyInfo.cs diff --git a/TrackedPointFix/README.md b/.DepricatedMods/TrackedPointFix/README.md similarity index 100% rename from TrackedPointFix/README.md rename to .DepricatedMods/TrackedPointFix/README.md diff --git a/TrackedPointFix/TrackedPointFix.csproj b/.DepricatedMods/TrackedPointFix/TrackedPointFix.csproj similarity index 100% rename from TrackedPointFix/TrackedPointFix.csproj rename to .DepricatedMods/TrackedPointFix/TrackedPointFix.csproj diff --git a/TrackedPointFix/format.json b/.DepricatedMods/TrackedPointFix/format.json similarity index 100% rename from TrackedPointFix/format.json rename to .DepricatedMods/TrackedPointFix/format.json diff --git a/DesktopVRIK/DesktopVRIK - Backup.csproj b/DesktopVRIK/DesktopVRIK - Backup.csproj deleted file mode 100644 index 9daf839..0000000 --- a/DesktopVRIK/DesktopVRIK - Backup.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - - netstandard1.0 - - - - - $(MsBuildThisFileDirectory)\..\.ManagedLibs\BTKUILib.dll - False - - - - \ No newline at end of file diff --git a/MuteSFX/AudioModuleManager.cs b/MuteSFX/AudioModuleManager.cs index b999fac..07ae88a 100644 --- a/MuteSFX/AudioModuleManager.cs +++ b/MuteSFX/AudioModuleManager.cs @@ -6,9 +6,15 @@ namespace NAK.MuteSFX; public static class AudioModuleManager { + #region SFX Strings + public const string sfx_mute = "MuteSFX_sfx_mute"; public const string sfx_unmute = "MuteSFX_sfx_unmute"; + #endregion + + #region Public Methods + public static void SetupDefaultAudioClips() { string path = Application.streamingAssetsPath + "/Cohtml/UIResources/GameUI/mods/MuteSFX/audio/"; @@ -42,8 +48,7 @@ public static class AudioModuleManager } } - public static void PlayAudioModule(string module) - { - InterfaceAudio.PlayModule(module); - } + public static void PlayAudioModule(string module) => InterfaceAudio.PlayModule(module); + + #endregion } \ No newline at end of file diff --git a/MuteSFX/Main.cs b/MuteSFX/Main.cs index f809356..13a3f49 100644 --- a/MuteSFX/Main.cs +++ b/MuteSFX/Main.cs @@ -1,11 +1,14 @@ using ABI_RC.Core.Base; using MelonLoader; using System.Reflection; +using HarmonyLib; namespace NAK.MuteSFX; public class MuteSFX : MelonMod { + #region Mod Settings + internal static MelonLogger.Instance Logger; internal const string SettingsCategory = nameof(MuteSFX); @@ -15,21 +18,39 @@ public class MuteSFX : MelonMod public static readonly MelonPreferences_Entry EntryEnabled = Category.CreateEntry("Enabled", true, description: "Toggle MuteSFX entirely."); + #endregion + + #region Melon Initialization + public override void OnInitializeMelon() { Logger = LoggerInstance; HarmonyInstance.Patch( - typeof(Audio).GetMethod(nameof(Audio.SetMicrophoneActive)), - postfix: new HarmonyLib.HarmonyMethod(typeof(MuteSFX).GetMethod(nameof(OnSetMicrophoneActive_Postfix), BindingFlags.NonPublic | BindingFlags.Static)) + typeof(AudioManagement).GetMethod(nameof(AudioManagement.SetMicrophoneActive)), + postfix: new HarmonyMethod(typeof(MuteSFX).GetMethod(nameof(OnSetMicrophoneActive_Postfix), BindingFlags.NonPublic | BindingFlags.Static)) ); AudioModuleManager.SetupDefaultAudioClips(); } - private static void OnSetMicrophoneActive_Postfix(bool muted) + #endregion + + #region Patched Methods + + private static void OnSetMicrophoneActive_Postfix(bool active) { - if (EntryEnabled.Value) - AudioModuleManager.PlayAudioModule(muted ? AudioModuleManager.sfx_mute : AudioModuleManager.sfx_unmute); + try + { + if (EntryEnabled.Value) + AudioModuleManager.PlayAudioModule(active ? AudioModuleManager.sfx_unmute : AudioModuleManager.sfx_mute); + } + catch (Exception e) + { + Logger.Error($"Error during the patched method {nameof(OnSetMicrophoneActive_Postfix)}"); + Logger.Error(e); + } } + + #endregion } \ No newline at end of file diff --git a/MuteSFX/Properties/AssemblyInfo.cs b/MuteSFX/Properties/AssemblyInfo.cs index 14016f9..e106d62 100644 --- a/MuteSFX/Properties/AssemblyInfo.cs +++ b/MuteSFX/Properties/AssemblyInfo.cs @@ -20,10 +20,13 @@ using System.Reflection; [assembly: MelonGame("Alpha Blend Interactive", "ChilloutVR")] [assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)] [assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)] +[assembly: MelonColor(255, 146, 228, 146)] +[assembly: MelonAuthorColor(255, 158, 21, 32)] +[assembly: HarmonyDontPatchAll] namespace NAK.MuteSFX.Properties; internal static class AssemblyInfoParams { - public const string Version = "1.0.0"; + public const string Version = "1.0.1"; public const string Author = "NotAKidoS"; } \ No newline at end of file diff --git a/MuteSFX/format.json b/MuteSFX/format.json index 82567f9..79e7d0f 100644 --- a/MuteSFX/format.json +++ b/MuteSFX/format.json @@ -1,8 +1,8 @@ { "_id": 172, "name": "MuteSFX", - "modversion": "1.0.0", - "gameversion": "2022r170p1", + "modversion": "1.0.1", + "gameversion": "2023r171", "loaderversion": "0.6.1", "modtype": "Mod", "author": "Exterrata & NotAKidoS", @@ -16,8 +16,8 @@ "requirements": [ "None" ], - "downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r13/MuteSFX.dll", + "downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r14/MuteSFX.dll", "sourcelink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/tree/main/MuteSFX/", - "changelog": "- Initial CVRMG release", - "embedcolor": "92e492" + "changelog": "- Fixes for 2023r171.", + "embedcolor": "#92e492" } \ No newline at end of file diff --git a/ViewpointHeadScaleFix/Main.cs b/ViewpointHeadScaleFix/Main.cs deleted file mode 100644 index c353053..0000000 --- a/ViewpointHeadScaleFix/Main.cs +++ /dev/null @@ -1,55 +0,0 @@ -using ABI_RC.Core.Player; -using ABI_RC.Core.Savior; -using MelonLoader; -using System.Reflection; -using UnityEngine; - -namespace NAK.ViewpointHeadScaleFix; - -// Makes initialCameraPos scale with head bone scale - -public class ViewpointHeadScaleFix : MelonMod -{ - public override void OnInitializeMelon() - { - HarmonyInstance.Patch( - typeof(PlayerSetup).GetMethod(nameof(PlayerSetup.CalibrateAvatar)), - postfix: new HarmonyLib.HarmonyMethod(typeof(ViewpointHeadScaleFix).GetMethod(nameof(OnPlayerSetupCalibrateAvatar_Postfix), BindingFlags.NonPublic | BindingFlags.Static)) - ); - HarmonyInstance.Patch( - typeof(PlayerSetup).GetMethod(nameof(PlayerSetup.SetViewPointOffset)), - prefix: new HarmonyLib.HarmonyMethod(typeof(ViewpointHeadScaleFix).GetMethod(nameof(OnPlayerSetupSetViewPointOffset_Prefix), BindingFlags.NonPublic | BindingFlags.Static)) - ); - } - - private static void OnPlayerSetupCalibrateAvatar_Postfix(ref PlayerSetup __instance) - { - if (!MetaPort.Instance.isUsingVr) - return; - - Transform headTransform = __instance._animator.GetBoneTransform(HumanBodyBones.Head); - if (headTransform == null) - return; - - _originalCameraPos = __instance.initialCameraPos; - _initialHeadScale = headTransform.localScale; - } - - private static void OnPlayerSetupSetViewPointOffset_Prefix(ref PlayerSetup __instance) - { - if (!MetaPort.Instance.isUsingVr) - return; - - Transform headTransform = __instance._animator.GetBoneTransform(HumanBodyBones.Head); - if (headTransform == null) - return; - - __instance.initialCameraPos = __instance.MultiplyVectors( - _originalCameraPos, - __instance.DivideVectors(headTransform.localScale, _initialHeadScale) - ); - } - - private static Vector3 _originalCameraPos = Vector3.one; - private static Vector3 _initialHeadScale = Vector3.one; -} \ No newline at end of file diff --git a/ViewpointHeadScaleFix/Properties/AssemblyInfo.cs b/ViewpointHeadScaleFix/Properties/AssemblyInfo.cs deleted file mode 100644 index fb76b63..0000000 --- a/ViewpointHeadScaleFix/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,32 +0,0 @@ -using MelonLoader; -using NAK.ViewpointHeadScaleFix.Properties; -using System.Reflection; - -[assembly: AssemblyVersion(AssemblyInfoParams.Version)] -[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)] -[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)] -[assembly: AssemblyTitle(nameof(NAK.ViewpointHeadScaleFix))] -[assembly: AssemblyCompany(AssemblyInfoParams.Author)] -[assembly: AssemblyProduct(nameof(NAK.ViewpointHeadScaleFix))] - -[assembly: MelonInfo( - typeof(NAK.ViewpointHeadScaleFix.ViewpointHeadScaleFix), - nameof(NAK.ViewpointHeadScaleFix), - AssemblyInfoParams.Version, - AssemblyInfoParams.Author, - downloadLink: "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/tree/main/AvatarScale" -)] - -[assembly: MelonGame("Alpha Blend Interactive", "ChilloutVR")] -[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)] -[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)] -[assembly: MelonColor(255, 241, 200, 82)] -[assembly: MelonAuthorColor(255, 114, 17, 25)] -[assembly: HarmonyDontPatchAll] - -namespace NAK.ViewpointHeadScaleFix.Properties; -internal static class AssemblyInfoParams -{ - public const string Version = "1.0.0"; - public const string Author = "NotAKidoS"; -} \ No newline at end of file diff --git a/ViewpointHeadScaleFix/ViewpointHeadScaleFix.csproj b/ViewpointHeadScaleFix/ViewpointHeadScaleFix.csproj deleted file mode 100644 index 66a50a8..0000000 --- a/ViewpointHeadScaleFix/ViewpointHeadScaleFix.csproj +++ /dev/null @@ -1,2 +0,0 @@ - -