From c7fcf31c30b190bbcac326b58a2d0f894e095539 Mon Sep 17 00:00:00 2001 From: Soar Qin Date: Thu, 5 Nov 2026 21:24:56 +0800 Subject: [PATCH] fix(cheatenabler): require UXAssist 1.6.3 before loading Align the runtime and package minimum with the official release that provides the shared production API. Keep official UXAssist 1.6.3 supported and document the dependency in both languages. Assisted-by: Cindy (https://cindy.app) --- CheatEnabler/CHANGELOG.md | 2 ++ CheatEnabler/CheatEnabler.cs | 2 +- CheatEnabler/README.md | 2 ++ CheatEnabler/package/manifest.json | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CheatEnabler/CHANGELOG.md b/CheatEnabler/CHANGELOG.md index a5389d1..336913e 100644 --- a/CheatEnabler/CHANGELOG.md +++ b/CheatEnabler/CHANGELOG.md @@ -4,6 +4,7 @@ ## Changlog * 2.4.8 + * Require UXAssist 1.6.3 or later for the shared production API. Older versions are rejected before initialization instead of failing while loading belt-signal features. * `Mecha and Drones/Fleets invincible`: Fix mecha HP and energy shield protection failing when enabled after taking damage, and restore protection for space fleets. * `Finish build immediately`: Fix possible errors when starting a new game. Construction begins after the opening cutscene ends or is skipped. * `Belt signal item generation`: @@ -208,6 +209,7 @@ ## 更新日志 * 2.4.8 + * 需要 UXAssist 1.6.3 或更高版本提供共享生产计算 API。旧版本会在初始化前被拒绝加载,避免加载传送带信号功能时出错。 * `机甲和战斗无人机无敌`:修复受伤后启用时机甲耐久度和能量护盾保护可能失效的问题,并恢复太空编队的无敌保护。 * `建造秒完成`:修复开始新游戏时可能报错的问题。建造会在开场动画播放结束或跳过后开始。 * `传送带信号物品生成`: diff --git a/CheatEnabler/CheatEnabler.cs b/CheatEnabler/CheatEnabler.cs index a6491ab..ec25cd5 100644 --- a/CheatEnabler/CheatEnabler.cs +++ b/CheatEnabler/CheatEnabler.cs @@ -10,7 +10,7 @@ using UXAssist.Common.ModFeatures; namespace CheatEnabler; [BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)] -[BepInDependency(UXAssist.PluginInfo.PLUGIN_GUID)] +[BepInDependency(UXAssist.PluginInfo.PLUGIN_GUID, "1.6.3")] public class CheatEnabler : BaseUnityPlugin { public new static readonly BepInEx.Logging.ManualLogSource Logger = diff --git a/CheatEnabler/README.md b/CheatEnabler/README.md index c614145..6a7e9dc 100644 --- a/CheatEnabler/README.md +++ b/CheatEnabler/README.md @@ -93,6 +93,7 @@ The item icon selects the output; no hotkey is needed. ## Notes +* Requires UXAssist 1.6.3 or later. When upgrading manually, replace the old UXAssist DLL and remove duplicate copies from the BepInEx plugins folder. * Please upgrade `BepInEx` 5.4.21 or later if using with [BlueprintTweaks](https://dsp.thunderstore.io/package/kremnev8/BlueprintTweaks/) to avoid possible conflicts. * You can download [BepInEx here](https://github.com/bepinex/bepinex/releases/latest)(choose x64 edition). * If using with r2modman, you can upgrade `BepInEx` by clicking `Settings` -> `Browse profile folder`, then extract downloaded zip to the folder and overwrite existing files. @@ -198,6 +199,7 @@ The item icon selects the output; no hotkey is needed. ## 注意事项 +* 需要 UXAssist 1.6.3 或更高版本。手动升级时,请替换旧的 UXAssist DLL,并删除 BepInEx 插件目录中的重复副本。 * 如果和[BlueprintTweaks](https://dsp.thunderstore.io/package/kremnev8/BlueprintTweaks/)一起使用,请升级`BepInEx`到5.4.21或更高版本,以避免可能的冲突 * 你可以在[这里](https://github.com/bepinex/bepinex/releases/latest)(选择x64版本)下载`BepInEx` * 如果使用r2modman,你可以点击`Settings` -> `Browse profile folder`,然后将下载的zip解压到该文件夹并覆盖现有文件 diff --git a/CheatEnabler/package/manifest.json b/CheatEnabler/package/manifest.json index eb46506..bc4dce3 100644 --- a/CheatEnabler/package/manifest.json +++ b/CheatEnabler/package/manifest.json @@ -5,6 +5,6 @@ "description": "Add various cheat functions while disabling abnormal determinants / 添加一些作弊功能,同时屏蔽异常检测", "dependencies": [ "xiaoye97-BepInEx-5.4.17", - "soarqin-UXAssist-1.4.0" + "soarqin-UXAssist-1.6.3" ] }