2X;DfGD1x4Mnw8QFN;9O2dfG}~B=Sxokdc=p{V7X-
zO6Za#{b@^oTIf%6k%-0GB9P~YrOHl)5G5Q}Yr8|+=duVTa^sV9eh#kdB4HF*7oU{Y
zSq3XoB`FSaGD?Mf9K>*!+X*KbLnGzi1xZ_=|CmH>qrs$o7*%8D$noh4M?Kt3`3ceM
z$7A$4lUz=}08{top|iOQ4)-B9CcYL6Cwd|2_3%o-%3qQN2HN0Zp>TXJmLOavTeK*L
z2Gv3=;FaZy6qUm8&Joe)_2$M1Tc-Cu4N6&;Ev%7brf*npAXY4HNH)P@$ij*nD$I?f
zE(j5}s|9Jb_z_a4vq75s6OIe5@G5HZPFh_T+N9=lG+*^Nc=Z&?Gy4*H8ZUnhbVvmJ
zo=_-}^Hw4ajTR&CGpr*5$(QgSoyQ_nD!G{4b^|XAkNzl@YZ!cmL2<5Ra6*Bs_-Xox
zw$f#mlq-rfQ9T}opO3;5LxDncJIMTd=$f+sJqM?h2)prU{9X~Ecv_5>9;yWn%WVn6
zLB)@>KoSg)ppG$KVf1imUu-L=8zt{4t~)Wy@D%4O
zUe>A61sr~_-9RBUfMJK+M#v7cM!YH`*3>9b4l`me!fH`^6s?toku+O~IM&B8^j&p=
z1W^Pc4UkZ)7#mh9q+@OzUJ(4JxeP!ofxyeHr@szSGT!QkikNO24^MKpwihg|$g5Yx0=@A)qc)f|2{zd{I
z`0dcTc$$Gy8Ws&`s?oO^BQ5Ik*WyW_1`x$;2l+cX8Q7OdpLOrf;aNf_Vt`G^@IT_-PKh6Hy{V
z-r9onM-oc7%8;mSA8s9{RTl=J$RAI)39iSsRA)*&O@8p`P<~u0$+5)jl4d^9B3>giK6#1j!Ze&UZAr0VSMKBNr18Z
zL)2O>(z0YL-|8V0i8v}HRFc^C3x`iAAMy$(T(59KGU=ZJh1JCc3Jal}Ve_ZFL2-lb
zq0D90!yJe1W?x{tR^#714)`aJW0{lj;_6OT_{O?0{2Vz~^jFA~YLL0C8W#U`UCcr*
z6Thj6sLLz&SzaclE?#~=KI$p6l?`@U!MspccA{V|4SyJR
zKa@wLCM#(yzBj6iSbT4zP^7v>p(zR~ko5)(1|fY3%SC)|1F45d#3>Utu%xlZ7)hv+
ziwe5X6_Oo02u`dO{~C^`HdF3y&?kdMWCcsZ@SxWo^!5Xgc!t?|>Xh}S3!NK1W_
z7p%(&;;kYs4gDE{$M>#LIY>(!WGk9NFQ`Y#(1t*x=*1NRDJe49eq^
ztq2U!2)CNZlEWt~N?(&yC=43(RYbhVL^QtGNJX5a2ka60q(_(o!9(GqdK#2X_OQ|>
z*4+4E?gOp=lvE)4i$O%?LzQe)4o_nXh)-lH5DZFzOvR;A#5laWhFi_*I4^#fd2oZ0
zR}-ZrFcU7dEE;O=f)zgr*~d$t>x4;hxqTA*1zC3Edoj0O_Fgi;B9Ua?=Q?Hgjbh|R
zc@X!u2sbe@paYy#T$s=9z>IOh2G2{?A;q&j&5Pi|-HE2cxWH$6sRpDPG{yKqS(6ZFUVu*xKBi$(JrzvPrEAbwJce-zITAv27~R%CyQqQoV#hpu+#q+tZNV>S
zw@^B9!ZlDOHbKR1*)zET@xiFFyBD)kRsolA*0YUTwzl4!BpF5xhrj9B+3xh<7;P
zw{8LV0O#ND*Zu83s=c7R{OR=-UJ7A>=XyK>F2ndZsFe@Z?7=--KDRQ8d#${;%D;_<
zr6!QeTiJYinvYTFR~m%De5mdSjKe{n^hp@r^<7@mt-@m;KI$=BaW@@uWsD^=66*2ht&k-_JL;>ycrqUJjTQx&f;NYyxRiiV$AJQ
z|3Qz=d*$S|U@gJl4w-{N$es84
h`Cb5h=6Cgea8CX|`a9y7W_0(5G}nLq`xhsH{|zwyV1)nx
literal 0
HcmV?d00001
diff --git a/.Deprecated/DefaultDynamicBoneWind/Properties/AssemblyInfo.cs b/.Deprecated/DefaultDynamicBoneWind/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..bde1b73
--- /dev/null
+++ b/.Deprecated/DefaultDynamicBoneWind/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+using MelonLoader;
+using NAK.DefaultDynamicBoneWind.Properties;
+using System.Reflection;
+
+[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyTitle(nameof(NAK.DefaultDynamicBoneWind))]
+[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
+[assembly: AssemblyProduct(nameof(NAK.DefaultDynamicBoneWind))]
+
+[assembly: MelonInfo(
+ typeof(NAK.DefaultDynamicBoneWind.DefaultDynamicBoneWindMod),
+ nameof(NAK.DefaultDynamicBoneWind),
+ AssemblyInfoParams.Version,
+ AssemblyInfoParams.Author,
+ downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/DefaultDynamicBoneWind"
+)]
+
+[assembly: MelonGame("ChilloutVR", "ChilloutVR")]
+[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
+[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
+[assembly: MelonColor(255, 246, 25, 99)] // red-pink
+[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
+[assembly: HarmonyDontPatchAll]
+
+namespace NAK.DefaultDynamicBoneWind.Properties;
+internal static class AssemblyInfoParams
+{
+ public const string Version = "1.0.3";
+ public const string Author = "NotAKidoS";
+}
\ No newline at end of file
diff --git a/.Deprecated/DefaultDynamicBoneWind/README.md b/.Deprecated/DefaultDynamicBoneWind/README.md
new file mode 100644
index 0000000..1ab0d99
--- /dev/null
+++ b/.Deprecated/DefaultDynamicBoneWind/README.md
@@ -0,0 +1,14 @@
+# DefaultDynamicBoneWind
+
+Makes wind influence default enabled for Dynamic Bones.
+
+---
+
+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/.Deprecated/DefaultDynamicBoneWind/Settings/CVRGameSettings.cs b/.Deprecated/DefaultDynamicBoneWind/Settings/CVRGameSettings.cs
new file mode 100644
index 0000000..f3492fe
--- /dev/null
+++ b/.Deprecated/DefaultDynamicBoneWind/Settings/CVRGameSettings.cs
@@ -0,0 +1,65 @@
+using ABI_RC.Core.Networking.GameServer;
+using ABI_RC.Core.Networking.IO.Instancing;
+using ABI_RC.Systems.XRManagement;
+using UnityEngine;
+
+namespace ABI_RC.Core.Savior
+{
+ public static class CVRGameSettings
+ {
+ public static readonly CVRSettingsFile GameSettingsFile = new("GameSettings");
+
+ public static readonly CVRSettingsCategory TestSettingsCategory =
+ GameSettingsFile.CreateCategory("General", comment: "Test settings")
+ .WithUI(sortOrder: 0, new UIFilters{ Platform = UIFilters.PlatformType.PCVR });
+
+ public static readonly CVRSetting CoolBool =
+ TestSettingsCategory.Create("Setting", Color.white, comment: "A cool toggle")
+ .WithUI(sortOrder: 0, tooltip: "Pick a color",
+ filters: new UIFilters { Level = UIFilters.SettingsLevel.Basic });
+
+ public static readonly CVRSetting NotABool =
+ TestSettingsCategory.Create("Setting 2", defaultValue: false, comment: "A really cool toggle");
+
+ public static readonly CVRSettingsCategory Audio =
+ GameSettingsFile.CreateCategory("Audio", comment: "Audio volume levels", page: "Audio")
+ .WithUI(sortOrder: 2);
+
+ public static readonly CVRSetting Microphone =
+ Audio.Create("Microphone", "default", comment: "Active microphone device")
+ .WithVariant("VR", string.Empty)
+ .WithUI(sortOrder: 0, tooltip: "Select your microphone device");
+
+ ///
+ /// Settings with .WithVariant("VR", ...) or [Category.VR] in TOML respond to this.
+ ///
+ public static readonly CVRSettingsContext DeviceMode = new("DeviceMode");
+ public static readonly CVRSettingsContext InstancePrivacy = new("InstancePrivacy");
+
+ public static void Init()
+ {
+ GameSettingsFile.SetPath(Path.Combine(Application.persistentDataPath, "GameSettings.toml"));
+ GameSettingsFile.RegisterContext(DeviceMode); // Listen for .VR setting variants
+ GameSettingsFile.RegisterContext(InstancePrivacy); // Listen for .Public/.Private setting variants
+ GameSettingsFile.Load();
+
+ SetDeviceModeActive(false);
+ XRDeviceEvents.OnPostXRModeSwitch.AddListener(OnPostXRModeSwitch);
+ GSInfoHandler.OnGSInfoUpdate += OnGSInfoUpdate;
+ }
+
+ private static void OnPostXRModeSwitch(XRModeSwitchEventArgs eventArgs)
+ => SetDeviceModeActive(eventArgs.IsUsingVr);
+
+ private static void OnGSInfoUpdate(GSInfoUpdate gsInfoUpdate, GSInfoChanged gsInfoChanged)
+ {
+ if (gsInfoChanged != GSInfoChanged.InstancePrivacy) return;
+ SetInstancePrivateActive(Instances.IsInPrivateInstance());
+ }
+
+ private static void SetDeviceModeActive(bool isUsingVr)
+ => DeviceMode.Active = isUsingVr ? "VR" : null;
+ private static void SetInstancePrivateActive(bool isPrivate)
+ => InstancePrivacy.Active = isPrivate ? "Private" : "Public";
+ }
+}
\ No newline at end of file
diff --git a/.Deprecated/DefaultDynamicBoneWind/Settings/CVRSettings.cs b/.Deprecated/DefaultDynamicBoneWind/Settings/CVRSettings.cs
new file mode 100644
index 0000000..e4de4bc
--- /dev/null
+++ b/.Deprecated/DefaultDynamicBoneWind/Settings/CVRSettings.cs
@@ -0,0 +1,564 @@
+using ABI_RC.Core.IO;
+using ABI_RC.Core.Logger;
+using Tomlet;
+using Tomlet.Models;
+
+namespace ABI_RC.Core.Savior
+{
+ ///
+ /// A named runtime context. The game sets Active at runtime.
+ /// Settings with matching variant names update automatically.
+ ///
+ public sealed class CVRSettingsContext
+ {
+ public readonly string Name;
+
+ private string _active;
+
+ public event Action OnChanged;
+
+ public CVRSettingsContext(string name) => Name = name;
+
+ public string Active
+ {
+ get => _active;
+ set
+ {
+ if (_active == value) return;
+ var old = _active;
+ _active = value;
+ OnChanged?.Invoke(old, value);
+ }
+ }
+ }
+
+ ///
+ /// A .toml file on disk. Contains categories, each a [section].
+ /// Variant sub-tables like [Category.VR] are stored within category tables.
+ ///
+ public sealed class CVRSettingsFile
+ {
+ public readonly string Name;
+
+ internal readonly Dictionary Categories = new();
+ internal readonly List Contexts = new();
+ internal readonly HashSet VariantSettings = new();
+
+ private string _path;
+ private TomlDocument _cached;
+ private bool _failed;
+ private bool _threwOnce;
+ private bool _savePending;
+
+ public bool HasFailed => _failed;
+
+ public CVRSettingsFile(string name)
+ {
+ Name = name;
+ CVRSettingsRegistry.Register(this);
+ }
+
+ public void SetPath(string filePath) => _path = filePath;
+
+ public CVRSettingsCategory CreateCategory(string name, string comment = null, string page = null)
+ {
+ var cat = new CVRSettingsCategory(name, comment, page, this);
+ Categories[name] = cat;
+ return cat;
+ }
+
+ ///
+ /// Register a context. When Active changes, only settings with variants are notified.
+ ///
+ public void RegisterContext(CVRSettingsContext context)
+ {
+ if (Contexts.Contains(context)) return;
+ Contexts.Add(context);
+ context.OnChanged += (_, _) =>
+ {
+ foreach (var setting in VariantSettings)
+ setting.OnContextChanged();
+ };
+ }
+
+ public void Load()
+ {
+ if (_path == null || !File.Exists(_path)) return;
+
+ try
+ {
+ var content = File.ReadAllText(_path);
+ if (string.IsNullOrWhiteSpace(content)) return;
+
+ _cached = new TomlParser().Parse(content);
+
+ foreach (var cat in Categories.Values)
+ cat.PopulateFromDocument(_cached);
+ }
+ catch (Exception e)
+ {
+ _failed = true;
+ CVRLogger.LogError($"[CVRSettings] Failed to load '{_path}': {e}. " +
+ "Settings will not be saved this session.");
+ }
+ }
+
+ public void Save()
+ {
+ if (_path == null || _failed) return;
+
+ var doc = TomlDocument.CreateEmpty();
+
+ foreach (var cat in Categories.Values)
+ {
+ var table = new TomlTable();
+ if (cat.Comment != null)
+ table.Comments.PrecedingComment = cat.Comment;
+
+ foreach (var setting in cat.Settings.Values)
+ {
+ if (setting.SkipWrite) continue;
+ var val = setting.ToTomlValue();
+ if (val == null) continue;
+ if (setting.Comment != null)
+ val.Comments.PrecedingComment = setting.Comment;
+ table.PutValue(setting.Name, val);
+ }
+
+ var variantNames = new HashSet();
+ foreach (var setting in cat.Settings.Values)
+ setting.CollectVariantNames(variantNames);
+
+ foreach (var variantName in variantNames)
+ {
+ var variantTable = new TomlTable { ForceNoInline = true };
+ variantTable.Comments.PrecedingComment = $"Active when context is: {variantName}";
+
+ foreach (var setting in cat.Settings.Values)
+ {
+ var val = setting.GetVariantToml(variantName);
+ if (val != null)
+ variantTable.PutValue(setting.Name, val);
+ }
+
+ if (variantTable.Entries.Count > 0)
+ table.PutValue(variantName, variantTable);
+ }
+
+ doc.PutValue(cat.Name, table);
+ }
+
+ File.WriteAllText(_path, doc.SerializedValue);
+ _cached = null;
+ }
+
+ public void SaveImmediate() => Save();
+
+ public void ResetAll()
+ {
+ foreach (var cat in Categories.Values)
+ cat.ResetAll();
+ }
+
+ internal void GetActiveVariants(List results)
+ {
+ results.Clear();
+ foreach (var ctx in Contexts)
+ if (ctx.Active != null)
+ results.Add(ctx.Active);
+ }
+
+ internal TomlValue GetCachedValue(string category, string key)
+ {
+ if (_cached == null) return null;
+ if (!_cached.ContainsKey(category)) return null;
+ var table = _cached.GetSubTable(category);
+ return table.ContainsKey(key) ? table.GetValue(key) : null;
+ }
+
+ internal TomlTable GetCachedCategoryTable(string category)
+ {
+ if (_cached == null) return null;
+ return _cached.ContainsKey(category) ? _cached.GetSubTable(category) : null;
+ }
+
+ internal void MarkDirty()
+ {
+ if (_path == null || _savePending || _failed) return;
+ _savePending = true;
+ BetterScheduleSystem.AddJob(() => { _savePending = false; Save(); }, 5f, 0f, 0);
+ }
+
+ internal void ThrowIfFailed()
+ {
+ if (!_failed || _threwOnce) return;
+ _threwOnce = true;
+ throw new InvalidOperationException(
+ $"[CVRSettings] File '{Name}' failed to load. " +
+ "Subsequent access returns defaults.");
+ }
+ }
+
+ ///
+ /// A [section] within a .toml file.
+ ///
+ public sealed class CVRSettingsCategory
+ {
+ public readonly string Name;
+ public readonly string Comment;
+ public readonly string Page;
+
+ internal readonly CVRSettingsFile File;
+ internal readonly Dictionary Settings = new();
+
+ public CVRCategoryUI UI;
+
+ internal CVRSettingsCategory(string name, string comment, string page, CVRSettingsFile file)
+ {
+ Name = name;
+ Comment = comment;
+ Page = page ?? file.Name;
+ File = file;
+ CVRSettingsRegistry.Register(this);
+ }
+
+ public CVRSetting Create(string key, T defaultValue, string comment = null, bool writeDefault = true)
+ {
+ var s = new CVRSetting(key, defaultValue, comment, writeDefault, this);
+
+ var cached = File.GetCachedValue(Name, key);
+ if (cached != null)
+ s.LoadFromToml(cached);
+
+ s.LoadVariantsFromCache();
+
+ Settings[key] = s;
+ return s;
+ }
+
+ public CVRSettingsCategory WithUI(int sortOrder = 0, UIFilters filters = null)
+ {
+ UI = new CVRCategoryUI { SortOrder = sortOrder, Filters = filters };
+ return this;
+ }
+
+ public void ResetAll()
+ {
+ foreach (var s in Settings.Values)
+ s.ResetToDefault();
+ }
+
+ internal void PopulateFromDocument(TomlDocument doc)
+ {
+ if (!doc.ContainsKey(Name)) return;
+ var table = doc.GetSubTable(Name);
+
+ foreach (var setting in Settings.Values)
+ {
+ if (table.ContainsKey(setting.Name))
+ setting.LoadFromToml(table.GetValue(setting.Name));
+ setting.LoadVariantsFromCache();
+ }
+ }
+ }
+
+ ///
+ /// Base class for settings.
+ ///
+ public abstract class CVRSettingBase
+ {
+ public readonly string Name;
+ public readonly string Comment;
+ public readonly bool WriteDefault;
+
+ internal readonly CVRSettingsCategory Category;
+
+ public CVRSettingUI UI;
+
+ protected CVRSettingBase(string name, string comment, bool writeDefault, CVRSettingsCategory category)
+ {
+ Name = name;
+ Comment = comment;
+ WriteDefault = writeDefault;
+ Category = category;
+ }
+
+ internal abstract bool SkipWrite { get; }
+ internal abstract TomlValue ToTomlValue();
+ internal abstract void LoadFromToml(TomlValue value);
+ internal abstract void LoadVariantsFromCache();
+ internal abstract void ResetToDefault();
+ internal abstract void OnContextChanged();
+ internal abstract void CollectVariantNames(HashSet names);
+ internal abstract TomlValue GetVariantToml(string variantName);
+ }
+
+ ///
+ /// Typed setting. Supports any type Tomlet can serialize.
+ /// Optionally has named variants that activate based on context state.
+ ///
+ public sealed class CVRSetting : CVRSettingBase
+ {
+ public readonly T Default;
+
+ private T _value;
+ private T _lastEffective;
+ private Dictionary _variants;
+
+ // ReSharper disable once StaticMemberInGenericType
+ private static readonly List ActiveBuffer = new();
+
+ public event Action OnChanged;
+
+ internal CVRSetting(string name, T defaultValue, string comment, bool writeDefault,
+ CVRSettingsCategory category) : base(name, comment, writeDefault, category)
+ {
+ Default = defaultValue;
+ _value = defaultValue;
+ _lastEffective = defaultValue;
+ }
+
+ public T Value
+ {
+ get
+ {
+ Category.File.ThrowIfFailed();
+ return Resolve();
+ }
+ set
+ {
+ Category.File.ThrowIfFailed();
+ var activeVariant = FindActiveVariant();
+ if (activeVariant != null)
+ {
+ SetVariant(activeVariant, value);
+ return;
+ }
+ SetBase(value);
+ }
+ }
+
+ public T BaseValue
+ {
+ get => _value;
+ set => SetBase(value);
+ }
+
+ public void SetSilent(T value) => _value = value;
+
+ public static implicit operator T(CVRSetting s) => s.Value;
+
+ public override string ToString() => Resolve()?.ToString() ?? "";
+
+ // UI
+
+ public CVRSetting WithUI(int sortOrder = 0, string tooltip = null, UIFilters filters = null)
+ {
+ UI = new CVRSettingUI { SortOrder = sortOrder, Tooltip = tooltip, Filters = filters };
+ return this;
+ }
+
+ // Variants
+
+ ///
+ /// Provide a code-default variant value. TOML values take precedence.
+ /// Returns self for chaining.
+ ///
+ public CVRSetting WithVariant(string variantName, T value)
+ {
+ _variants ??= new Dictionary();
+ _variants.TryAdd(variantName, value);
+ Category.File.VariantSettings.Add(this);
+ return this;
+ }
+
+ public void SetVariant(string variantName, T value)
+ {
+ _variants ??= new Dictionary();
+ if (_variants.TryGetValue(variantName, out var existing)
+ && EqualityComparer.Default.Equals(existing, value))
+ return;
+
+ var oldEffective = Resolve();
+ _variants[variantName] = value;
+ Category.File.VariantSettings.Add(this);
+ var newEffective = Resolve();
+ FireIfChanged(oldEffective, newEffective);
+ Category.File.MarkDirty();
+ }
+
+ public T GetVariant(string variantName)
+ {
+ if (_variants != null && _variants.TryGetValue(variantName, out var val))
+ return val;
+ return _value;
+ }
+
+ public bool HasVariant(string variantName)
+ => _variants != null && _variants.ContainsKey(variantName);
+
+ // Resolution
+
+ private T Resolve()
+ {
+ if (_variants != null)
+ {
+ Category.File.GetActiveVariants(ActiveBuffer);
+ foreach (var name in ActiveBuffer)
+ if (_variants.TryGetValue(name, out var val))
+ return val;
+ }
+ return _value;
+ }
+
+ private string FindActiveVariant()
+ {
+ if (_variants == null) return null;
+ Category.File.GetActiveVariants(ActiveBuffer);
+ foreach (var name in ActiveBuffer)
+ if (_variants.ContainsKey(name))
+ return name;
+ return null;
+ }
+
+ private void SetBase(T value)
+ {
+ if (EqualityComparer.Default.Equals(_value, value)) return;
+ var oldEffective = Resolve();
+ _value = value;
+ var newEffective = Resolve();
+ FireIfChanged(oldEffective, newEffective);
+ Category.File.MarkDirty();
+ }
+
+ private void FireIfChanged(T oldEffective, T newEffective)
+ {
+ if (EqualityComparer.Default.Equals(oldEffective, newEffective)) return;
+ _lastEffective = newEffective;
+ OnChanged?.Invoke(oldEffective, newEffective);
+ }
+
+ internal override void OnContextChanged()
+ {
+ var newEffective = Resolve();
+ if (EqualityComparer.Default.Equals(_lastEffective, newEffective)) return;
+ var old = _lastEffective;
+ _lastEffective = newEffective;
+ OnChanged?.Invoke(old, newEffective);
+ }
+
+ // Serialization
+
+ internal override bool SkipWrite
+ => !WriteDefault && EqualityComparer.Default.Equals(_value, Default);
+
+ internal override void ResetToDefault()
+ {
+ var oldEffective = Resolve();
+ _value = Default;
+ _variants?.Clear();
+ var newEffective = Resolve();
+ FireIfChanged(oldEffective, newEffective);
+ Category.File.MarkDirty();
+ }
+
+ internal override TomlValue ToTomlValue() => TomletMain.ValueFrom(_value);
+
+ internal override void LoadFromToml(TomlValue val)
+ {
+ try { _value = TomletMain.To(val); _lastEffective = _value; }
+ catch { /* keep default */ }
+ }
+
+ internal override void LoadVariantsFromCache()
+ {
+ var categoryTable = Category.File.GetCachedCategoryTable(Category.Name);
+ if (categoryTable == null) return;
+
+ foreach (var key in categoryTable.Keys)
+ {
+ TomlValue entry;
+ try { entry = categoryTable.GetValue(key); }
+ catch { continue; }
+
+ if (entry is not TomlTable variantTable) continue;
+ if (!variantTable.ContainsKey(Name)) continue;
+
+ try
+ {
+ _variants ??= new Dictionary();
+ _variants[key] = TomletMain.To(variantTable.GetValue(Name));
+ Category.File.VariantSettings.Add(this);
+ }
+ catch { /* skip bad values */ }
+ }
+ }
+
+ internal override void CollectVariantNames(HashSet names)
+ {
+ if (_variants == null) return;
+ foreach (var name in _variants.Keys)
+ names.Add(name);
+ }
+
+ internal override TomlValue GetVariantToml(string variantName)
+ {
+ if (_variants == null || !_variants.TryGetValue(variantName, out var val))
+ return null;
+ return TomletMain.ValueFrom(val);
+ }
+ }
+
+ // UI metadata shit for ui lib
+
+ public sealed class CVRCategoryUI
+ {
+ public int SortOrder;
+ public UIFilters Filters;
+ }
+
+ public sealed class CVRSettingUI
+ {
+ public int SortOrder;
+ public string Tooltip;
+ public UIFilters Filters;
+ }
+
+ public sealed class UIFilters
+ {
+ [Flags] public enum SettingsLevel { None = 0, Basic = 1, Advanced = 2, Niche = 4 }
+ [Flags] public enum PlatformType { None = 0, PCVR = 1, PCDesktop = 2, AndroidVR = 4 }
+ [Flags] public enum ContextType { None = 0, Player = 1, Editor = 2 }
+ [Flags] public enum LoaderType { None = 0, OpenVR = 1, OpenXR = 2, MetaSDK = 4, PicoSDK = 8 }
+ [Flags] public enum ControllerType { None = 0, Others = 1, Index = 2, ViveWands = 4 }
+ [Flags] public enum ContentType { None = 0, Default = 1, Mature = 2 }
+ [Flags] public enum AccountRank { None = 0, User = 1, Moderator = 2, Developer = 4 }
+
+ // None means no filter applied, ignore
+ public SettingsLevel Level = SettingsLevel.None;
+ public PlatformType Platform = PlatformType.None;
+ public ContextType Context = ContextType.None;
+ public LoaderType Loader = LoaderType.None;
+ public ControllerType Controller = ControllerType.None;
+ public ContentType Content = ContentType.None;
+ public AccountRank Rank = AccountRank.None;
+ }
+
+ public static class CVRSettingsRegistry
+ {
+ public static readonly Dictionary Files = new();
+ public static readonly Dictionary> Pages = new();
+
+ internal static void Register(CVRSettingsFile file) => Files[file.Name] = file;
+
+ internal static void Register(CVRSettingsCategory category)
+ {
+ if (!Pages.TryGetValue(category.Page, out var list))
+ {
+ list = new List();
+ Pages[category.Page] = list;
+ }
+ list.Add(category);
+ }
+ }
+}
\ No newline at end of file
diff --git a/.Deprecated/DefaultDynamicBoneWind/format.json b/.Deprecated/DefaultDynamicBoneWind/format.json
new file mode 100644
index 0000000..2a249d3
--- /dev/null
+++ b/.Deprecated/DefaultDynamicBoneWind/format.json
@@ -0,0 +1,23 @@
+{
+ "_id": -1,
+ "name": "DefaultDynamicBoneWind",
+ "modversion": "1.0.0",
+ "gameversion": "2025r181-hf2",
+ "loaderversion": "0.7.2",
+ "modtype": "Mod",
+ "author": "NotAKidoS",
+ "description": "Enables Wind Zone influence on Dynamic Bones by default.",
+ "searchtags": [
+ "dynamic",
+ "bone",
+ "wind",
+ "zone"
+ ],
+ "requirements": [
+ "None"
+ ],
+ "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r48/DefaultDynamicBoneWind.dll",
+ "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/DefaultDynamicBoneWind/",
+ "changelog": "- Initial release",
+ "embedcolor": "#f61963"
+}
\ No newline at end of file
diff --git a/.Deprecated/FastStartup/FastStartup.csproj b/.Deprecated/FastStartup/FastStartup.csproj
new file mode 100644
index 0000000..78195e6
--- /dev/null
+++ b/.Deprecated/FastStartup/FastStartup.csproj
@@ -0,0 +1,6 @@
+
+
+
+ ASTExtension
+
+
diff --git a/.Deprecated/FastStartup/Main.cs b/.Deprecated/FastStartup/Main.cs
new file mode 100644
index 0000000..8c4d4d7
--- /dev/null
+++ b/.Deprecated/FastStartup/Main.cs
@@ -0,0 +1,237 @@
+using System.Collections;
+using System.Reflection;
+using System.Text;
+using System.Xml.Serialization;
+using ABI_RC.Core.Base;
+using ABI_RC.Core.EventSystem;
+using ABI_RC.Core.Networking;
+using ABI_RC.Core.Networking.API;
+using ABI_RC.Core.Networking.API.Responses;
+using ABI_RC.Core.Player;
+using ABI_RC.Core.Savior;
+using ABI_RC.Core.Savior.SceneManagers;
+using ABI_RC.Systems.InputManagement;
+using ABI_RC.Systems.UI;
+using HarmonyLib;
+using MelonLoader;
+using Newtonsoft.Json;
+using UnityEngine;
+using UnityEngine.SceneManagement;
+
+namespace NAK.FastStartup;
+
+public class FastStartupMod : MelonMod
+{
+ private const string APIAddress = "https://api.chilloutvr.net";
+ private const string APIVersion = "1";
+
+ private static MelonLogger.Instance Logger;
+ private static LoginProfile _profile;
+ private static Task> _pendingAuth;
+
+ public override void OnInitializeMelon()
+ {
+ Logger = LoggerInstance;
+
+ LoginRoom.IsPlayerIn = true;
+
+ // Load profile and fire auth request as early as possible
+ _profile = LoadFirstProfile();
+ if (_profile != null)
+ {
+ Logger.Msg($"Firing early auth for {_profile.Username}...");
+ _pendingAuth = AuthenticateAsync(_profile.Username, _profile.AccessKey);
+ }
+ else
+ {
+ Logger.Error("No valid profile found.");
+ }
+
+ HarmonyInstance.Patch(
+ typeof(Preparation).GetMethod(nameof(Preparation.Start),
+ BindingFlags.NonPublic | BindingFlags.Instance),
+ prefix: new HarmonyMethod(typeof(FastStartupMod).GetMethod(nameof(OnPrePreparationStart),
+ BindingFlags.NonPublic | BindingFlags.Static))
+ );
+
+ HarmonyInstance.Patch(
+ typeof(Init).GetMethod(nameof(Init.Start),
+ BindingFlags.NonPublic | BindingFlags.Instance),
+ prefix: new HarmonyMethod(typeof(FastStartupMod).GetMethod(nameof(OnMethodWeDontCareAboutAndWantToFuckOff),
+ BindingFlags.NonPublic | BindingFlags.Static))
+ );
+ HarmonyInstance.Patch(
+ typeof(IntroManager).GetMethod(nameof(IntroManager.Start),
+ BindingFlags.NonPublic | BindingFlags.Instance),
+ prefix: new HarmonyMethod(typeof(FastStartupMod).GetMethod(nameof(OnMethodWeDontCareAboutAndWantToFuckOff),
+ BindingFlags.NonPublic | BindingFlags.Static))
+ );
+ HarmonyInstance.Patch(
+ typeof(IntroManager).GetMethod(nameof(IntroManager.OnDestroy),
+ BindingFlags.NonPublic | BindingFlags.Instance),
+ prefix: new HarmonyMethod(typeof(FastStartupMod).GetMethod(nameof(OnMethodWeDontCareAboutAndWantToFuckOff),
+ BindingFlags.NonPublic | BindingFlags.Static))
+ );
+
+ HarmonyInstance.Patch(
+ typeof(LoginRoom).GetMethod(nameof(LoginRoom.Start),
+ BindingFlags.NonPublic | BindingFlags.Instance),
+ prefix: new HarmonyMethod(typeof(FastStartupMod).GetMethod(nameof(OnLoginRoomStart),
+ BindingFlags.NonPublic | BindingFlags.Static))
+ );
+
+ Logger.Msg("FastStartup initialized");
+ }
+
+ private static bool OnPrePreparationStart()
+ {
+ MelonCoroutines.Start(WaitForAuthAndContinue());
+ return false;
+ }
+
+ private static bool OnMethodWeDontCareAboutAndWantToFuckOff() => false;
+
+ private static void OnLoginRoomStart() => WorldTransitionSystem.Instance.ContinueTransition();
+
+ private static IEnumerator WaitForAuthAndContinue()
+ {
+ Logger.Msg("Waiting for early auth to complete...");
+
+ // Load init scene
+ SceneManager.LoadScene("Init");
+ yield return null;
+
+ PlayerSetup.Instance.ToggleCameras(true, true);
+ WorldTransitionSystem.Instance.StartTransition(true);
+ CursorLockManager.Instance.UpdateCursorState();
+
+ if (_pendingAuth == null)
+ {
+ MelonCoroutines.Start(LoginRoom.LoadScene());
+ yield break;
+ }
+
+ while (!_pendingAuth.IsCompleted)
+ yield return null;
+
+ if (_pendingAuth.IsFaulted || _pendingAuth.Result?.Data == null)
+ {
+ Logger.Error($"Early auth failed: {_pendingAuth.Exception?.Message ?? "null response"}");
+ MelonCoroutines.Start(LoginRoom.LoadScene());
+ yield break;
+ }
+
+ var authData = _pendingAuth.Result.Data;
+ Logger.Msg($"Early auth succeeded: {authData.Username} ({authData.UserId})");
+
+ MelonCoroutines.Start(AuthManager.AuthenticationSucceeded(_pendingAuth.Result, AuthManager.AuthEntity.ABIProfile));
+ MelonCoroutines.Start(LoadOurContent());
+ }
+
+ private static IEnumerator LoadOurContent()
+ {
+ yield return null;
+ Content.LoadIntoWorld(MetaPort.Instance.homeWorldGuid, true);
+ AssetManagement.Instance.LoadLocalAvatar(MetaPort.Instance.currentAvatarGuid);
+ }
+
+ #region Profile Loading
+
+ private static LoginProfile LoadFirstProfile()
+ {
+ try
+ {
+ /*var profileFiles = Directory.GetFiles(Application.dataPath, "*.profile");
+ if (profileFiles.Length == 0)
+ {
+ Logger.Warning("No .profile files found");
+ return null;
+ }
+
+ // Load first valid profile found
+ foreach (var file in profileFiles)
+ {*/
+ string file = Path.Combine(Application.dataPath, "autologin.profile");
+ if (File.Exists(file))
+ {
+ try
+ {
+ using var reader = new StreamReader(file);
+ var serializer = new XmlSerializer(typeof(LoginProfile));
+ var profile = (LoginProfile)serializer.Deserialize(reader);
+
+ if (!string.IsNullOrEmpty(profile?.Username) && !string.IsNullOrEmpty(profile?.AccessKey))
+ {
+ Logger.Msg($"Loaded profile: {profile.Username}");
+ return profile;
+ }
+ }
+ catch (Exception ex)
+ {
+ Logger.Warning($"Failed to load {Path.GetFileName(file)}: {ex.Message}");
+ }
+ }
+ // }
+ }
+ catch (Exception ex)
+ {
+ Logger.Error($"Profile loading failed: {ex.Message}");
+ }
+
+ return null;
+ }
+
+ #endregion Profile Loading
+
+ #region Auth Request
+
+ private static async Task> AuthenticateAsync(string username, string accessKey)
+ {
+ using var client = new HttpClient();
+ client.Timeout = TimeSpan.FromSeconds(30);
+
+ client.DefaultRequestHeaders.Add(ApiConnection.HeaderUsername, username);
+ client.DefaultRequestHeaders.Add(ApiConnection.HeaderAccessKey, accessKey);
+ client.DefaultRequestHeaders.Add(ApiConnection.HeaderUserAgent, $"ChilloutVR/{Application.version} (fuck you)");
+ client.DefaultRequestHeaders.Add(ApiConnection.HeaderPlatform, MetaPort.Platform);
+ client.DefaultRequestHeaders.Add(ApiConnection.HeaderCompatibleVersions, MetaPort.CompatibleVersions);
+
+ var payload = JsonConvert.SerializeObject(new
+ {
+ Username = username,
+ Password = accessKey,
+ AuthType = 1,
+ get = "?acceptTOS=true"
+ });
+
+ var url = $"{APIAddress}/{APIVersion}/users/auth?acceptTOS=true";
+
+ try
+ {
+ var response = await client.PostAsync(url, new StringContent(payload, Encoding.UTF8, "application/json"));
+
+ if (!response.IsSuccessStatusCode)
+ {
+ Logger.Error($"Auth failed: {response.StatusCode}");
+ return null;
+ }
+
+ var body = await response.Content.ReadAsStringAsync();
+ return JsonConvert.DeserializeObject>(body);
+ }
+ catch (Exception ex)
+ {
+ Logger.Error($"Auth request failed: {ex.Message}");
+ return null;
+ }
+ }
+
+ #endregion Auth Request
+}
+
+[XmlRoot("LoginProfile")]
+public class LoginProfile
+{
+ [XmlElement("Username")] public string Username { get; set; }
+ [XmlElement("AccessKey")] public string AccessKey { get; set; }
+}
\ No newline at end of file
diff --git a/.Deprecated/FastStartup/Properties/AssemblyInfo.cs b/.Deprecated/FastStartup/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..56b7628
--- /dev/null
+++ b/.Deprecated/FastStartup/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+using MelonLoader;
+using NAK.FastStartup.Properties;
+using System.Reflection;
+
+[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyTitle(nameof(NAK.FastStartup))]
+[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
+[assembly: AssemblyProduct(nameof(NAK.FastStartup))]
+
+[assembly: MelonInfo(
+ typeof(NAK.FastStartup.FastStartupMod),
+ nameof(NAK.FastStartup),
+ AssemblyInfoParams.Version,
+ AssemblyInfoParams.Author,
+ downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/FastStartup"
+)]
+
+[assembly: MelonGame("ChilloutVR", "ChilloutVR")]
+[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
+[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
+[assembly: MelonColor(255, 246, 25, 99)] // red-pink
+[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
+[assembly: HarmonyDontPatchAll]
+
+namespace NAK.FastStartup.Properties;
+internal static class AssemblyInfoParams
+{
+ public const string Version = "1.0.5";
+ public const string Author = "NotAKidoS";
+}
\ No newline at end of file
diff --git a/.Deprecated/FastStartup/README.md b/.Deprecated/FastStartup/README.md
new file mode 100644
index 0000000..399e70a
--- /dev/null
+++ b/.Deprecated/FastStartup/README.md
@@ -0,0 +1,54 @@
+# ASTExtension
+
+Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):
+- VR Gesture to scale
+- Persistent height
+- Copy height from others
+
+Best used with Avatar Scale Tool, but will attempt to work with found scaling setups.
+Requires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.
+
+## Supported Setups
+
+ASTExtension will attempt to work with the following setups:
+
+**Parameter Names:**
+- AvatarScale
+- Scale
+- Scaler
+- Scale/Scale
+- Height
+- LoliModifier
+- AvatarSize
+- Size
+- SizeScale
+- Scaling
+
+These parameter names are not case sensitive and have been gathered from polling the community for common parameter names.
+
+Assuming the parameter is a float, ASTExtension will attempt to use it as the height parameter. Will automatically calibrate to the height range of the found parameter, assuming the scaling animation is in a blend tree / state using motion time & is linear. The scaling animation state **must be active** at time of avatar load.
+
+The max value ASTExtension will drive the parameter to is 100. As the mod is having to guess the max height, it may not be accurate if the max height is not capped at a multiple of 10.
+
+Examples:
+- `AvatarScale` - 0 to 1 (slider)
+ - This is the default setup for Avatar Scale Tool and will work perfectly.
+- `Scale` - 0 to 100 (input single)
+ - This will also work perfectly as the max height is a multiple of 10.
+- `Height` - 0 to 2 (input single)
+ - This will not work properly. The max value to drive the parameter to is not a multiple of 10, and as such ASTExtension will believe the parameter range is 0 to 1.
+- `BurntToast` - 0 to 10 (input single)
+ - This will not work properly. The parameter name is not recognized by ASTExtension.
+
+If your setup is theoretically supported but not working, it is likely the scaling animation is not linear or has loop enabled if using Motion Time, making the first and last frame identical height. In this case, you will need to fix your animation clip curves / blend tree to be linear &|| not loop, or use Avatar Scale Tool to generate a new scaling animation.
+
+---
+
+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/.Deprecated/FastStartup/format.json b/.Deprecated/FastStartup/format.json
new file mode 100644
index 0000000..390aeac
--- /dev/null
+++ b/.Deprecated/FastStartup/format.json
@@ -0,0 +1,24 @@
+{
+ "_id": 223,
+ "name": "ASTExtension",
+ "modversion": "1.0.5",
+ "gameversion": "2025r181",
+ "loaderversion": "0.7.2",
+ "modtype": "Mod",
+ "author": "NotAKidoS",
+ "description": "Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):\n- VR Gesture to scale\n- Persistent height\n- Copy height from others\n\nBest used with Avatar Scale Tool, but will attempt to work with found scaling setups.\nRequires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.",
+ "searchtags": [
+ "tool",
+ "scaling",
+ "height",
+ "extension",
+ "avatar"
+ ],
+ "requirements": [
+ "BTKUILib"
+ ],
+ "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r48/ASTExtension.dll",
+ "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/ASTExtension/",
+ "changelog": "- Rebuilt for CVR 2025r181",
+ "embedcolor": "#f61963"
+}
\ No newline at end of file
diff --git a/.Deprecated/MirroredReflection/Main.cs b/.Deprecated/MirroredReflection/Main.cs
new file mode 100644
index 0000000..29f05d3
--- /dev/null
+++ b/.Deprecated/MirroredReflection/Main.cs
@@ -0,0 +1,78 @@
+using System.Reflection;
+using ABI_RC.Core;
+using ABI_RC.Core.Player;
+using ABI_RC.Systems.ContentClones;
+using ABI_RC.Systems.GameEventSystem;
+using ABI.CCK.Components;
+using HarmonyLib;
+using MelonLoader;
+using UnityEngine;
+
+namespace NAK.MirroredReflection;
+
+public class MirroredReflectionMod : MelonMod
+{
+ public override void OnInitializeMelon()
+ {
+ CVRGameEventSystem.Avatar.OnLocalAvatarLoad.AddListener(OnLocalAvatarLoad);
+ CVRGameEventSystem.Avatar.OnLocalAvatarClear.AddListener(OnLocalAvatarClear);
+ CVRGameEventSystem.Avatar.OnLocalAvatarHeightScale.AddListener(OnLocalAvatarHeightScale);
+ HarmonyInstance.Patch(
+ typeof(CVRMirror).GetMethod(nameof(CVRMirror.Start),
+ BindingFlags.NonPublic | BindingFlags.Instance),
+ postfix: new HarmonyMethod(typeof(MirroredReflectionMod).GetMethod(nameof(OnPostCVRMirrorStart),
+ BindingFlags.NonPublic | BindingFlags.Static))
+ );
+ }
+
+ private static readonly ContentCloneManager.CloneOptions PlayerClone = new()
+ {
+ SyncTransforms = true,
+ SyncRootPosition = true,
+ SyncRootScale = false,
+ SyncMaterialSwaps = true,
+ SyncProbeAnchors = false,
+ OverrideLayers = true,
+ CloneLayer = CVRLayers.PlayerClone,
+ OnlyRenderIfOriginalNotInCamera = true,
+ ShowCameraTypes = CVRCameraTypeFlags.UserGeneratedContent | CVRCameraTypeFlags.PortableCamera | CVRCameraTypeFlags.MirrorCamera | CVRCameraTypeFlags.CaptureCamera
+ };
+
+ private static ContentCloneManager.CloneData _mirrorClone;
+
+ private static void OnLocalAvatarLoad(CVRAvatar avatar)
+ {
+ if (!avatar) return;
+ _mirrorClone = ContentCloneManager.CreateClone(avatar.gameObject, PlayerClone);
+ if (_mirrorClone != null)
+ {
+ _mirrorClone.CloneRootTransform.localScale = new Vector3(-1f, 1f, 1f);
+ _mirrorClone.LastSourceRootScale = avatar.transform.localScale;
+ }
+ }
+
+ private static void OnLocalAvatarClear(CVRAvatar avatar)
+ {
+ if (_mirrorClone is { IsDestroyed: false })
+ {
+ UnityEngine.Object.Destroy(_mirrorClone.CloneRoot);
+ _mirrorClone = null;
+ }
+ }
+
+ private static void OnLocalAvatarHeightScale(float height, float scale)
+ {
+ if (_mirrorClone is { IsDestroyed: false })
+ {
+ Vector3 localScale = PlayerSetup.Instance.AvatarTransform.localScale;
+ localScale.x *= -1f;
+ _mirrorClone.CloneRootTransform.localScale = localScale;
+ }
+ }
+
+ private static void OnPostCVRMirrorStart(CVRMirror __instance)
+ {
+ __instance.m_ReflectLayers &= ~(1 << CVRLayers.PlayerLocal); // remove PlayerLocal
+ __instance.m_ReflectLayers |= (1 << CVRLayers.PlayerClone); // add PlayerClone
+ }
+}
\ No newline at end of file
diff --git a/.Deprecated/MirroredReflection/MirroredReflection.csproj b/.Deprecated/MirroredReflection/MirroredReflection.csproj
new file mode 100644
index 0000000..78195e6
--- /dev/null
+++ b/.Deprecated/MirroredReflection/MirroredReflection.csproj
@@ -0,0 +1,6 @@
+
+
+
+ ASTExtension
+
+
diff --git a/.Deprecated/MirroredReflection/Properties/AssemblyInfo.cs b/.Deprecated/MirroredReflection/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c5be541
--- /dev/null
+++ b/.Deprecated/MirroredReflection/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+using MelonLoader;
+using NAK.MirroredReflection.Properties;
+using System.Reflection;
+
+[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyTitle(nameof(NAK.MirroredReflection))]
+[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
+[assembly: AssemblyProduct(nameof(NAK.MirroredReflection))]
+
+[assembly: MelonInfo(
+ typeof(NAK.MirroredReflection.MirroredReflectionMod),
+ nameof(NAK.MirroredReflection),
+ AssemblyInfoParams.Version,
+ AssemblyInfoParams.Author,
+ downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/MirroredReflection"
+)]
+
+[assembly: MelonGame("ChilloutVR", "ChilloutVR")]
+[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
+[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
+[assembly: MelonColor(255, 246, 25, 99)] // red-pink
+[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
+[assembly: HarmonyDontPatchAll]
+
+namespace NAK.MirroredReflection.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/.Deprecated/MirroredReflection/README.md b/.Deprecated/MirroredReflection/README.md
new file mode 100644
index 0000000..5ed44c4
--- /dev/null
+++ b/.Deprecated/MirroredReflection/README.md
@@ -0,0 +1,54 @@
+# ASTExtension
+
+Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):
+- VR Gesture to scale
+- Persistent height
+- Copy height from others
+
+Best used with Avatar Scale Tool, but will attempt to work with found scaling setups.
+Requires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.
+
+## Supported Setups
+
+ASTExtension will attempt to work with the following setups:
+
+**Parameter Names:**
+- AvatarScale
+- Scale
+- Scaler
+- Scale/Scale
+- Height
+- LoliModifier
+- AvatarSize
+- Size
+- SizeScale
+- Scaling
+
+These parameter names are not case sensitive and have been gathered from polling the community for common parameter names.
+
+Assuming the parameter is a float, ASTExtension will attempt to use it as the height parameter. Will automatically calibrate to the height range of the found parameter, assuming the scaling animation is in a blend tree / state using motion time & is linear. The scaling animation state **must be active** at time of avatar load.
+
+The max value ASTExtension will drive the parameter to is 100. As the mod is having to guess the max height, it may not be accurate if the max height is not capped at a multiple of 10.
+
+Examples:
+- `AvatarScale` - 0 to 1 (slider)
+ - This is the default setup for Avatar Scale Tool and will work perfectly.
+- `Scale` - 0 to 100 (input single)
+ - This will also work perfectly as the max height is a multiple of 10.
+- `Height` - 0 to 2 (input single)
+ - This will not work properly. The max value to drive the parameter to is not a multiple of 10, and as such ASTExtension will believe the parameter range is 0 to 1.
+- `BurntToast` - 0 to 10 (input single)
+ - This will not work properly. The parameter name is not recognized by ASTExtension.
+
+If your setup is theoretically supported but not working, it is likely the scaling animation is not linear or has loop enabled if using Motion Time, making the first and last frame identical height. In this case, you will need to fix your animation clip curves / blend tree to be linear &|| not loop, or use Avatar Scale Tool to generate a new scaling animation.
+
+---
+
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
+
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
+
+> 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 ChilloutVR.
diff --git a/.Deprecated/MirroredReflection/format.json b/.Deprecated/MirroredReflection/format.json
new file mode 100644
index 0000000..390aeac
--- /dev/null
+++ b/.Deprecated/MirroredReflection/format.json
@@ -0,0 +1,24 @@
+{
+ "_id": 223,
+ "name": "ASTExtension",
+ "modversion": "1.0.5",
+ "gameversion": "2025r181",
+ "loaderversion": "0.7.2",
+ "modtype": "Mod",
+ "author": "NotAKidoS",
+ "description": "Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):\n- VR Gesture to scale\n- Persistent height\n- Copy height from others\n\nBest used with Avatar Scale Tool, but will attempt to work with found scaling setups.\nRequires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.",
+ "searchtags": [
+ "tool",
+ "scaling",
+ "height",
+ "extension",
+ "avatar"
+ ],
+ "requirements": [
+ "BTKUILib"
+ ],
+ "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r48/ASTExtension.dll",
+ "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/ASTExtension/",
+ "changelog": "- Rebuilt for CVR 2025r181",
+ "embedcolor": "#f61963"
+}
\ No newline at end of file
diff --git a/PropLoadingHexagon/Components/LoadingHexagonController.cs b/.Deprecated/PropLoadingHexagon/Components/LoadingHexagonController.cs
similarity index 100%
rename from PropLoadingHexagon/Components/LoadingHexagonController.cs
rename to .Deprecated/PropLoadingHexagon/Components/LoadingHexagonController.cs
diff --git a/PropLoadingHexagon/Integrations/ClappableLoadingHex.cs b/.Deprecated/PropLoadingHexagon/Integrations/ClappableLoadingHex.cs
similarity index 100%
rename from PropLoadingHexagon/Integrations/ClappableLoadingHex.cs
rename to .Deprecated/PropLoadingHexagon/Integrations/ClappableLoadingHex.cs
diff --git a/PropLoadingHexagon/Main.cs b/.Deprecated/PropLoadingHexagon/Main.cs
similarity index 100%
rename from PropLoadingHexagon/Main.cs
rename to .Deprecated/PropLoadingHexagon/Main.cs
diff --git a/PropLoadingHexagon/PropLoadingHexagon.csproj b/.Deprecated/PropLoadingHexagon/PropLoadingHexagon.csproj
similarity index 100%
rename from PropLoadingHexagon/PropLoadingHexagon.csproj
rename to .Deprecated/PropLoadingHexagon/PropLoadingHexagon.csproj
diff --git a/PropLoadingHexagon/Properties/AssemblyInfo.cs b/.Deprecated/PropLoadingHexagon/Properties/AssemblyInfo.cs
similarity index 100%
rename from PropLoadingHexagon/Properties/AssemblyInfo.cs
rename to .Deprecated/PropLoadingHexagon/Properties/AssemblyInfo.cs
diff --git a/PropLoadingHexagon/README.md b/.Deprecated/PropLoadingHexagon/README.md
similarity index 76%
rename from PropLoadingHexagon/README.md
rename to .Deprecated/PropLoadingHexagon/README.md
index c07c464..9f3b652 100644
--- a/PropLoadingHexagon/README.md
+++ b/.Deprecated/PropLoadingHexagon/README.md
@@ -8,11 +8,11 @@ Can use Delete Mode ~~& The Clapper~~ on loading hexagons to cancel stuck downlo
---
-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
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
-> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
> 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.
+> To the best of my knowledge, I have adhered to the Modding Guidelines established by ChilloutVR.
diff --git a/PropLoadingHexagon/Resources/loading_hexagon.assets b/.Deprecated/PropLoadingHexagon/Resources/loading_hexagon.assets
similarity index 100%
rename from PropLoadingHexagon/Resources/loading_hexagon.assets
rename to .Deprecated/PropLoadingHexagon/Resources/loading_hexagon.assets
diff --git a/PropLoadingHexagon/format.json b/.Deprecated/PropLoadingHexagon/format.json
similarity index 100%
rename from PropLoadingHexagon/format.json
rename to .Deprecated/PropLoadingHexagon/format.json
diff --git a/PropsButBetter/Main.cs b/.Deprecated/PropsButBetter/Main.cs
similarity index 100%
rename from PropsButBetter/Main.cs
rename to .Deprecated/PropsButBetter/Main.cs
diff --git a/PropsButBetter/ModSettings.cs b/.Deprecated/PropsButBetter/ModSettings.cs
similarity index 100%
rename from PropsButBetter/ModSettings.cs
rename to .Deprecated/PropsButBetter/ModSettings.cs
diff --git a/PropsButBetter/Properties/AssemblyInfo.cs b/.Deprecated/PropsButBetter/Properties/AssemblyInfo.cs
similarity index 100%
rename from PropsButBetter/Properties/AssemblyInfo.cs
rename to .Deprecated/PropsButBetter/Properties/AssemblyInfo.cs
diff --git a/PropsButBetter/PropsButBetter.csproj b/.Deprecated/PropsButBetter/PropsButBetter.csproj
similarity index 100%
rename from PropsButBetter/PropsButBetter.csproj
rename to .Deprecated/PropsButBetter/PropsButBetter.csproj
diff --git a/PropsButBetter/PropsButBetter/API/PedestalInfoBatchProcessor.cs b/.Deprecated/PropsButBetter/PropsButBetter/API/PedestalInfoBatchProcessor.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/API/PedestalInfoBatchProcessor.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/API/PedestalInfoBatchProcessor.cs
diff --git a/PropsButBetter/PropsButBetter/API/SpawnablesMeta.cs b/.Deprecated/PropsButBetter/PropsButBetter/API/SpawnablesMeta.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/API/SpawnablesMeta.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/API/SpawnablesMeta.cs
diff --git a/PropsButBetter/PropsButBetter/Extensions/CVRSpawnableExtensions.cs b/.Deprecated/PropsButBetter/PropsButBetter/Extensions/CVRSpawnableExtensions.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/Extensions/CVRSpawnableExtensions.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Extensions/CVRSpawnableExtensions.cs
diff --git a/PropsButBetter/PropsButBetter/Extensions/PlayerSetupExtensions.cs b/.Deprecated/PropsButBetter/PropsButBetter/Extensions/PlayerSetupExtensions.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/Extensions/PlayerSetupExtensions.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Extensions/PlayerSetupExtensions.cs
diff --git a/.Deprecated/PropsButBetter/PropsButBetter/Extensions/PropDataExtensions.cs b/.Deprecated/PropsButBetter/PropsButBetter/Extensions/PropDataExtensions.cs
new file mode 100644
index 0000000..82d7044
--- /dev/null
+++ b/.Deprecated/PropsButBetter/PropsButBetter/Extensions/PropDataExtensions.cs
@@ -0,0 +1,43 @@
+using ABI_RC.Core.Networking;
+using ABI_RC.Core.Util;
+using ABI.CCK.Components;
+
+namespace NAK.PropsButBetter;
+
+public static class PropDataExtensions
+{
+ public static bool IsSpawnedByMe(this CVRSyncHelper.PropData prop)
+ => prop.SpawnedBy == AuthManager.UserId;
+
+ public static bool IsSpawnedByAdmin(this CVRSyncHelper.PropData prop)
+ => prop.SpawnedBy is CVRSyncHelper.OWNERID_LOCALSERVER or CVRSyncHelper.OWNERID_SYSTEM;
+
+ public static void CopyFrom(this CVRSyncHelper.PropData prop, CVRSyncHelper.PropData sourceData)
+ {
+ prop.ObjectId = sourceData.ObjectId;
+ prop.InstanceId = sourceData.InstanceId;
+ prop.PositionX = sourceData.PositionX;
+ prop.PositionY = sourceData.PositionY;
+ prop.PositionZ = sourceData.PositionZ;
+ prop.RotationX = sourceData.RotationX;
+ prop.RotationY = sourceData.RotationY;
+ prop.RotationZ = sourceData.RotationZ;
+ prop.ScaleX = sourceData.ScaleX;
+ prop.ScaleY = sourceData.ScaleY;
+ prop.ScaleZ = sourceData.ScaleZ;
+ prop.CustomFloatsAmount = sourceData.CustomFloatsAmount;
+ prop.CustomFloats = sourceData.CustomFloats;
+ prop.SpawnedBy = sourceData.SpawnedBy;
+ prop.syncedBy = sourceData.syncedBy;
+ prop.syncType = sourceData.syncType;
+ prop.ContentMetadata = sourceData.ContentMetadata;
+ prop.CanFireDecommissionEvents = sourceData.CanFireDecommissionEvents;
+ }
+
+ public static void RecycleSafe(this CVRSyncHelper.PropData prop)
+ {
+ if (prop.IsSpawnedByMe())
+ CVRSyncHelper.DeleteMyPropByInstanceIdOverNetwork(prop.InstanceId);
+ prop.Recycle();
+ }
+}
\ No newline at end of file
diff --git a/PropsButBetter/PropsButBetter/Extensions/TextBlockExtensions.cs b/.Deprecated/PropsButBetter/PropsButBetter/Extensions/TextBlockExtensions.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/Extensions/TextBlockExtensions.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Extensions/TextBlockExtensions.cs
diff --git a/PropsButBetter/PropsButBetter/Helpers/BoundsUtility.cs b/.Deprecated/PropsButBetter/PropsButBetter/Helpers/BoundsUtility.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/Helpers/BoundsUtility.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Helpers/BoundsUtility.cs
diff --git a/PropsButBetter/PropsButBetter/Helpers/PropHelper.cs b/.Deprecated/PropsButBetter/PropsButBetter/Helpers/PropHelper.cs
similarity index 99%
rename from PropsButBetter/PropsButBetter/Helpers/PropHelper.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Helpers/PropHelper.cs
index 1905506..c91d83f 100644
--- a/PropsButBetter/PropsButBetter/Helpers/PropHelper.cs
+++ b/.Deprecated/PropsButBetter/PropsButBetter/Helpers/PropHelper.cs
@@ -151,6 +151,7 @@ public static class PropHelper
for (int i = propsCount - 1; i >= 0; i--)
{
CVRSyncHelper.PropData prop = CVRSyncHelper.Props[i];
+ if (prop.IsSpawnedByAdmin()) continue;
if (!prop.IsSpawnedByMe()) prop.RecycleSafe();
}
@@ -169,6 +170,7 @@ public static class PropHelper
for (int i = propsCount - 1; i >= 0; i--)
{
CVRSyncHelper.PropData prop = CVRSyncHelper.Props[i];
+ if (prop.IsSpawnedByAdmin()) continue;
prop.RecycleSafe();
}
diff --git a/PropsButBetter/PropsButBetter/Helpers/RendererHelper.cs b/.Deprecated/PropsButBetter/PropsButBetter/Helpers/RendererHelper.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/Helpers/RendererHelper.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Helpers/RendererHelper.cs
diff --git a/PropsButBetter/PropsButBetter/Helpers/UILibHelper.cs b/.Deprecated/PropsButBetter/PropsButBetter/Helpers/UILibHelper.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/Helpers/UILibHelper.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/Helpers/UILibHelper.cs
diff --git a/PropsButBetter/PropsButBetter/PropDistanceHider.cs b/.Deprecated/PropsButBetter/PropsButBetter/PropDistanceHider.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/PropDistanceHider.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/PropDistanceHider.cs
diff --git a/PropsButBetter/PropsButBetter/QuickMenuPropList.cs b/.Deprecated/PropsButBetter/PropsButBetter/QuickMenuPropList.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/QuickMenuPropList.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/QuickMenuPropList.cs
diff --git a/PropsButBetter/PropsButBetter/QuickMenuPropSelect.cs b/.Deprecated/PropsButBetter/PropsButBetter/QuickMenuPropSelect.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/QuickMenuPropSelect.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/QuickMenuPropSelect.cs
diff --git a/PropsButBetter/PropsButBetter/UIElements/ContentDisplay.cs b/.Deprecated/PropsButBetter/PropsButBetter/UIElements/ContentDisplay.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/UIElements/ContentDisplay.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/UIElements/ContentDisplay.cs
diff --git a/PropsButBetter/PropsButBetter/UIElements/GlobalButton.cs b/.Deprecated/PropsButBetter/PropsButBetter/UIElements/GlobalButton.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/UIElements/GlobalButton.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/UIElements/GlobalButton.cs
diff --git a/PropsButBetter/PropsButBetter/UIElements/PropListEntry.cs b/.Deprecated/PropsButBetter/PropsButBetter/UIElements/PropListEntry.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/UIElements/PropListEntry.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/UIElements/PropListEntry.cs
diff --git a/PropsButBetter/PropsButBetter/UIElements/UndoRedoButtons.cs b/.Deprecated/PropsButBetter/PropsButBetter/UIElements/UndoRedoButtons.cs
similarity index 100%
rename from PropsButBetter/PropsButBetter/UIElements/UndoRedoButtons.cs
rename to .Deprecated/PropsButBetter/PropsButBetter/UIElements/UndoRedoButtons.cs
diff --git a/PropsButBetter/README.md b/.Deprecated/PropsButBetter/README.md
similarity index 100%
rename from PropsButBetter/README.md
rename to .Deprecated/PropsButBetter/README.md
diff --git a/PropUndoButton/SFX/sfx_deny.wav b/.Deprecated/PropsButBetter/Resources/SFX/sfx_deny.wav
similarity index 100%
rename from PropUndoButton/SFX/sfx_deny.wav
rename to .Deprecated/PropsButBetter/Resources/SFX/sfx_deny.wav
diff --git a/PropUndoButton/SFX/sfx_redo.wav b/.Deprecated/PropsButBetter/Resources/SFX/sfx_redo.wav
similarity index 100%
rename from PropUndoButton/SFX/sfx_redo.wav
rename to .Deprecated/PropsButBetter/Resources/SFX/sfx_redo.wav
diff --git a/PropUndoButton/SFX/sfx_spawn.wav b/.Deprecated/PropsButBetter/Resources/SFX/sfx_spawn.wav
similarity index 100%
rename from PropUndoButton/SFX/sfx_spawn.wav
rename to .Deprecated/PropsButBetter/Resources/SFX/sfx_spawn.wav
diff --git a/PropUndoButton/SFX/sfx_undo.wav b/.Deprecated/PropsButBetter/Resources/SFX/sfx_undo.wav
similarity index 100%
rename from PropUndoButton/SFX/sfx_undo.wav
rename to .Deprecated/PropsButBetter/Resources/SFX/sfx_undo.wav
diff --git a/PropUndoButton/SFX/sfx_warn.wav b/.Deprecated/PropsButBetter/Resources/SFX/sfx_warn.wav
similarity index 100%
rename from PropUndoButton/SFX/sfx_warn.wav
rename to .Deprecated/PropsButBetter/Resources/SFX/sfx_warn.wav
diff --git a/PropsButBetter/Resources/placeholder.png b/.Deprecated/PropsButBetter/Resources/placeholder.png
similarity index 100%
rename from PropsButBetter/Resources/placeholder.png
rename to .Deprecated/PropsButBetter/Resources/placeholder.png
diff --git a/PropsButBetter/Resources/redo.png b/.Deprecated/PropsButBetter/Resources/redo.png
similarity index 100%
rename from PropsButBetter/Resources/redo.png
rename to .Deprecated/PropsButBetter/Resources/redo.png
diff --git a/PropsButBetter/Resources/reload.png b/.Deprecated/PropsButBetter/Resources/reload.png
similarity index 100%
rename from PropsButBetter/Resources/reload.png
rename to .Deprecated/PropsButBetter/Resources/reload.png
diff --git a/PropsButBetter/Resources/remove.png b/.Deprecated/PropsButBetter/Resources/remove.png
similarity index 100%
rename from PropsButBetter/Resources/remove.png
rename to .Deprecated/PropsButBetter/Resources/remove.png
diff --git a/PropsButBetter/Resources/rubiks-cube-calender.png b/.Deprecated/PropsButBetter/Resources/rubiks-cube-calender.png
similarity index 100%
rename from PropsButBetter/Resources/rubiks-cube-calender.png
rename to .Deprecated/PropsButBetter/Resources/rubiks-cube-calender.png
diff --git a/PropsButBetter/Resources/rubiks-cube-clock.png b/.Deprecated/PropsButBetter/Resources/rubiks-cube-clock.png
similarity index 100%
rename from PropsButBetter/Resources/rubiks-cube-clock.png
rename to .Deprecated/PropsButBetter/Resources/rubiks-cube-clock.png
diff --git a/PropsButBetter/Resources/rubiks-cube-eye.png b/.Deprecated/PropsButBetter/Resources/rubiks-cube-eye.png
similarity index 100%
rename from PropsButBetter/Resources/rubiks-cube-eye.png
rename to .Deprecated/PropsButBetter/Resources/rubiks-cube-eye.png
diff --git a/PropsButBetter/Resources/rubiks-cube-star.png b/.Deprecated/PropsButBetter/Resources/rubiks-cube-star.png
similarity index 100%
rename from PropsButBetter/Resources/rubiks-cube-star.png
rename to .Deprecated/PropsButBetter/Resources/rubiks-cube-star.png
diff --git a/PropsButBetter/Resources/rubiks-cube.png b/.Deprecated/PropsButBetter/Resources/rubiks-cube.png
similarity index 100%
rename from PropsButBetter/Resources/rubiks-cube.png
rename to .Deprecated/PropsButBetter/Resources/rubiks-cube.png
diff --git a/PropsButBetter/Resources/select.png b/.Deprecated/PropsButBetter/Resources/select.png
similarity index 100%
rename from PropsButBetter/Resources/select.png
rename to .Deprecated/PropsButBetter/Resources/select.png
diff --git a/PropsButBetter/Resources/undo.png b/.Deprecated/PropsButBetter/Resources/undo.png
similarity index 100%
rename from PropsButBetter/Resources/undo.png
rename to .Deprecated/PropsButBetter/Resources/undo.png
diff --git a/PropsButBetter/Resources/wand.png b/.Deprecated/PropsButBetter/Resources/wand.png
similarity index 100%
rename from PropsButBetter/Resources/wand.png
rename to .Deprecated/PropsButBetter/Resources/wand.png
diff --git a/PropsButBetter/format.json b/.Deprecated/PropsButBetter/format.json
similarity index 100%
rename from PropsButBetter/format.json
rename to .Deprecated/PropsButBetter/format.json
diff --git a/Stickers/Integrations/BTKUI/UIAddon.Category.MiscOptions.cs b/.Deprecated/Stickers/Integrations/BTKUI/UIAddon.Category.MiscOptions.cs
similarity index 100%
rename from Stickers/Integrations/BTKUI/UIAddon.Category.MiscOptions.cs
rename to .Deprecated/Stickers/Integrations/BTKUI/UIAddon.Category.MiscOptions.cs
diff --git a/Stickers/Integrations/BTKUI/UIAddon.Category.StickersMod.cs b/.Deprecated/Stickers/Integrations/BTKUI/UIAddon.Category.StickersMod.cs
similarity index 100%
rename from Stickers/Integrations/BTKUI/UIAddon.Category.StickersMod.cs
rename to .Deprecated/Stickers/Integrations/BTKUI/UIAddon.Category.StickersMod.cs
diff --git a/Stickers/Integrations/BTKUI/UIAddon.Main.cs b/.Deprecated/Stickers/Integrations/BTKUI/UIAddon.Main.cs
similarity index 100%
rename from Stickers/Integrations/BTKUI/UIAddon.Main.cs
rename to .Deprecated/Stickers/Integrations/BTKUI/UIAddon.Main.cs
diff --git a/Stickers/Integrations/BTKUI/UIAddon.Page.PlayerOptions.cs b/.Deprecated/Stickers/Integrations/BTKUI/UIAddon.Page.PlayerOptions.cs
similarity index 100%
rename from Stickers/Integrations/BTKUI/UIAddon.Page.PlayerOptions.cs
rename to .Deprecated/Stickers/Integrations/BTKUI/UIAddon.Page.PlayerOptions.cs
diff --git a/Stickers/Integrations/BTKUI/UIAddon.Page.StickerSelect.cs b/.Deprecated/Stickers/Integrations/BTKUI/UIAddon.Page.StickerSelect.cs
similarity index 100%
rename from Stickers/Integrations/BTKUI/UIAddon.Page.StickerSelect.cs
rename to .Deprecated/Stickers/Integrations/BTKUI/UIAddon.Page.StickerSelect.cs
diff --git a/Stickers/Main.cs b/.Deprecated/Stickers/Main.cs
similarity index 100%
rename from Stickers/Main.cs
rename to .Deprecated/Stickers/Main.cs
diff --git a/Stickers/ModSettings.cs b/.Deprecated/Stickers/ModSettings.cs
similarity index 100%
rename from Stickers/ModSettings.cs
rename to .Deprecated/Stickers/ModSettings.cs
diff --git a/Stickers/Patches.cs b/.Deprecated/Stickers/Patches.cs
similarity index 100%
rename from Stickers/Patches.cs
rename to .Deprecated/Stickers/Patches.cs
diff --git a/Stickers/Properties/AssemblyInfo.cs b/.Deprecated/Stickers/Properties/AssemblyInfo.cs
similarity index 100%
rename from Stickers/Properties/AssemblyInfo.cs
rename to .Deprecated/Stickers/Properties/AssemblyInfo.cs
diff --git a/Stickers/README.md b/.Deprecated/Stickers/README.md
similarity index 93%
rename from Stickers/README.md
rename to .Deprecated/Stickers/README.md
index ae0f4ae..8fb53b8 100644
--- a/Stickers/README.md
+++ b/.Deprecated/Stickers/README.md
@@ -39,11 +39,11 @@ If you are looking for a similar open-source asset to generate decals at runtime
---
-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
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
-> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
> 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.
+> To the best of my knowledge, I have adhered to the Modding Guidelines established by ChilloutVR.
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-alphabet.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-alphabet.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-alphabet.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-alphabet.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-eraser.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-eraser.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-eraser.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-eraser.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-folder.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-folder.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-folder.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-folder.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-headset.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-headset.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-headset.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-headset.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand-broken.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand-broken.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand-broken.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand-broken.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magic-wand.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magnifying-glass.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magnifying-glass.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-magnifying-glass.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-magnifying-glass.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-mouse.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-mouse.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-mouse.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-mouse.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle-disabled.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle-disabled.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle-disabled.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle-disabled.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-puzzle.png
diff --git a/Stickers/Resources/Gohsantosadrive_Icons/Stickers-rubbish-bin.png b/.Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-rubbish-bin.png
similarity index 100%
rename from Stickers/Resources/Gohsantosadrive_Icons/Stickers-rubbish-bin.png
rename to .Deprecated/Stickers/Resources/Gohsantosadrive_Icons/Stickers-rubbish-bin.png
diff --git a/Stickers/Resources/decalery_shaders.assets b/.Deprecated/Stickers/Resources/decalery_shaders.assets
similarity index 100%
rename from Stickers/Resources/decalery_shaders.assets
rename to .Deprecated/Stickers/Resources/decalery_shaders.assets
diff --git a/Stickers/Stickers.csproj b/.Deprecated/Stickers/Stickers.csproj
similarity index 100%
rename from Stickers/Stickers.csproj
rename to .Deprecated/Stickers/Stickers.csproj
diff --git a/Stickers/Stickers/Enums/StickerKeyBinds.cs b/.Deprecated/Stickers/Stickers/Enums/StickerKeyBinds.cs
similarity index 100%
rename from Stickers/Stickers/Enums/StickerKeyBinds.cs
rename to .Deprecated/Stickers/Stickers/Enums/StickerKeyBinds.cs
diff --git a/Stickers/Stickers/Enums/StickerSFXType.cs b/.Deprecated/Stickers/Stickers/Enums/StickerSFXType.cs
similarity index 100%
rename from Stickers/Stickers/Enums/StickerSFXType.cs
rename to .Deprecated/Stickers/Stickers/Enums/StickerSFXType.cs
diff --git a/Stickers/Stickers/Enums/StickerSize.cs b/.Deprecated/Stickers/Stickers/Enums/StickerSize.cs
similarity index 100%
rename from Stickers/Stickers/Enums/StickerSize.cs
rename to .Deprecated/Stickers/Stickers/Enums/StickerSize.cs
diff --git a/Stickers/Stickers/Enums/StickerTabDoubleClick.cs b/.Deprecated/Stickers/Stickers/Enums/StickerTabDoubleClick.cs
similarity index 100%
rename from Stickers/Stickers/Enums/StickerTabDoubleClick.cs
rename to .Deprecated/Stickers/Stickers/Enums/StickerTabDoubleClick.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Constants.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Constants.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Constants.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Constants.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Enums.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Enums.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Enums.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Enums.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Events.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Events.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Events.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Events.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Helpers.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Helpers.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Helpers.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Helpers.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Inbound.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Inbound.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Inbound.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Inbound.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Logging.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Logging.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Logging.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Logging.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Main.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Main.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Main.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Main.cs
diff --git a/Stickers/Stickers/Networking/ModNetwork.Outbound.cs b/.Deprecated/Stickers/Stickers/Networking/ModNetwork.Outbound.cs
similarity index 100%
rename from Stickers/Stickers/Networking/ModNetwork.Outbound.cs
rename to .Deprecated/Stickers/Stickers/Networking/ModNetwork.Outbound.cs
diff --git a/Stickers/Stickers/StickerData.cs b/.Deprecated/Stickers/Stickers/StickerData.cs
similarity index 100%
rename from Stickers/Stickers/StickerData.cs
rename to .Deprecated/Stickers/Stickers/StickerData.cs
diff --git a/Stickers/Stickers/StickerSystem.ImageLoading.cs b/.Deprecated/Stickers/Stickers/StickerSystem.ImageLoading.cs
similarity index 100%
rename from Stickers/Stickers/StickerSystem.ImageLoading.cs
rename to .Deprecated/Stickers/Stickers/StickerSystem.ImageLoading.cs
diff --git a/Stickers/Stickers/StickerSystem.Main.cs b/.Deprecated/Stickers/Stickers/StickerSystem.Main.cs
similarity index 100%
rename from Stickers/Stickers/StickerSystem.Main.cs
rename to .Deprecated/Stickers/Stickers/StickerSystem.Main.cs
diff --git a/Stickers/Stickers/StickerSystem.PlayerCallbacks.cs b/.Deprecated/Stickers/Stickers/StickerSystem.PlayerCallbacks.cs
similarity index 100%
rename from Stickers/Stickers/StickerSystem.PlayerCallbacks.cs
rename to .Deprecated/Stickers/Stickers/StickerSystem.PlayerCallbacks.cs
diff --git a/Stickers/Stickers/StickerSystem.StickerLifecycle.cs b/.Deprecated/Stickers/Stickers/StickerSystem.StickerLifecycle.cs
similarity index 100%
rename from Stickers/Stickers/StickerSystem.StickerLifecycle.cs
rename to .Deprecated/Stickers/Stickers/StickerSystem.StickerLifecycle.cs
diff --git a/Stickers/Stickers/Utilities/ImageUtility.cs b/.Deprecated/Stickers/Stickers/Utilities/ImageUtility.cs
similarity index 100%
rename from Stickers/Stickers/Utilities/ImageUtility.cs
rename to .Deprecated/Stickers/Stickers/Utilities/ImageUtility.cs
diff --git a/Stickers/Stickers/Utilities/StickerCache.cs b/.Deprecated/Stickers/Stickers/Utilities/StickerCache.cs
similarity index 100%
rename from Stickers/Stickers/Utilities/StickerCache.cs
rename to .Deprecated/Stickers/Stickers/Utilities/StickerCache.cs
diff --git a/Stickers/format.json b/.Deprecated/Stickers/format.json
similarity index 100%
rename from Stickers/format.json
rename to .Deprecated/Stickers/format.json
diff --git a/.Deprecated/SuperAwesomeMod/README.md b/.Deprecated/SuperAwesomeMod/README.md
index 399e70a..5ed44c4 100644
--- a/.Deprecated/SuperAwesomeMod/README.md
+++ b/.Deprecated/SuperAwesomeMod/README.md
@@ -44,11 +44,11 @@ If your setup is theoretically supported but not working, it is likely the scali
---
-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
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
-> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
> 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.
+> To the best of my knowledge, I have adhered to the Modding Guidelines established by ChilloutVR.
diff --git a/.Deprecated/SuperAwesomeMod/SuperAwesomeMod.csproj b/.Deprecated/SuperAwesomeMod/SuperAwesomeMod.csproj
index e64907b..90cbafc 100644
--- a/.Deprecated/SuperAwesomeMod/SuperAwesomeMod.csproj
+++ b/.Deprecated/SuperAwesomeMod/SuperAwesomeMod.csproj
@@ -3,10 +3,4 @@
SuperAwesomeMod
-
-
- ..\.ManagedLibs\BTKUILib.dll
- False
-
-
diff --git a/ThirdPerson/CameraLogic.cs b/.Deprecated/ThirdPerson/CameraLogic.cs
similarity index 100%
rename from ThirdPerson/CameraLogic.cs
rename to .Deprecated/ThirdPerson/CameraLogic.cs
diff --git a/ThirdPerson/Patches.cs b/.Deprecated/ThirdPerson/Patches.cs
similarity index 100%
rename from ThirdPerson/Patches.cs
rename to .Deprecated/ThirdPerson/Patches.cs
diff --git a/ThirdPerson/Properties/AssemblyInfo.cs b/.Deprecated/ThirdPerson/Properties/AssemblyInfo.cs
similarity index 100%
rename from ThirdPerson/Properties/AssemblyInfo.cs
rename to .Deprecated/ThirdPerson/Properties/AssemblyInfo.cs
diff --git a/ThirdPerson/README.md b/.Deprecated/ThirdPerson/README.md
similarity index 100%
rename from ThirdPerson/README.md
rename to .Deprecated/ThirdPerson/README.md
diff --git a/ThirdPerson/ThirdPerson.cs b/.Deprecated/ThirdPerson/ThirdPerson.cs
similarity index 100%
rename from ThirdPerson/ThirdPerson.cs
rename to .Deprecated/ThirdPerson/ThirdPerson.cs
diff --git a/ThirdPerson/ThirdPerson.csproj b/.Deprecated/ThirdPerson/ThirdPerson.csproj
similarity index 100%
rename from ThirdPerson/ThirdPerson.csproj
rename to .Deprecated/ThirdPerson/ThirdPerson.csproj
diff --git a/ThirdPerson/format.json b/.Deprecated/ThirdPerson/format.json
similarity index 100%
rename from ThirdPerson/format.json
rename to .Deprecated/ThirdPerson/format.json
diff --git a/.Experimental/BullshitWatcher/BullshitWatcher.csproj b/.Experimental/BullshitWatcher/BullshitWatcher.csproj
new file mode 100644
index 0000000..fa113da
--- /dev/null
+++ b/.Experimental/BullshitWatcher/BullshitWatcher.csproj
@@ -0,0 +1,12 @@
+
+
+
+ ASTExtension
+
+
+
+ ..\.ManagedLibs\BTKUILib.dll
+ False
+
+
+
diff --git a/.Experimental/BullshitWatcher/Main.cs b/.Experimental/BullshitWatcher/Main.cs
new file mode 100644
index 0000000..1fe66f2
--- /dev/null
+++ b/.Experimental/BullshitWatcher/Main.cs
@@ -0,0 +1,457 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using ABI_RC.Core.Player;
+using HarmonyLib;
+using MelonLoader;
+using UnityEngine;
+using Object = UnityEngine.Object;
+
+namespace NAK.BullshitWatcher;
+
+public class BullshitWatcherMod : MelonMod
+{
+ private const float MaxAllowedValueTop = 3.402823E+7f;
+ private const float MaxAllowedValueBottom = -3.402823E+7f;
+ private const float MinAvatarHeight = 0.005f;
+
+ public override void OnInitializeMelon()
+ {
+ PatchSetterVector3(typeof(Transform), nameof(Transform.position));
+ PatchSetterVector3(typeof(Transform), nameof(Transform.localPosition));
+ PatchSetterVector3(typeof(Transform), nameof(Transform.localScale));
+ PatchSetterVector3(typeof(Transform), nameof(Transform.right));
+ PatchSetterVector3(typeof(Transform), nameof(Transform.up));
+ PatchSetterVector3(typeof(Transform), nameof(Transform.forward));
+ PatchSetterQuaternion(typeof(Transform), nameof(Transform.rotation));
+ PatchSetterQuaternion(typeof(Transform), nameof(Transform.localRotation));
+
+ PatchMethod(typeof(Transform), nameof(Transform.SetPositionAndRotation),
+ nameof(OnTransformSetPositionAndRotation),
+ typeof(Vector3), typeof(Quaternion));
+
+ PatchMethod(typeof(Transform), nameof(Transform.SetLocalPositionAndRotation),
+ nameof(OnTransformSetLocalPositionAndRotation),
+ typeof(Vector3), typeof(Quaternion));
+
+ PatchMethod(typeof(Transform), nameof(Transform.Translate),
+ nameof(OnTransformTranslateVector3Space),
+ typeof(Vector3), typeof(Space));
+
+ PatchMethod(typeof(Transform), nameof(Transform.Translate),
+ nameof(OnTransformTranslateVector3),
+ typeof(Vector3));
+
+ PatchMethod(typeof(Transform), nameof(Transform.Translate),
+ nameof(OnTransformTranslateVector3Transform),
+ typeof(Vector3), typeof(Transform));
+
+ PatchMethod(typeof(Transform), nameof(Transform.Rotate),
+ nameof(OnTransformRotateVector3Space),
+ typeof(Vector3), typeof(Space));
+
+ PatchMethod(typeof(Transform), nameof(Transform.Rotate),
+ nameof(OnTransformRotateVector3),
+ typeof(Vector3));
+
+ PatchMethod(typeof(Transform), nameof(Transform.Rotate),
+ nameof(OnTransformRotateAxisAngleSpace),
+ typeof(Vector3), typeof(float), typeof(Space));
+
+ PatchMethod(typeof(Transform), nameof(Transform.RotateAround),
+ nameof(OnTransformRotateAround),
+ typeof(Vector3), typeof(Vector3), typeof(float));
+
+ PatchMethod(typeof(Transform), nameof(Transform.LookAt),
+ nameof(OnTransformLookAt),
+ typeof(Vector3), typeof(Vector3));
+
+ PatchSetterVector3(typeof(Rigidbody), nameof(Rigidbody.position));
+ PatchSetterVector3(typeof(Rigidbody), nameof(Rigidbody.velocity));
+ PatchSetterVector3(typeof(Rigidbody), nameof(Rigidbody.angularVelocity));
+ PatchSetterVector3(typeof(Rigidbody), nameof(Rigidbody.centerOfMass));
+ PatchSetterQuaternion(typeof(Rigidbody), nameof(Rigidbody.rotation));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.MovePosition),
+ nameof(OnRigidbodyMovePosition),
+ typeof(Vector3));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.MoveRotation),
+ nameof(OnRigidbodyMoveRotation),
+ typeof(Quaternion));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.AddForce),
+ nameof(OnRigidbodyAddForce),
+ typeof(Vector3), typeof(ForceMode));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.AddRelativeForce),
+ nameof(OnRigidbodyAddRelativeForce),
+ typeof(Vector3), typeof(ForceMode));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.AddTorque),
+ nameof(OnRigidbodyAddTorque),
+ typeof(Vector3), typeof(ForceMode));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.AddRelativeTorque),
+ nameof(OnRigidbodyAddRelativeTorque),
+ typeof(Vector3), typeof(ForceMode));
+
+ PatchMethod(typeof(Rigidbody), nameof(Rigidbody.AddForceAtPosition),
+ nameof(OnRigidbodyAddForceAtPosition),
+ typeof(Vector3), typeof(Vector3), typeof(ForceMode));
+
+ PatchMethod(typeof(Object), nameof(Object.Instantiate),
+ nameof(OnInstantiatePositionRotation),
+ typeof(Object), typeof(Vector3), typeof(Quaternion));
+
+ PatchMethod(typeof(Object), nameof(Object.Instantiate),
+ nameof(OnInstantiatePositionRotationParent),
+ typeof(Object), typeof(Vector3), typeof(Quaternion), typeof(Transform));
+
+ PatchSetterAvatarHeight(typeof(PlayerSetup), nameof(PlayerSetup.AvatarHeight));
+ }
+
+ private void PatchSetterVector3(Type type, string propertyName)
+ => HarmonyInstance.Patch(
+ AccessTools.Property(type, propertyName).SetMethod,
+ new HarmonyMethod(GetPrefix(nameof(OnSetVector3))));
+
+ private void PatchSetterQuaternion(Type type, string propertyName)
+ => HarmonyInstance.Patch(
+ AccessTools.Property(type, propertyName).SetMethod,
+ new HarmonyMethod(GetPrefix(nameof(OnSetQuaternion))));
+
+ private void PatchSetterAvatarHeight(Type type, string propertyName)
+ => HarmonyInstance.Patch(
+ AccessTools.Property(type, propertyName).SetMethod,
+ new HarmonyMethod(GetPrefix(nameof(OnSetAvatarHeight))));
+
+ private void PatchMethod(Type type, string methodName, string prefixName, params Type[] parameterTypes)
+ => HarmonyInstance.Patch(
+ AccessTools.Method(type, methodName, parameterTypes),
+ new HarmonyMethod(GetPrefix(prefixName)));
+
+ private static MethodInfo GetPrefix(string name)
+ => typeof(BullshitWatcherMod).GetMethod(name, BindingFlags.NonPublic | BindingFlags.Static);
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static unsafe bool IsBullshit(float value)
+ => (((*(int*)&value) & int.MaxValue) >= 0x7F800000)
+ || value <= MaxAllowedValueBottom
+ || value >= MaxAllowedValueTop;
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static bool IsBullshit(Vector3 value)
+ => IsBullshit(value.x) || IsBullshit(value.y) || IsBullshit(value.z);
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static bool IsBullshit(Quaternion value)
+ => IsBullshit(value.x) || IsBullshit(value.y) || IsBullshit(value.z) || IsBullshit(value.w);
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static bool IsBullshit(Vector3 a, Vector3 b)
+ => IsBullshit(a.x) || IsBullshit(a.y) || IsBullshit(a.z)
+ || IsBullshit(b.x) || IsBullshit(b.y) || IsBullshit(b.z);
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static bool IsBullshit(Vector3 vector, Quaternion quaternion)
+ => IsBullshit(vector.x) || IsBullshit(vector.y) || IsBullshit(vector.z)
+ || IsBullshit(quaternion.x) || IsBullshit(quaternion.y) || IsBullshit(quaternion.z) || IsBullshit(quaternion.w);
+
+ // --- Sanitizers --------------------------------------------------------
+ // NaN -> 0 (NaN can't be clamped meaningfully).
+ // +/-Infinity and out-of-range finite values -> clamped to the allowed bound.
+ // A bullshit Quaternion -> identity, because zeroing it produces a degenerate
+ // (0,0,0,0) rotation that just turns back into NaN the moment Unity normalizes it.
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static float Sanitize(float value)
+ {
+ if (float.IsNaN(value))
+ return 0f;
+ if (value >= MaxAllowedValueTop) // also catches +Infinity
+ return MaxAllowedValueTop;
+ if (value <= MaxAllowedValueBottom) // also catches -Infinity
+ return MaxAllowedValueBottom;
+ return value;
+ }
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static Vector3 Sanitize(Vector3 value)
+ => new Vector3(Sanitize(value.x), Sanitize(value.y), Sanitize(value.z));
+
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ private static Quaternion Sanitize(Quaternion value)
+ => IsBullshit(value) ? Quaternion.identity : value;
+ // -----------------------------------------------------------------------
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static void LogBullshitValue(Component instance, MethodBase method, object value)
+ {
+ string member = method.Name.Replace("set_", "");
+ MelonLogger.Error($"Bullshit {instance.GetType().Name}.{member} = {value} on '{GetPath(instance.transform)}' (sanitized)");
+ MelonLogger.Error(Environment.StackTrace);
+ }
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static void LogBullshitArgs1(Component instance, MethodBase method, object arg0)
+ {
+ MelonLogger.Error($"Bullshit args in {instance.GetType().Name}.{method.Name}() on '{GetPath(instance.transform)}' (sanitized)");
+ MelonLogger.Error($" arg0: {arg0}");
+ MelonLogger.Error(Environment.StackTrace);
+ }
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static void LogBullshitArgs2(Component instance, MethodBase method, object arg0, object arg1)
+ {
+ MelonLogger.Error($"Bullshit args in {instance.GetType().Name}.{method.Name}() on '{GetPath(instance.transform)}' (sanitized)");
+ MelonLogger.Error($" arg0: {arg0}");
+ MelonLogger.Error($" arg1: {arg1}");
+ MelonLogger.Error(Environment.StackTrace);
+ }
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static void LogBullshitArgs3(Component instance, MethodBase method, object arg0, object arg1, object arg2)
+ {
+ MelonLogger.Error($"Bullshit args in {instance.GetType().Name}.{method.Name}() on '{GetPath(instance.transform)}' (sanitized)");
+ MelonLogger.Error($" arg0: {arg0}");
+ MelonLogger.Error($" arg1: {arg1}");
+ MelonLogger.Error($" arg2: {arg2}");
+ MelonLogger.Error(Environment.StackTrace);
+ }
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static void LogBullshitInstantiate(MethodBase method, Object original, Vector3 position, Quaternion rotation, Transform parent)
+ {
+ string originalName = original != null ? original.name : "null";
+ string parentPath = parent != null ? GetPath(parent) : "";
+
+ MelonLogger.Error($"Bullshit args in Object.{method.Name}() original='{originalName}' parent='{parentPath}' (sanitized)");
+ MelonLogger.Error($" position: {position}");
+ MelonLogger.Error($" rotation: {rotation}");
+ MelonLogger.Error(Environment.StackTrace);
+ }
+
+ private static void OnSetVector3(ref Vector3 value, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(value))
+ return;
+
+ LogBullshitValue(__instance, __originalMethod, value);
+ value = Sanitize(value);
+ }
+
+ private static void OnSetQuaternion(ref Quaternion value, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(value))
+ return;
+
+ LogBullshitValue(__instance, __originalMethod, value);
+ value = Sanitize(value);
+ }
+
+ private static void OnSetAvatarHeight(ref float value, Component __instance, MethodBase __originalMethod)
+ {
+ float clamped;
+ if (float.IsNaN(value) || value < MinAvatarHeight) // also catches 0, negatives, -Infinity
+ clamped = MinAvatarHeight;
+ else if (value > MaxAllowedValueTop) // also catches +Infinity
+ clamped = MaxAllowedValueTop;
+ else
+ return; // height is fine, leave it alone
+
+ LogBullshitValue(__instance, __originalMethod, value);
+ value = clamped;
+ }
+
+ private static void OnTransformSetPositionAndRotation(ref Vector3 position, ref Quaternion rotation, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(position, rotation))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, position, rotation);
+ position = Sanitize(position);
+ rotation = Sanitize(rotation);
+ }
+
+ private static void OnTransformSetLocalPositionAndRotation(ref Vector3 localPosition, ref Quaternion localRotation, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(localPosition, localRotation))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, localPosition, localRotation);
+ localPosition = Sanitize(localPosition);
+ localRotation = Sanitize(localRotation);
+ }
+
+ private static void OnTransformTranslateVector3Space(ref Vector3 translation, Space relativeTo, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(translation))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, translation, relativeTo);
+ translation = Sanitize(translation);
+ }
+
+ private static void OnTransformTranslateVector3(ref Vector3 translation, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(translation))
+ return;
+
+ LogBullshitArgs1(__instance, __originalMethod, translation);
+ translation = Sanitize(translation);
+ }
+
+ private static void OnTransformTranslateVector3Transform(ref Vector3 translation, Transform relativeTo, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(translation))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, translation, relativeTo);
+ translation = Sanitize(translation);
+ }
+
+ private static void OnTransformRotateVector3Space(ref Vector3 eulers, Space relativeTo, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(eulers))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, eulers, relativeTo);
+ eulers = Sanitize(eulers);
+ }
+
+ private static void OnTransformRotateVector3(ref Vector3 eulers, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(eulers))
+ return;
+
+ LogBullshitArgs1(__instance, __originalMethod, eulers);
+ eulers = Sanitize(eulers);
+ }
+
+ private static void OnTransformRotateAxisAngleSpace(ref Vector3 axis, ref float angle, Space relativeTo, Component __instance, MethodBase __originalMethod)
+ {
+ if (!(IsBullshit(axis) || IsBullshit(angle)))
+ return;
+
+ LogBullshitArgs3(__instance, __originalMethod, axis, angle, relativeTo);
+ axis = Sanitize(axis);
+ angle = Sanitize(angle);
+ }
+
+ private static void OnTransformRotateAround(ref Vector3 point, ref Vector3 axis, ref float angle, Component __instance, MethodBase __originalMethod)
+ {
+ if (!(IsBullshit(point, axis) || IsBullshit(angle)))
+ return;
+
+ LogBullshitArgs3(__instance, __originalMethod, point, axis, angle);
+ point = Sanitize(point);
+ axis = Sanitize(axis);
+ angle = Sanitize(angle);
+ }
+
+ private static void OnTransformLookAt(ref Vector3 worldPosition, ref Vector3 worldUp, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(worldPosition, worldUp))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, worldPosition, worldUp);
+ worldPosition = Sanitize(worldPosition);
+ // worldUp must stay a usable direction; a zeroed up vector makes LookAt produce garbage.
+ worldUp = Sanitize(worldUp);
+ if (worldUp == Vector3.zero)
+ worldUp = Vector3.up;
+ }
+
+ private static void OnRigidbodyMovePosition(ref Vector3 position, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(position))
+ return;
+
+ LogBullshitArgs1(__instance, __originalMethod, position);
+ position = Sanitize(position);
+ }
+
+ private static void OnRigidbodyMoveRotation(ref Quaternion rot, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(rot))
+ return;
+
+ LogBullshitArgs1(__instance, __originalMethod, rot);
+ rot = Sanitize(rot);
+ }
+
+ private static void OnRigidbodyAddForce(ref Vector3 force, ForceMode mode, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(force))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, force, mode);
+ force = Sanitize(force);
+ }
+
+ private static void OnRigidbodyAddRelativeForce(ref Vector3 force, ForceMode mode, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(force))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, force, mode);
+ force = Sanitize(force);
+ }
+
+ private static void OnRigidbodyAddTorque(ref Vector3 torque, ForceMode mode, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(torque))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, torque, mode);
+ torque = Sanitize(torque);
+ }
+
+ private static void OnRigidbodyAddRelativeTorque(ref Vector3 torque, ForceMode mode, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(torque))
+ return;
+
+ LogBullshitArgs2(__instance, __originalMethod, torque, mode);
+ torque = Sanitize(torque);
+ }
+
+ private static void OnRigidbodyAddForceAtPosition(ref Vector3 force, ref Vector3 position, ForceMode mode, Component __instance, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(force, position))
+ return;
+
+ LogBullshitArgs3(__instance, __originalMethod, force, position, mode);
+ force = Sanitize(force);
+ position = Sanitize(position);
+ }
+
+ private static void OnInstantiatePositionRotation(Object original, ref Vector3 position, ref Quaternion rotation, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(position, rotation))
+ return;
+
+ LogBullshitInstantiate(__originalMethod, original, position, rotation, null);
+ position = Sanitize(position);
+ rotation = Sanitize(rotation);
+ }
+
+ private static void OnInstantiatePositionRotationParent(Object original, ref Vector3 position, ref Quaternion rotation, Transform parent, MethodBase __originalMethod)
+ {
+ if (!IsBullshit(position, rotation))
+ return;
+
+ LogBullshitInstantiate(__originalMethod, original, position, rotation, parent);
+ position = Sanitize(position);
+ rotation = Sanitize(rotation);
+ }
+
+ [MethodImpl(MethodImplOptions.NoInlining)]
+ private static string GetPath(Transform current)
+ {
+ string path = current.name;
+ for (Transform parent = current.parent; parent != null; parent = parent.parent)
+ path = parent.name + "/" + path;
+ return path;
+ }
+}
\ No newline at end of file
diff --git a/.Experimental/BullshitWatcher/Properties/AssemblyInfo.cs b/.Experimental/BullshitWatcher/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..ee1bd3e
--- /dev/null
+++ b/.Experimental/BullshitWatcher/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+using MelonLoader;
+using NAK.BullshitWatcher.Properties;
+using System.Reflection;
+
+[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyTitle(nameof(NAK.BullshitWatcher))]
+[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
+[assembly: AssemblyProduct(nameof(NAK.BullshitWatcher))]
+
+[assembly: MelonInfo(
+ typeof(NAK.BullshitWatcher.BullshitWatcherMod),
+ nameof(NAK.BullshitWatcher),
+ AssemblyInfoParams.Version,
+ AssemblyInfoParams.Author,
+ downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/BullshitWatcher"
+)]
+
+[assembly: MelonGame("ChilloutVR", "ChilloutVR")]
+[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
+[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
+[assembly: MelonColor(255, 246, 25, 99)] // red-pink
+[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
+[assembly: HarmonyDontPatchAll]
+
+namespace NAK.BullshitWatcher.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/.Experimental/BullshitWatcher/README.md b/.Experimental/BullshitWatcher/README.md
new file mode 100644
index 0000000..399e70a
--- /dev/null
+++ b/.Experimental/BullshitWatcher/README.md
@@ -0,0 +1,54 @@
+# ASTExtension
+
+Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):
+- VR Gesture to scale
+- Persistent height
+- Copy height from others
+
+Best used with Avatar Scale Tool, but will attempt to work with found scaling setups.
+Requires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.
+
+## Supported Setups
+
+ASTExtension will attempt to work with the following setups:
+
+**Parameter Names:**
+- AvatarScale
+- Scale
+- Scaler
+- Scale/Scale
+- Height
+- LoliModifier
+- AvatarSize
+- Size
+- SizeScale
+- Scaling
+
+These parameter names are not case sensitive and have been gathered from polling the community for common parameter names.
+
+Assuming the parameter is a float, ASTExtension will attempt to use it as the height parameter. Will automatically calibrate to the height range of the found parameter, assuming the scaling animation is in a blend tree / state using motion time & is linear. The scaling animation state **must be active** at time of avatar load.
+
+The max value ASTExtension will drive the parameter to is 100. As the mod is having to guess the max height, it may not be accurate if the max height is not capped at a multiple of 10.
+
+Examples:
+- `AvatarScale` - 0 to 1 (slider)
+ - This is the default setup for Avatar Scale Tool and will work perfectly.
+- `Scale` - 0 to 100 (input single)
+ - This will also work perfectly as the max height is a multiple of 10.
+- `Height` - 0 to 2 (input single)
+ - This will not work properly. The max value to drive the parameter to is not a multiple of 10, and as such ASTExtension will believe the parameter range is 0 to 1.
+- `BurntToast` - 0 to 10 (input single)
+ - This will not work properly. The parameter name is not recognized by ASTExtension.
+
+If your setup is theoretically supported but not working, it is likely the scaling animation is not linear or has loop enabled if using Motion Time, making the first and last frame identical height. In this case, you will need to fix your animation clip curves / blend tree to be linear &|| not loop, or use Avatar Scale Tool to generate a new scaling animation.
+
+---
+
+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/.Experimental/BullshitWatcher/format.json b/.Experimental/BullshitWatcher/format.json
new file mode 100644
index 0000000..390aeac
--- /dev/null
+++ b/.Experimental/BullshitWatcher/format.json
@@ -0,0 +1,24 @@
+{
+ "_id": 223,
+ "name": "ASTExtension",
+ "modversion": "1.0.5",
+ "gameversion": "2025r181",
+ "loaderversion": "0.7.2",
+ "modtype": "Mod",
+ "author": "NotAKidoS",
+ "description": "Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):\n- VR Gesture to scale\n- Persistent height\n- Copy height from others\n\nBest used with Avatar Scale Tool, but will attempt to work with found scaling setups.\nRequires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.",
+ "searchtags": [
+ "tool",
+ "scaling",
+ "height",
+ "extension",
+ "avatar"
+ ],
+ "requirements": [
+ "BTKUILib"
+ ],
+ "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r48/ASTExtension.dll",
+ "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/ASTExtension/",
+ "changelog": "- Rebuilt for CVR 2025r181",
+ "embedcolor": "#f61963"
+}
\ No newline at end of file
diff --git a/.Experimental/FeedbackDotChilloutVRDotNet/FeedbackDotChilloutVRDotNet.csproj b/.Experimental/FeedbackDotChilloutVRDotNet/FeedbackDotChilloutVRDotNet.csproj
new file mode 100644
index 0000000..78195e6
--- /dev/null
+++ b/.Experimental/FeedbackDotChilloutVRDotNet/FeedbackDotChilloutVRDotNet.csproj
@@ -0,0 +1,6 @@
+
+
+
+ ASTExtension
+
+
diff --git a/.Experimental/FeedbackDotChilloutVRDotNet/Main.cs b/.Experimental/FeedbackDotChilloutVRDotNet/Main.cs
new file mode 100644
index 0000000..50f090a
--- /dev/null
+++ b/.Experimental/FeedbackDotChilloutVRDotNet/Main.cs
@@ -0,0 +1,110 @@
+using ABI_RC.Core.Player;
+using ABI_RC.Systems.ChatBox;
+using ABI_RC.Systems.UI.UILib;
+using ABI_RC.Systems.UI.UILib.UIObjects;
+using ABI_RC.Systems.UI.UILib.UIObjects.Components;
+using MelonLoader;
+
+namespace NAK.FeedbackDotChilloutVRDotNet;
+
+public class FeedbackDotChilloutVRDotNetMod : MelonMod
+{
+ private static MelonPreferences_Category _prefs;
+ private static MelonPreferences_Entry _autoReact;
+
+ public override void OnInitializeMelon()
+ {
+ // Emails:
+ // Moderation Reports moderation@chilloutvr.net
+ // Legal legal@chilloutvr.net
+ // Team (general feedback, bug reports) team@chilloutvr.net
+
+ // Websites:
+ // Feedback (Issue Tracker) feedback.chilloutvr.net
+ // Docs docs.chilloutvr.net
+ // Hub hub.chilloutvr.net
+ // Discord discord.gg/chilloutvr
+
+ // Quick Messages:
+ // I am not moderation. You will need to reach out to moderation@chilloutvr.net.
+
+ // Auto React (goofy, behind toggle):
+ // issue, bug -> feedback site
+ // nak fix, @NotAKid fix, @NotAKidoS fix, pls fix, go fix -> no
+
+ _prefs = MelonPreferences.CreateCategory(nameof(FeedbackDotChilloutVRDotNetMod));
+ _autoReact = _prefs.CreateEntry("AutoReact", false, "Auto React",
+ "Automatically reply to messages containing certain keywords (goofy).");
+
+ SetupMenu();
+ SetupAutoReact();
+ }
+
+ private static void SetupMenu()
+ {
+ Category category = QuickMenuAPI.MiscTabPage.AddCategory("Quick ChatBox Messages", true, true);
+ category.ChildIndex = 0;
+
+ // Websites
+ AddMessageButton(category, "Feedback", "feedback.chilloutvr.net");
+ AddMessageButton(category, "Docs", "docs.chilloutvr.net");
+ AddMessageButton(category, "Hub", "hub.chilloutvr.net");
+ AddMessageButton(category, "Discord", "discord.gg/chilloutvr");
+
+ // Emails
+ AddMessageButton(category, "Moderation", "moderation@chilloutvr.net");
+ AddMessageButton(category, "Legal", "legal@chilloutvr.net");
+ AddMessageButton(category, "Team", "team@chilloutvr.net");
+
+ // Canned responses
+ AddMessageButton(category, "Not Moderation",
+ "I am not moderation. You will need to reach out to moderation@chilloutvr.net.");
+
+ // Toggle for the goofy auto-react interceptor
+ ToggleButton autoReactToggle = category.AddToggle("Auto React",
+ "Automatically reply to messages with certain keywords (goofy).",
+ _autoReact.Value);
+ autoReactToggle.OnValueUpdated += b => _autoReact.Value = b;
+ }
+
+ private static Button AddMessageButton(Category category, string name, string message)
+ {
+ Button button = category.AddButton(name, string.Empty, message, ButtonStyle.TextOnly);
+ button.OnPress += () => ChatBoxAPI.SendMessage(message, true, true, false);
+ return button;
+ }
+
+ private static readonly ChatBoxAPI.InterceptorResult _emptyCauseCantReturnNull = new(false, false);
+
+ private static void SetupAutoReact()
+ {
+ ChatBoxAPI.AddReceivingInterceptor(message =>
+ {
+ if (_autoReact.Value)
+ {
+ string text = message.Message;
+ string username = CVRPlayerManager.Instance.TryGetPlayerName(message.SenderGuid);
+
+ // Order matters: catch the "fix" demands before the generic feedback keywords.
+ if (ContainsAny(text, "nak fix", "@NotAKid fix", "@NotAKidoS fix", "pls fix", "go fix"))
+ ChatBoxAPI.SendMessage($"@{username} no", true, true, false);
+ else if (ContainsAny(text, "issue", "bug", "feedback"))
+ ChatBoxAPI.SendMessage($"@{username} feedback.chilloutvr.net", true, true, false);
+
+ // game broke -> remove mods, find player.log
+
+ }
+ return _emptyCauseCantReturnNull;
+ });
+ }
+
+ private static bool ContainsAny(string source, params string[] values)
+ {
+ foreach (string value in values)
+ {
+ if (source.Contains(value, StringComparison.InvariantCultureIgnoreCase))
+ return true;
+ }
+ return false;
+ }
+}
\ No newline at end of file
diff --git a/.Experimental/FeedbackDotChilloutVRDotNet/Properties/AssemblyInfo.cs b/.Experimental/FeedbackDotChilloutVRDotNet/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..8cea620
--- /dev/null
+++ b/.Experimental/FeedbackDotChilloutVRDotNet/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+using MelonLoader;
+using NAK.FeedbackDotChilloutVRDotNet.Properties;
+using System.Reflection;
+
+[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyTitle(nameof(NAK.FeedbackDotChilloutVRDotNet))]
+[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
+[assembly: AssemblyProduct(nameof(NAK.FeedbackDotChilloutVRDotNet))]
+
+[assembly: MelonInfo(
+ typeof(NAK.FeedbackDotChilloutVRDotNet.FeedbackDotChilloutVRDotNetMod),
+ nameof(NAK.FeedbackDotChilloutVRDotNet),
+ AssemblyInfoParams.Version,
+ AssemblyInfoParams.Author,
+ downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/FeedbackDotChilloutVRDotNet"
+)]
+
+[assembly: MelonGame("ChilloutVR", "ChilloutVR")]
+[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
+[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
+[assembly: MelonColor(255, 246, 25, 99)] // red-pink
+[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
+[assembly: HarmonyDontPatchAll]
+
+namespace NAK.FeedbackDotChilloutVRDotNet.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/.Experimental/FeedbackDotChilloutVRDotNet/README.md b/.Experimental/FeedbackDotChilloutVRDotNet/README.md
new file mode 100644
index 0000000..399e70a
--- /dev/null
+++ b/.Experimental/FeedbackDotChilloutVRDotNet/README.md
@@ -0,0 +1,54 @@
+# ASTExtension
+
+Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):
+- VR Gesture to scale
+- Persistent height
+- Copy height from others
+
+Best used with Avatar Scale Tool, but will attempt to work with found scaling setups.
+Requires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.
+
+## Supported Setups
+
+ASTExtension will attempt to work with the following setups:
+
+**Parameter Names:**
+- AvatarScale
+- Scale
+- Scaler
+- Scale/Scale
+- Height
+- LoliModifier
+- AvatarSize
+- Size
+- SizeScale
+- Scaling
+
+These parameter names are not case sensitive and have been gathered from polling the community for common parameter names.
+
+Assuming the parameter is a float, ASTExtension will attempt to use it as the height parameter. Will automatically calibrate to the height range of the found parameter, assuming the scaling animation is in a blend tree / state using motion time & is linear. The scaling animation state **must be active** at time of avatar load.
+
+The max value ASTExtension will drive the parameter to is 100. As the mod is having to guess the max height, it may not be accurate if the max height is not capped at a multiple of 10.
+
+Examples:
+- `AvatarScale` - 0 to 1 (slider)
+ - This is the default setup for Avatar Scale Tool and will work perfectly.
+- `Scale` - 0 to 100 (input single)
+ - This will also work perfectly as the max height is a multiple of 10.
+- `Height` - 0 to 2 (input single)
+ - This will not work properly. The max value to drive the parameter to is not a multiple of 10, and as such ASTExtension will believe the parameter range is 0 to 1.
+- `BurntToast` - 0 to 10 (input single)
+ - This will not work properly. The parameter name is not recognized by ASTExtension.
+
+If your setup is theoretically supported but not working, it is likely the scaling animation is not linear or has loop enabled if using Motion Time, making the first and last frame identical height. In this case, you will need to fix your animation clip curves / blend tree to be linear &|| not loop, or use Avatar Scale Tool to generate a new scaling animation.
+
+---
+
+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/.Experimental/FeedbackDotChilloutVRDotNet/format.json b/.Experimental/FeedbackDotChilloutVRDotNet/format.json
new file mode 100644
index 0000000..390aeac
--- /dev/null
+++ b/.Experimental/FeedbackDotChilloutVRDotNet/format.json
@@ -0,0 +1,24 @@
+{
+ "_id": 223,
+ "name": "ASTExtension",
+ "modversion": "1.0.5",
+ "gameversion": "2025r181",
+ "loaderversion": "0.7.2",
+ "modtype": "Mod",
+ "author": "NotAKidoS",
+ "description": "Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):\n- VR Gesture to scale\n- Persistent height\n- Copy height from others\n\nBest used with Avatar Scale Tool, but will attempt to work with found scaling setups.\nRequires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.",
+ "searchtags": [
+ "tool",
+ "scaling",
+ "height",
+ "extension",
+ "avatar"
+ ],
+ "requirements": [
+ "BTKUILib"
+ ],
+ "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r48/ASTExtension.dll",
+ "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/ASTExtension/",
+ "changelog": "- Rebuilt for CVR 2025r181",
+ "embedcolor": "#f61963"
+}
\ No newline at end of file
diff --git a/.Experimental/FuckDebugConsole/FuckDebugConsole.csproj b/.Experimental/FuckDebugConsole/FuckDebugConsole.csproj
new file mode 100644
index 0000000..78195e6
--- /dev/null
+++ b/.Experimental/FuckDebugConsole/FuckDebugConsole.csproj
@@ -0,0 +1,6 @@
+
+
+
+ ASTExtension
+
+
diff --git a/.Experimental/FuckDebugConsole/Main.cs b/.Experimental/FuckDebugConsole/Main.cs
new file mode 100644
index 0000000..b9257de
--- /dev/null
+++ b/.Experimental/FuckDebugConsole/Main.cs
@@ -0,0 +1,23 @@
+using MelonLoader;
+using UnityEngine;
+
+namespace NAK.FuckDebugConsole;
+
+public class FuckDebugConsoleMod : MelonMod
+{
+ private static readonly MelonPreferences_Category Category =
+ MelonPreferences.CreateCategory(nameof(FuckDebugConsole));
+
+ internal static readonly MelonPreferences_Entry EntryEnableDebugConsole =
+ Category.CreateEntry("enable_debug_console", false,
+ "Enable Debug Console", description: "Whether to use the debug console at all.");
+
+ public override void OnInitializeMelon()
+ {
+ Debug.developerConsoleEnabled = EntryEnableDebugConsole.Value;
+ EntryEnableDebugConsole.OnEntryValueChanged.Subscribe((oldValue, newValue) =>
+ {
+ Debug.developerConsoleEnabled = newValue;
+ });
+ }
+}
\ No newline at end of file
diff --git a/.Experimental/FuckDebugConsole/Properties/AssemblyInfo.cs b/.Experimental/FuckDebugConsole/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..04bbea6
--- /dev/null
+++ b/.Experimental/FuckDebugConsole/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+using MelonLoader;
+using NAK.FuckDebugConsole.Properties;
+using System.Reflection;
+
+[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
+[assembly: AssemblyTitle(nameof(NAK.FuckDebugConsole))]
+[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
+[assembly: AssemblyProduct(nameof(NAK.FuckDebugConsole))]
+
+[assembly: MelonInfo(
+ typeof(NAK.FuckDebugConsole.FuckDebugConsoleMod),
+ nameof(NAK.FuckDebugConsole),
+ AssemblyInfoParams.Version,
+ AssemblyInfoParams.Author,
+ downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/FuckDebugConsole"
+)]
+
+[assembly: MelonGame("ChilloutVR", "ChilloutVR")]
+[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
+[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
+[assembly: MelonColor(255, 246, 25, 99)] // red-pink
+[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
+[assembly: HarmonyDontPatchAll]
+
+namespace NAK.FuckDebugConsole.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/.Experimental/FuckDebugConsole/README.md b/.Experimental/FuckDebugConsole/README.md
new file mode 100644
index 0000000..399e70a
--- /dev/null
+++ b/.Experimental/FuckDebugConsole/README.md
@@ -0,0 +1,54 @@
+# ASTExtension
+
+Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):
+- VR Gesture to scale
+- Persistent height
+- Copy height from others
+
+Best used with Avatar Scale Tool, but will attempt to work with found scaling setups.
+Requires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.
+
+## Supported Setups
+
+ASTExtension will attempt to work with the following setups:
+
+**Parameter Names:**
+- AvatarScale
+- Scale
+- Scaler
+- Scale/Scale
+- Height
+- LoliModifier
+- AvatarSize
+- Size
+- SizeScale
+- Scaling
+
+These parameter names are not case sensitive and have been gathered from polling the community for common parameter names.
+
+Assuming the parameter is a float, ASTExtension will attempt to use it as the height parameter. Will automatically calibrate to the height range of the found parameter, assuming the scaling animation is in a blend tree / state using motion time & is linear. The scaling animation state **must be active** at time of avatar load.
+
+The max value ASTExtension will drive the parameter to is 100. As the mod is having to guess the max height, it may not be accurate if the max height is not capped at a multiple of 10.
+
+Examples:
+- `AvatarScale` - 0 to 1 (slider)
+ - This is the default setup for Avatar Scale Tool and will work perfectly.
+- `Scale` - 0 to 100 (input single)
+ - This will also work perfectly as the max height is a multiple of 10.
+- `Height` - 0 to 2 (input single)
+ - This will not work properly. The max value to drive the parameter to is not a multiple of 10, and as such ASTExtension will believe the parameter range is 0 to 1.
+- `BurntToast` - 0 to 10 (input single)
+ - This will not work properly. The parameter name is not recognized by ASTExtension.
+
+If your setup is theoretically supported but not working, it is likely the scaling animation is not linear or has loop enabled if using Motion Time, making the first and last frame identical height. In this case, you will need to fix your animation clip curves / blend tree to be linear &|| not loop, or use Avatar Scale Tool to generate a new scaling animation.
+
+---
+
+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/.Experimental/FuckDebugConsole/format.json b/.Experimental/FuckDebugConsole/format.json
new file mode 100644
index 0000000..390aeac
--- /dev/null
+++ b/.Experimental/FuckDebugConsole/format.json
@@ -0,0 +1,24 @@
+{
+ "_id": 223,
+ "name": "ASTExtension",
+ "modversion": "1.0.5",
+ "gameversion": "2025r181",
+ "loaderversion": "0.7.2",
+ "modtype": "Mod",
+ "author": "NotAKidoS",
+ "description": "Extension mod for [Avatar Scale Tool](https://github.com/NotAKidoS/AvatarScaleTool):\n- VR Gesture to scale\n- Persistent height\n- Copy height from others\n\nBest used with Avatar Scale Tool, but will attempt to work with found scaling setups.\nRequires already having Avatar Scaling on the avatar. This is **not** Universal Scaling.",
+ "searchtags": [
+ "tool",
+ "scaling",
+ "height",
+ "extension",
+ "avatar"
+ ],
+ "requirements": [
+ "BTKUILib"
+ ],
+ "downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r48/ASTExtension.dll",
+ "sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/ASTExtension/",
+ "changelog": "- Rebuilt for CVR 2025r181",
+ "embedcolor": "#f61963"
+}
\ No newline at end of file
diff --git a/.Experimental/LuaNetworkVariables/README.md b/.Experimental/LuaNetworkVariables/README.md
index 5ad6ee2..4fc40ea 100644
--- a/.Experimental/LuaNetworkVariables/README.md
+++ b/.Experimental/LuaNetworkVariables/README.md
@@ -75,11 +75,11 @@ end
---
-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
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
-> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
> 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.
+> To the best of my knowledge, I have adhered to the Modding Guidelines established by ChilloutVR.
diff --git a/.Experimental/OriginShift/OriginShift.csproj b/.Experimental/OriginShift/OriginShift.csproj
index d65c89e..5fc1ec8 100644
--- a/.Experimental/OriginShift/OriginShift.csproj
+++ b/.Experimental/OriginShift/OriginShift.csproj
@@ -1,16 +1,11 @@
-
- ..\.ManagedLibs\BTKUILib.dll
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/.Experimental/OriginShift/README.md b/.Experimental/OriginShift/README.md
index 35bb285..7ac709e 100644
--- a/.Experimental/OriginShift/README.md
+++ b/.Experimental/OriginShift/README.md
@@ -42,11 +42,11 @@ The provided receiver components are automatically added to Props, Players, and
---
-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
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
-> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
> 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.
+> To the best of my knowledge, I have adhered to the Modding Guidelines established by ChilloutVR.
diff --git a/ASTExtension/ASTExtension.csproj b/ASTExtension/ASTExtension.csproj
index 6bbefe0..0f491d4 100644
--- a/ASTExtension/ASTExtension.csproj
+++ b/ASTExtension/ASTExtension.csproj
@@ -1,15 +1,9 @@
-
- ASTExtension
-
-
-
- ..\.ManagedLibs\BTKUILib.dll
- False
-
-
+
+
+
diff --git a/ASTExtension/Integrations/BTKUI/BtkUiAddon.cs b/ASTExtension/Integrations/BTKUI/BtkUiAddon.cs
index e075e88..859f703 100644
--- a/ASTExtension/Integrations/BTKUI/BtkUiAddon.cs
+++ b/ASTExtension/Integrations/BTKUI/BtkUiAddon.cs
@@ -1,8 +1,8 @@
using ABI_RC.Core.Player;
using ABI_RC.Core.Util.AnimatorManager;
-using BTKUILib;
-using BTKUILib.UIObjects;
-using BTKUILib.UIObjects.Components;
+using ABI_RC.Systems.UI.UILib;
+using ABI_RC.Systems.UI.UILib.UIObjects;
+using ABI_RC.Systems.UI.UILib.UIObjects.Components;
using UnityEngine;
namespace NAK.ASTExtension.Integrations;
@@ -11,15 +11,15 @@ public static partial class BtkUiAddon
{
public static void Initialize()
{
- Prepare_Icons();
- Setup_PlayerSelectPage();
- }
+ Prepare_Icons();
+ Setup_PlayerSelectPage();
+ }
private static void Prepare_Icons()
{
- QuickMenuAPI.PrepareIcon(ASTExtensionMod.ModName, "ASM_Icon_AvatarHeightCopy",
- GetIconStream("ASM_Icon_AvatarHeightCopy.png"));
- }
+ QuickMenuAPI.PrepareIcon(ASTExtensionMod.ModName, "ASM_Icon_AvatarHeightCopy", GetIconStream("ASM_Icon_AvatarHeightCopy.png"));
+ QuickMenuAPI.PrepareIcon(ASTExtensionMod.ModName, "CopyAvatarAASAlt", GetIconStream("CopyAvatarAASAlt.png"));
+ }
#region Player Select Page
@@ -27,20 +27,20 @@ public static partial class BtkUiAddon
private static void Setup_PlayerSelectPage()
{
- QuickMenuAPI.OnPlayerSelected += OnPlayerSelected;
- Category category = QuickMenuAPI.PlayerSelectPage.AddCategory(ASTExtensionMod.ModName, ASTExtensionMod.ModName);
- Button button = category.AddButton("Copy Height", "ASM_Icon_AvatarHeightCopy", "Copy selected players Eye Height.");
- button.OnPress += OnCopyPlayerHeight;
-
- Button button2 = category.AddButton("Copy AAS", string.Empty, "Copy selected players AAS.");
- button2.OnPress += OnCopyPlayerAAS;
- }
+ QuickMenuAPI.OnPlayerSelected += OnPlayerSelected;
+ Category category = QuickMenuAPI.PlayerSelectPage.AddCategory(ASTExtensionMod.ModName, ASTExtensionMod.ModName);
+ Button button = category.AddButton("Copy Height", "ASM_Icon_AvatarHeightCopy", "Copy selected players Eye Height.");
+ button.OnPress += OnCopyPlayerHeight;
+
+ Button button2 = category.AddButton("Copy AAS", "CopyAvatarAASAlt", "Copy selected players AAS.");
+ button2.OnPress += OnCopyPlayerAAS;
+ }
private static void OnPlayerSelected(string _, string id)
{
- _selectedPlayer = id;
- }
-
+ _selectedPlayer = id;
+ }
+
private static void OnCopyPlayerHeight()
{
if (string.IsNullOrEmpty(_selectedPlayer))
@@ -90,8 +90,6 @@ public static partial class BtkUiAddon
break;
}
}
-
-
}
#endregion Player Select Page
diff --git a/ASTExtension/Main.cs b/ASTExtension/Main.cs
index 4ddf871..34883e6 100644
--- a/ASTExtension/Main.cs
+++ b/ASTExtension/Main.cs
@@ -1,14 +1,17 @@
using System.Reflection;
+using ABI_RC.Core;
using ABI_RC.Core.InteractionSystem;
using ABI_RC.Core.Player;
using ABI_RC.Core.Savior;
using ABI_RC.Core.Util;
using ABI_RC.Core.Util.AnimatorManager;
+using ABI_RC.Systems.IK;
using ABI_RC.Systems.InputManagement;
using ABI.CCK.Components;
using HarmonyLib;
using MelonLoader;
using NAK.ASTExtension.Extensions;
+using NAK.Contacts;
using UnityEngine;
namespace NAK.ASTExtension;
@@ -74,8 +77,8 @@ public class ASTExtensionMod : MelonMod
);
HarmonyInstance.Patch(
- typeof(ColliderTools).GetMethod(nameof(ColliderTools.PlaceDefaultPointers),
- BindingFlags.Public | BindingFlags.Static),
+ typeof(IKSystem).GetMethod(nameof(IKSystem.OnAvatarInitialized),
+ BindingFlags.Public | BindingFlags.Instance),
postfix: new HarmonyMethod(typeof(ASTExtensionMod).GetMethod(nameof(OnSetupAvatar),
BindingFlags.NonPublic | BindingFlags.Static))
);
@@ -86,17 +89,8 @@ public class ASTExtensionMod : MelonMod
prefix: new HarmonyMethod(typeof(ASTExtensionMod).GetMethod(nameof(OnClearAvatar),
BindingFlags.NonPublic | BindingFlags.Static))
);
-
- InitializeIntegration("BTKUILib", Integrations.BtkUiAddon.Initialize);
- }
- private static void InitializeIntegration(string modName, Action integrationAction)
- {
- if (RegisteredMelons.All(it => it.Info.Name != modName))
- return;
-
- Logger.Msg($"Initializing {modName} integration.");
- integrationAction.Invoke();
+ Integrations.BtkUiAddon.Initialize();
}
#endregion Melon Events
@@ -106,9 +100,8 @@ public class ASTExtensionMod : MelonMod
private static void OnGestureRecogniserInitialized()
=> Instance.InitializeScaleGesture();
- private static void OnSetupAvatar(bool isLocalPlayer)
+ private static void OnSetupAvatar()
{
- if (!isLocalPlayer) return;
Instance.OnLocalAvatarLoad();
}
diff --git a/ASTExtension/Properties/AssemblyInfo.cs b/ASTExtension/Properties/AssemblyInfo.cs
index 427308d..e392b9e 100644
--- a/ASTExtension/Properties/AssemblyInfo.cs
+++ b/ASTExtension/Properties/AssemblyInfo.cs
@@ -27,6 +27,6 @@ using System.Reflection;
namespace NAK.ASTExtension.Properties;
internal static class AssemblyInfoParams
{
- public const string Version = "1.0.5";
+ public const string Version = "1.0.6";
public const string Author = "NotAKidoS";
}
\ No newline at end of file
diff --git a/ASTExtension/README.md b/ASTExtension/README.md
index 399e70a..5ed44c4 100644
--- a/ASTExtension/README.md
+++ b/ASTExtension/README.md
@@ -44,11 +44,11 @@ If your setup is theoretically supported but not working, it is likely the scali
---
-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
+Here is the block of text where I tell you this mod is not affiliated with or endorsed by ChilloutVR.
+https://docs.chilloutvr.net/official/legal/tos/#6-modding-our-game
-> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
+> This mod is an independent creation not affiliated with, supported by, or approved by ChilloutVR.
> 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.
+> To the best of my knowledge, I have adhered to the Modding Guidelines established by ChilloutVR.
diff --git a/ASTExtension/Resources/CopyAvatarAASAlt.png b/ASTExtension/Resources/CopyAvatarAASAlt.png
new file mode 100644
index 0000000000000000000000000000000000000000..0b0ba028a918d846278b994102447bc8de36a698
GIT binary patch
literal 40951
zcmeEt=RaIw*RC2wv=KxNqstIoLJ$mLbb=vD^xk_X88JgdFnWtJh~5pNL=Yv~U_@^T
z(It96<9VO=d^!KZ`GDVSwtL-cuY0X)t?Swd9jzA>cbV?u;o(uJse<+J@Cejzzew-k
zuAH=C2yj2}z4cxw;!pR3!f_vn>=iT>@bGHl$uBL5ai7_(RrNIS@Pc^o@FHM%c;~oF
z5r6RTe1-AwHeci6NvGlAF?eLP=sv^!g3LqJ*c%Uz^4skf{&)8h8{9<_A2m&7l1+RD
zT5f@&xX}UJzr<4mE4&Pt*={>YGX0)jbdhz;<^UyNCriZpQ}G9^mxCGJ-rnwAxKej_
z*(YofohQcG`4q)Vir`#1ve<=
z{q($*c$d8^=^~MC!>5vhUJtx
z=HdU`TLUcxsLwyoZD&gfz?o%TWAg(GzFMq>G9^Rbczlh+>#-baTh59O8#?iT7^JLFLz21Hqh=J{L@|@GI2KNzwXcj?VzKe0(@^f
zUT~$&9e4kC=O*imF1)5*vTUONHGD%Qh|Fjn-7fh*j!3z$K975*w@!I~Rs(G@h-muX
zJ^kMJJ?w_g5vcjUTTvHzPUIGEb^FL%0z-h3Duu`vu8?<#T0BBza;sp<|JW#~EoG@W
zqcWi@;CA4SySP!Vq?e10Ab=7YMxyfhu+Jd4XiH=6!T15qKko_UWbd@#eBk&v@+Gw;
zUnr99tVy>~*yPSyL_ZP(swQ|Dfvn2sOMHQIR$9gRGn*P8Ui=A7^p*-jV8P7%d7LA8
z!bI8nCHp>mb!s&=mHIO}zzgzDkT7aX+Cy{d2#GP(y&8n29!#h7Psl<@OjY?c0fr?KuPgXs
zVxoWES^-Si?WIU%{D@|%FcFUv5d@zPZFHu(~y|Qn!8>=UIg2!^l98XB?
zd3F+9nlLN1S`_DK7seW&CQsEXq(nN8EUdSli#TC9i29U!zY6gDYOWckr2vh85kbP0
zV@T#d$G9Z6WWBV7#2CM3gA$~$vbfdQXcWhyS{pz|8#dB@(c_;*><<1Ujs_A3#K85L
zzL4ZiR+ODnOMszBe}Z^?dA#C?)fO%Make1b_N5I#^O`^OcwVJ68iN?eYkkx~ZD43>
z5c8p!zeC#-4fN8mo=HZpK180He%-hW^NWc3_AV9Be5`FhZrj*m@}Gjbb+NrZReYu9
z7yQl=u7qsF<|J|?as=%>RvB5c_Biuq$F)POi@b@9jYV=P;ZUvpOQ);JkmRX*2Lofd{MeOF^IYo~DmMMu?xK<&v(mZ>RD
zq+5YgO+DBc?#UC&6PnwRlL9w!sEd;$adiKcGgaWZ$n&*co1`qX)2I^{n$!7wcF(MF
z@$HzZzn&(U7#V!o5jq2FJPQ=f1by@p%v0#1IDD}GY@bW_b5Jx`k4j#slQaR4OD