diff --git a/Live/CWX_BushWhacker/CWX_BushWhacker.csproj b/Live/CWX_BushWhacker/CWX_BushWhacker.csproj index 63a78c6..dd35d40 100644 --- a/Live/CWX_BushWhacker/CWX_BushWhacker.csproj +++ b/Live/CWX_BushWhacker/CWX_BushWhacker.csproj @@ -8,34 +8,34 @@ - ..\..\..\Shared\Aki\Aki.Common.dll + ..\..\..\Shared\Aki.Common.dll - ..\..\..\Shared\Aki\Aki.Reflection.dll + ..\..\..\Shared\Aki.Reflection.dll - ..\..\..\Shared\EFT\Assembly-CSharp.dll + ..\..\..\Shared\Assembly-CSharp.dll - ..\..\..\Shared\BepInEx\BepInEx.dll + ..\..\..\Shared\BepInEx.dll - ..\..\..\Shared\EFT\Comfort.dll + ..\..\..\Shared\Comfort.dll - ..\..\..\Shared\EFT\Newtonsoft.Json.dll + ..\..\..\Shared\Newtonsoft.Json.dll - ..\..\..\Shared\EFT\UnityEngine.dll + ..\..\..\Shared\UnityEngine.dll - ..\..\..\Shared\EFT\UnityEngine.AssetBundleModule.dll + ..\..\..\Shared\UnityEngine.AssetBundleModule.dll - ..\..\..\Shared\EFT\UnityEngine.CoreModule.dll + ..\..\..\Shared\UnityEngine.CoreModule.dll - ..\..\..\Shared\EFT\UnityEngine.PhysicsModule.dll + ..\..\..\Shared\UnityEngine.PhysicsModule.dll diff --git a/Live/CWX_BushWhacker/README.md b/Live/CWX_BushWhacker/README.md index dd11d5f..0b9e925 100644 --- a/Live/CWX_BushWhacker/README.md +++ b/Live/CWX_BushWhacker/README.md @@ -1,5 +1,5 @@ # BushWhacker ## CWX-BushWhacker for EFT - SPT-AKI -### CURRENT AKI VERSION: 3.2.3 -### GAMEVERSION: 0.12.12.31.19428 +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 ### USING BEPINEX diff --git a/Live/CWX_ColourAdderPatcher/CWX_ColourAdderPatcher.csproj b/Live/CWX_ColourAdderPatcher/CWX_ColourAdderPatcher.csproj new file mode 100644 index 0000000..92c11ea --- /dev/null +++ b/Live/CWX_ColourAdderPatcher/CWX_ColourAdderPatcher.csproj @@ -0,0 +1,28 @@ + + + + net472 + + + + + ..\..\..\Shared\Aki.Common.dll + + + ..\..\..\Shared\Aki.Reflection.dll + + + ..\..\..\Shared\Assembly-CSharp.dll + + + ..\..\..\Shared\BepInEx.dll + + + ..\..\..\Shared\Comfort.dll + + + ..\..\..\Shared\UnityEngine.CoreModule.dll + + + + diff --git a/Live/CWX_ColourAdderPatcher/ColourAdderPatcher.cs b/Live/CWX_ColourAdderPatcher/ColourAdderPatcher.cs new file mode 100644 index 0000000..4238ff4 --- /dev/null +++ b/Live/CWX_ColourAdderPatcher/ColourAdderPatcher.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System; +using System.Collections.Generic; +using System.Linq; +using Aki.Reflection.Patching; +using Aki.Reflection.Utils; +using BepInEx; +using EFT; +using Comfort.Common; +using JsonType; +using UnityEngine; + +namespace CWX_ColourAdderPatcher +{ + [BepInPlugin("com.cwx.ColourAdder", "cwx-ColourAdder", "1.0.0")] + public class ColourAdderPatcher : BaseUnityPlugin + { + public void Start() + { + var type = PatchConstants.EftTypes.Single(x => x.Name == "GClass1179") + .GetField("dictionary_0"); + // get field with name of dictionary_0 add custom + // dictionary.Add(TaxonomyColor.yellow, new Color32(104, 102, 40, byte.MaxValue)); + } + } +} + diff --git a/Live/CWX_ColourAdderPatcher/README.md b/Live/CWX_ColourAdderPatcher/README.md new file mode 100644 index 0000000..7fb18d4 --- /dev/null +++ b/Live/CWX_ColourAdderPatcher/README.md @@ -0,0 +1,5 @@ +# ColourAdderPatcher +## CWX-ColourAdderPatcher for EFT - SPT-AKI +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 +### USING BEPINEX diff --git a/Live/CWX_ColourAdderPrePatch/CWX_ColourAdderPrePatch.csproj b/Live/CWX_ColourAdderPrePatch/CWX_ColourAdderPrePatch.csproj new file mode 100644 index 0000000..a5bf28e --- /dev/null +++ b/Live/CWX_ColourAdderPrePatch/CWX_ColourAdderPrePatch.csproj @@ -0,0 +1,17 @@ + + + + net472 + CWX_ColourAdder + + + + + ..\..\..\Shared\Assembly-CSharp.dll + + + ..\..\..\Shared\Mono.Cecil.dll + + + + diff --git a/Live/CWX_ColourAdderPrePatch/ColourAdderPrePatch.cs b/Live/CWX_ColourAdderPrePatch/ColourAdderPrePatch.cs new file mode 100644 index 0000000..03f29a3 --- /dev/null +++ b/Live/CWX_ColourAdderPrePatch/ColourAdderPrePatch.cs @@ -0,0 +1,34 @@ +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using JsonType; +using Mono.Cecil; + +namespace CWX_ColourAdder +{ + public static class ColourAdderPrePatch + { + public static IEnumerable TargetDLLs { get; } = new[] { "Assembly-CSharp.dll" }; + private static long CWXpink = 0x00000022; + private static long CWXpurple = 0x00000023; + + public static void Patch(ref AssemblyDefinition assembly) + { + var colourEnum = assembly.MainModule.GetType("JsonType.TaxonomyColor"); + + var cwxPink = new FieldDefinition("CWXpink", + FieldAttributes.Public | FieldAttributes.Static | FieldAttributes.Literal | FieldAttributes.HasDefault, + colourEnum) + { Constant = CWXpink }; + + var cwxPurple = new FieldDefinition("CWXpurple", + FieldAttributes.Public | FieldAttributes.Static | FieldAttributes.Literal | FieldAttributes.HasDefault, + colourEnum) + { Constant = CWXpurple }; + + colourEnum.Fields.Add(cwxPink); + colourEnum.Fields.Add(cwxPurple); + } + } +} + diff --git a/Live/CWX_ColourAdderPrePatch/README.md b/Live/CWX_ColourAdderPrePatch/README.md new file mode 100644 index 0000000..9711c06 --- /dev/null +++ b/Live/CWX_ColourAdderPrePatch/README.md @@ -0,0 +1,5 @@ +# ColourAdderPrePatch +## CWX-ColourAdderPrePatch for EFT - SPT-AKI +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 +### USING BEPINEX diff --git a/Live/CWX_DeSharpener/CWX_DeSharpener.csproj b/Live/CWX_DeSharpener/CWX_DeSharpener.csproj index e68b899..35c70d2 100644 --- a/Live/CWX_DeSharpener/CWX_DeSharpener.csproj +++ b/Live/CWX_DeSharpener/CWX_DeSharpener.csproj @@ -8,22 +8,22 @@ - ..\..\..\Shared\Aki\Aki.Common.dll + ..\..\..\Shared\Aki.Common.dll - ..\..\..\Shared\Aki\Aki.Reflection.dll + ..\..\..\Shared\Aki.Reflection.dll - ..\..\..\Shared\EFT\Assembly-CSharp.dll + ..\..\..\Shared\Assembly-CSharp.dll - ..\..\..\Shared\BepInEx\BepInEx.dll + ..\..\..\Shared\BepInEx.dll - ..\..\..\Shared\EFT\UnityEngine.dll + ..\..\..\Shared\UnityEngine.dll - ..\..\..\Shared\EFT\UnityEngine.CoreModule.dll + ..\..\..\Shared\UnityEngine.CoreModule.dll diff --git a/Live/CWX_DeSharpener/README.md b/Live/CWX_DeSharpener/README.md index f632827..51dea70 100644 --- a/Live/CWX_DeSharpener/README.md +++ b/Live/CWX_DeSharpener/README.md @@ -1,5 +1,5 @@ # DeSharpener ## CWX-DESHARPENER for EFT - SPT-AKI -### CURRENT AKI VERSION: 3.2.3 -### GAMEVERSION: 0.12.12.31.19428 +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 ### USING BEPINEX diff --git a/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj b/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj index bf8f1fe..df75912 100644 --- a/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj +++ b/Live/CWX_DebuggingTool/CWX_DebuggingTool.csproj @@ -6,40 +6,34 @@ - ..\..\..\Shared\Aki\Aki.Common.dll + ..\..\..\Shared\Aki.Common.dll - ..\..\..\Shared\Aki\Aki.Reflection.dll + ..\..\..\Shared\Aki.Reflection.dll - ..\..\..\Shared\EFT\Assembly-CSharp.dll + ..\..\..\Shared\Assembly-CSharp.dll - ..\..\..\Shared\BepInEx\BepInEx.dll + ..\..\..\Shared\BepInEx.dll - ..\..\..\Shared\EFT\bsg.console.core.dll + ..\..\..\Shared\bsg.console.core.dll - ..\..\..\Shared\EFT\Comfort.dll - - - ..\..\..\Shared\BepInEx\ConfigurationManager.dll - - - ..\..\..\Shared\BepInEx\Mono.Cecil.dll + ..\..\..\Shared\Comfort.dll - ..\..\..\Shared\EFT\UnityEngine.dll + ..\..\..\Shared\UnityEngine.dll - ..\..\..\Shared\EFT\UnityEngine.CoreModule.dll + ..\..\..\Shared\UnityEngine.CoreModule.dll - ..\..\..\Shared\EFT\UnityEngine.IMGUIModule.dll + ..\..\..\Shared\UnityEngine.IMGUIModule.dll - ..\..\..\Shared\EFT\UnityEngine.TextRenderingModule.dll + ..\..\..\Shared\UnityEngine.TextRenderingModule.dll diff --git a/Live/CWX_DebuggingTool/README.md b/Live/CWX_DebuggingTool/README.md new file mode 100644 index 0000000..ca1f2dd --- /dev/null +++ b/Live/CWX_DebuggingTool/README.md @@ -0,0 +1,5 @@ +# DebuggingTool +## CWX-DEBUGGINGTOOL for EFT - SPT-AKI +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 +### USING BEPINEX diff --git a/Live/CWX_MasterKey/CWX_MasterKey.csproj b/Live/CWX_MasterKey/CWX_MasterKey.csproj index 890be4d..910a92b 100644 --- a/Live/CWX_MasterKey/CWX_MasterKey.csproj +++ b/Live/CWX_MasterKey/CWX_MasterKey.csproj @@ -8,28 +8,28 @@ - ..\..\..\Shared\Aki\Aki.Common.dll + ..\..\..\Shared\Aki.Common.dll - ..\..\..\Shared\Aki\Aki.Reflection.dll + ..\..\..\Shared\Aki.Reflection.dll - ..\..\..\Shared\EFT\Assembly-CSharp.dll + ..\..\..\Shared\Assembly-CSharp.dll - ..\..\..\Shared\BepInEx\BepInEx.dll + ..\..\..\Shared\BepInEx.dll - ..\..\..\Shared\EFT\Comfort.dll + ..\..\..\Shared\Comfort.dll - ..\..\..\Shared\EFT\Newtonsoft.Json.dll + ..\..\..\Shared\Newtonsoft.Json.dll - ..\..\..\Shared\EFT\UnityEngine.dll + ..\..\..\Shared\UnityEngine.dll - ..\..\..\Shared\EFT\UnityEngine.CoreModule.dll + ..\..\..\Shared\UnityEngine.CoreModule.dll diff --git a/Live/CWX_MasterKey/README.md b/Live/CWX_MasterKey/README.md index 2253f76..5b96f7c 100644 --- a/Live/CWX_MasterKey/README.md +++ b/Live/CWX_MasterKey/README.md @@ -1,5 +1,5 @@ # MasterKey ## CWX-MASTERKEY for EFT - SPT-AKI -### CURRENT AKI VERSION: 3.2.3 -### GAMEVERSION: 0.12.12.31.19428 +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 ### USING BEPINEX diff --git a/Live/CWX_Mods.sln b/Live/CWX_Mods.sln index 5c660f9..54c654a 100644 --- a/Live/CWX_Mods.sln +++ b/Live/CWX_Mods.sln @@ -13,6 +13,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CWX_MasterKey", "CWX_Master EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CWX_DebuggingTool", "CWX_DebuggingTool\CWX_DebuggingTool.csproj", "{E439D92F-26FD-42A2-9EA5-38A318EB5403}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CWX_ColourAdderPrePatch", "CWX_ColourAdderPrePatch\CWX_ColourAdderPrePatch.csproj", "{B0AE824D-7308-47DD-B0BF-08D48B33CBD7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CWX_ColourAdderPatcher", "CWX_ColourAdderPatcher\CWX_ColourAdderPatcher.csproj", "{6D696C6A-011B-4D53-8D97-D62105B20E0E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -39,6 +43,14 @@ Global {E439D92F-26FD-42A2-9EA5-38A318EB5403}.Debug|Any CPU.Build.0 = Debug|Any CPU {E439D92F-26FD-42A2-9EA5-38A318EB5403}.Release|Any CPU.ActiveCfg = Release|Any CPU {E439D92F-26FD-42A2-9EA5-38A318EB5403}.Release|Any CPU.Build.0 = Release|Any CPU + {B0AE824D-7308-47DD-B0BF-08D48B33CBD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0AE824D-7308-47DD-B0BF-08D48B33CBD7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0AE824D-7308-47DD-B0BF-08D48B33CBD7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0AE824D-7308-47DD-B0BF-08D48B33CBD7}.Release|Any CPU.Build.0 = Release|Any CPU + {6D696C6A-011B-4D53-8D97-D62105B20E0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D696C6A-011B-4D53-8D97-D62105B20E0E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D696C6A-011B-4D53-8D97-D62105B20E0E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D696C6A-011B-4D53-8D97-D62105B20E0E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Live/CWX_Mods.sln.DotSettings.user b/Live/CWX_Mods.sln.DotSettings.user new file mode 100644 index 0000000..99d6501 --- /dev/null +++ b/Live/CWX_Mods.sln.DotSettings.user @@ -0,0 +1,15 @@ + + True + True + True + True + True + True + True + True + True + True + True + True + True + True \ No newline at end of file diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher.csproj b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher.csproj index 6544cf5..cb3d650 100644 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher.csproj +++ b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher.csproj @@ -8,25 +8,25 @@ - ..\..\..\Shared\Aki\Aki.Common.dll + ..\..\..\Shared\Aki.Common.dll - ..\..\..\Shared\Aki\Aki.Reflection.dll + ..\..\..\Shared\Aki.Reflection.dll - ..\..\..\Shared\EFT\Assembly-CSharp.dll + ..\..\..\Shared\Assembly-CSharp.dll - ..\..\..\Shared\BepInEx\BepInEx.dll + ..\..\..\Shared\BepInEx.dll - ..\..\..\Shared\EFT\Comfort.dll + ..\..\..\Shared\Comfort.dll - ..\..\..\Shared\EFT\UnityEngine.dll + ..\..\..\Shared\UnityEngine.dll - ..\..\..\Shared\EFT\UnityEngine.CoreModule.dll + ..\..\..\Shared\UnityEngine.CoreModule.dll diff --git a/Live/CWX_WeatherPatcher/README.md b/Live/CWX_WeatherPatcher/README.md index d0fd4d2..739f820 100644 --- a/Live/CWX_WeatherPatcher/README.md +++ b/Live/CWX_WeatherPatcher/README.md @@ -1,5 +1,5 @@ # WeatherPatcher ## CWX-WEATHERPATCHER for EFT - SPT-AKI -### CURRENT AKI VERSION: 3.2.3 -### GAMEVERSION: 0.12.12.31.19428 +### CURRENT AKI VERSION: 3.5.1 +### GAMEVERSION: 22032 ### USING BEPINEX \ No newline at end of file