Compare commits
@@ -0,0 +1,49 @@
|
||||
# pbz-editor · 中文说明
|
||||
|
||||
> 本仓库是上游 [qry6868/PBZ-Editor](https://github.com/qry6868/PBZ-Editor) 的 Gitea 镜像(全量镜像,含 4 个 tag),**代码与版权归原作者**。
|
||||
> 中文说明与服务器构建记录由镜像方补充;许可证:MIT。
|
||||
|
||||
## 这是什么
|
||||
|
||||
离线存档与背包编辑器(Windows 桌面,PySide6)。不注入游戏进程,直接读写《影之刃零》的存档文件:物品库检索、按地图筛选、加入背包、改数量/强化等级、撤销与自动备份。
|
||||
|
||||
## 安装 / 使用
|
||||
|
||||
1. Windows 下解压发布包,运行 `PBZ-Editor.exe`(或 `python launcher.py`)。
|
||||
2. 首次启动选择存档目录(默认在 `%LOCALAPPDATA%\..\Saved\SaveGames` 一类路径,程序也会自动探测)。
|
||||
3. 改动前程序会自动备份;右键物品可改数量、强化、品质。
|
||||
4. 改完保存,再进游戏读取。**改存档前请自己再复制一份**,游戏更新后存档结构可能变。
|
||||
|
||||
## 服务器构建(Linux,已实测)
|
||||
|
||||
```bash
|
||||
# 依赖:python3(>=3.11)、pip
|
||||
cd /opt/build/pbz
|
||||
python3 -m pip wheel --no-deps -w dist/pbz-editor pbz-editor # 出 wheel
|
||||
tar czf dist/pbz-editor/pbz-editor-src-0.4.0.tar.gz --exclude=.git -C . pbz-editor
|
||||
```
|
||||
说明:Linux 上**不能**直接产出 Windows exe(PyInstaller 需在 Windows 上跑)。服务器构建产出的是 wheel 与源码包,Windows 发布包请用上游 Release 或在 Windows 上按下面的原生构建走一遍。
|
||||
|
||||
## Windows 原生构建
|
||||
|
||||
```powershell
|
||||
python -m venv .venv; .\.venv\Scripts\activate
|
||||
pip install -r requirements-dev.txt
|
||||
pip install -e .
|
||||
python launcher.py # 开发运行
|
||||
pyinstaller pbz_editor.spec # 需仓库自带 spec,或 pyinstaller launcher.py --name PBZ-Editor --windowed
|
||||
```
|
||||
|
||||
## 版本与兼容
|
||||
|
||||
- 上游版本:`0.4.0`
|
||||
- 上游地址:https://github.com/qry6868/PBZ-Editor
|
||||
- 镜像时间:2026-11-30
|
||||
|
||||
## 注意
|
||||
|
||||
物品图标来自游戏资源,仓库不含游戏本体素材;请自备正版游戏。
|
||||
|
||||
---
|
||||
|
||||
*本文档由镜像方自动生成;构建步骤在服务器(OpenCloudOS 9 / x86_64)上验证。Windows 专属工具链(MSVC / .NET Framework / PowerShell)无法在 Linux 运行,已在对应小节注明。*
|
||||
Reference in new issue
Block a user