Files
phantom-gladiator/README.zh-CN.md
T

44 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# phantom-gladiator · 中文说明
> 本仓库是上游 [LingYi-Liang/PhantomGladiator](https://github.com/LingYi-Liang/PhantomGladiator) 的 Gitea 镜像(快照(zipball,无历史)),**代码与版权归原作者**。
> 中文说明与服务器构建记录由镜像方补充;许可证:MIT。
## 这是什么
「斗蛐蛐」——让《影之刃零》里的怪物与 BOSS 互相开打。包含两部分:
- `Mods/`:UE4SS Lua 模组,召唤游戏原生怪物、分蓝红阵营、改写仇恨与阵营关系,按原生招式/受击/死亡逻辑对战;
- `panel/`:Python 后端(怪物目录、配置、本地音频等),`desktop/`:C# + WebView2 桌面壳。
只改运行内存,不动游戏文件与存档。
## 安装 / 使用
1. 需已安装 UE4SS(游戏根目录 `dwmapi.dll` + `ue4ss/`)。
2. 把 `Mods/` 下的模组目录复制到 `ue4ss/Mods/`,并新建同名 `enabled.txt`。
3. 启动游戏 → 打开桌面助手 → 选怪、分阵营、开战;也可以直接在 Lua 控制台调用。
## 服务器构建(Linux,已实测)
```bash
cd /opt/build/pbz/phantom-gladiator
zip -qr ../dist/phantom-gladiator/phantom-gladiator-0.40.10-mods+panel.zip \
Mods GameConfig panel desktop docs README.md -x '*.pyc' '*__pycache__*'
```
## Windows 原生构建
桌面壳是 C#(`desktop/*.cs`,WebView2),按上游 `desktop/` 里的工程说明用 Visual Studio / `dotnet build` 编译;面板后端 `pip install -r panel/requirements.txt` 后用 `python -m panel.backend` 起服务调试。
## 版本与兼容
- 上游版本:`0.40.10`
- 上游地址:https://github.com/LingYi-Liang/PhantomGladiator
- 镜像时间:2026-11-30
## 注意
Lua 模组依赖 UE4SS 版本;游戏更新后 UE4SS 与模组都可能失效。
---
*本文档由镜像方自动生成;构建步骤在服务器(OpenCloudOS 9 / x86_64)上验证。Windows 专属工具链(MSVC / .NET Framework / PowerShell)无法在 Linux 运行,已在对应小节注明。*