基于AvaloniaUI的跨平台(Windows/macOS/Linux)工具,用于管理《学生时代》游戏创意工坊里使用BepInEx前置包的 Mod。
- 参考群芳更多恋人自动更新,通过名为AutoUpdater的BepInEx patcher,在游戏启动时自动检测所有BepInEx模组并更新。只需勾选需要的模组并排序,其他步骤全自动完成
- 一键安装BepInEx与ConfigurationManager(默认启用
Logging.Console避免第一次Hook失败) - 自动探测游戏根目录,也可手动填写/调整。
- 自动探测创意工坊目录,也可手动指定。
- 扫描并展示BepInEx模组(仅处理工坊条目中包含
BepInEx/的 Mod)。 - 拖拽排序调整优先级:列表靠后的 Mod 优先级更高,发生同路径冲突时会覆盖靠前的 Mod。
- 冲突预览:在应用前预览可能的文件冲突与最终生效项。
- 基线备份/回滚:
- 创建/更新备份
- 恢复备份
打开 Releases 页面,选择最新版本下载.exe文件即可。
运行:
- Windows:直接双击运行
.exe - macOS:首次运行可能受 Gatekeeper 限制;可在“系统设置 -> 隐私与安全性”中允许,或右键打开。
- Linux/macOS:未测试,确保
chmod +x后再运行。
- .NET SDK:项目目标框架为
net10.0(见SABepInExManager.csproj)。
在仓库根目录执行:
dotnet build ./SABepInExManager.slnx -c Debug以下命令会将产物输出到根目录:./dist/SABepInExManager/<rid>/。
Windows x64:
dotnet publish ./src/SABepInExManager/SABepInExManager.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true /p:DebugType=None /p:DebugSymbols=falsemacOS Apple Silicon:
dotnet publish ./src/SABepInExManager/SABepInExManager.csproj -c Release -r osx-arm64 --self-contained true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true /p:DebugType=None /p:DebugSymbols=falseLinux x64:
dotnet publish ./src/SABepInExManager/SABepInExManager.csproj -c Release -r linux-x64 --self-contained true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true /p:DebugType=None /p:DebugSymbols=false以下内容在本仓库中以备选包形式提供(用于网络异常时的安装回退),对应许可证文件也随仓库提供:
- BepInEx:LGPL-2.1,见
third_party/BepInEx/LICENSE - BepInEx.ConfigurationManager:LGPL-3.0,见
third_party/BepInEx.ConfigurationManager/LICENSE