diff --git a/CheatEnabler/CheatEnabler.csproj b/CheatEnabler/CheatEnabler.csproj index 83f8b86..69e9706 100644 --- a/CheatEnabler/CheatEnabler.csproj +++ b/CheatEnabler/CheatEnabler.csproj @@ -16,7 +16,7 @@ - + @@ -28,27 +28,6 @@ - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - - diff --git a/CompressSave/CompressSave.csproj b/CompressSave/CompressSave.csproj index 171861d..ea3e9d5 100644 --- a/CompressSave/CompressSave.csproj +++ b/CompressSave/CompressSave.csproj @@ -15,7 +15,7 @@ - + @@ -24,27 +24,6 @@ - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - - diff --git a/Dustbin/Dustbin.csproj b/Dustbin/Dustbin.csproj index b82d504..4334ff9 100644 --- a/Dustbin/Dustbin.csproj +++ b/Dustbin/Dustbin.csproj @@ -16,7 +16,7 @@ - + @@ -30,21 +30,6 @@ GameAssembly\Assembly-CSharp.dll - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - diff --git a/DustbinPreloader/DustbinPreloader.csproj b/DustbinPreloader/DustbinPreloader.csproj index b2579b9..aed0ea7 100644 --- a/DustbinPreloader/DustbinPreloader.csproj +++ b/DustbinPreloader/DustbinPreloader.csproj @@ -14,31 +14,10 @@ - + - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - - diff --git a/GameAssembly/Assembly-CSharp.dll b/GameAssembly/Assembly-CSharp.dll deleted file mode 100644 index cbccfa6..0000000 Binary files a/GameAssembly/Assembly-CSharp.dll and /dev/null differ diff --git a/GameAssembly/Unity.TextMeshPro.dll b/GameAssembly/Unity.TextMeshPro.dll deleted file mode 100644 index 21da1e3..0000000 Binary files a/GameAssembly/Unity.TextMeshPro.dll and /dev/null differ diff --git a/GameAssembly/UnityEngine.Networking.dll b/GameAssembly/UnityEngine.Networking.dll deleted file mode 100644 index a3ca302..0000000 Binary files a/GameAssembly/UnityEngine.Networking.dll and /dev/null differ diff --git a/GameAssembly/UnityEngine.SpatialTracking.dll b/GameAssembly/UnityEngine.SpatialTracking.dll deleted file mode 100644 index 9d9ae15..0000000 Binary files a/GameAssembly/UnityEngine.SpatialTracking.dll and /dev/null differ diff --git a/GameAssembly/UnityEngine.Timeline.dll b/GameAssembly/UnityEngine.Timeline.dll deleted file mode 100644 index d0def3b..0000000 Binary files a/GameAssembly/UnityEngine.Timeline.dll and /dev/null differ diff --git a/GameAssembly/UnityEngine.UI.dll b/GameAssembly/UnityEngine.UI.dll deleted file mode 100644 index bee997c..0000000 Binary files a/GameAssembly/UnityEngine.UI.dll and /dev/null differ diff --git a/LabOpt/LabOpt.csproj b/LabOpt/LabOpt.csproj index ff99e59..f0750cf 100644 --- a/LabOpt/LabOpt.csproj +++ b/LabOpt/LabOpt.csproj @@ -15,7 +15,7 @@ - + @@ -23,27 +23,6 @@ - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - - diff --git a/LabOptPreloader/LabOptPreloader.csproj b/LabOptPreloader/LabOptPreloader.csproj index ef83bed..646cb60 100644 --- a/LabOptPreloader/LabOptPreloader.csproj +++ b/LabOptPreloader/LabOptPreloader.csproj @@ -14,34 +14,13 @@ - + - - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - diff --git a/UXAssist/UXAssist.csproj b/UXAssist/UXAssist.csproj index d4c9b60..057749c 100644 --- a/UXAssist/UXAssist.csproj +++ b/UXAssist/UXAssist.csproj @@ -15,7 +15,7 @@ - + @@ -23,27 +23,6 @@ - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - - diff --git a/UniverseGenTweaks/MoreSettings.cs b/UniverseGenTweaks/MoreSettings.cs index a89c3f7..06b4522 100644 --- a/UniverseGenTweaks/MoreSettings.cs +++ b/UniverseGenTweaks/MoreSettings.cs @@ -243,13 +243,13 @@ public class MoreSettings var matcher = new CodeMatcher(instructions, generator); matcher.MatchForward(false, new CodeMatch(ci => ci.opcode == OpCodes.Ldc_I4 && ci.OperandIs(25700)) - ).SetAndAdvance(OpCodes.Ldsfld, AccessTools.Field(typeof(MoreSettings), nameof(MoreSettings.MaxStarCount))).Insert( + ).Repeat(m => m.SetAndAdvance(OpCodes.Ldsfld, AccessTools.Field(typeof(MoreSettings), nameof(MoreSettings.MaxStarCount))).Insert( new CodeInstruction(OpCodes.Call, AccessTools.PropertyGetter(typeof(ConfigEntry), nameof(ConfigEntry.Value))), new CodeInstruction(OpCodes.Ldc_I4_1), new CodeInstruction(OpCodes.Add), new CodeInstruction(OpCodes.Ldc_I4_S, 100), new CodeInstruction(OpCodes.Mul) - ); + )); return matcher.InstructionEnumeration(); } diff --git a/UniverseGenTweaks/README.md b/UniverseGenTweaks/README.md index 7c75e14..06b6b1d 100644 --- a/UniverseGenTweaks/README.md +++ b/UniverseGenTweaks/README.md @@ -4,6 +4,8 @@ #### 宇宙生成参数调节 ## Changelog +* 1.2.3 + + Fix a crash while setting star count greater than 256 * 1.2.2 + Support game version 0.10.28.20759 * 1.2.1 @@ -33,6 +35,8 @@ * High luminosity for birth star ## 更新日志 +* 1.2.3 + + 修复了设置星系数大于256时崩溃的问题 * 1.2.2 + 支持游戏版本0.10.28.20759 * 1.2.1 diff --git a/UniverseGenTweaks/UniverseGenTweaks.csproj b/UniverseGenTweaks/UniverseGenTweaks.csproj index 7a1495e..3dcba3f 100644 --- a/UniverseGenTweaks/UniverseGenTweaks.csproj +++ b/UniverseGenTweaks/UniverseGenTweaks.csproj @@ -6,7 +6,7 @@ UniverseGenTweaks org.soardev.universegentweaks DSP MOD - UniverseGenTweaks - 1.2.2 + 1.2.3 true latest https://nuget.bepinex.dev/v3/index.json @@ -15,7 +15,7 @@ - + @@ -27,27 +27,6 @@ - - - ..\GameAssembly\Assembly-CSharp.dll - - - ..\GameAssembly\Unity.TextMeshPro.dll - - - ..\GameAssembly\UnityEngine.Networking.dll - - - ..\GameAssembly\UnityEngine.SpatialTracking.dll - - - ..\GameAssembly\UnityEngine.Timeline.dll - - - ..\GameAssembly\UnityEngine.UI.dll - - - diff --git a/UniverseGenTweaks/package/manifest.json b/UniverseGenTweaks/package/manifest.json index 099595f..726d5f6 100644 --- a/UniverseGenTweaks/package/manifest.json +++ b/UniverseGenTweaks/package/manifest.json @@ -1,10 +1,10 @@ { "name": "UniverseGenTweaks", - "version_number": "1.2.2", + "version_number": "1.2.3", "website_url": "https://github.com/soarqin/DSP_Mods/tree/master/UniverseGenTweaks", "description": "Universe Generation Tweaks / 宇宙生成参数调节", "dependencies": [ "xiaoye97-BepInEx-5.4.17", - "soarqin-UXAssist-1.0.2" + "soarqin-UXAssist-1.0.5" ] }