PBZ BaiShanRepair / 影之刃零白山秘闻修复工具
中文
用于修复《影之刃零》中提前击杀玉璧、毕桃桃提前死亡,导致「白山秘闻」任务失败的已验证路线。不是通用存档编辑器。
下载与运行
- 从 Releases 下载单个 ZIP 并完整解压。
- 将
PBZ-BaiShan-Repair文件夹放在游戏根目录,与ProjectPBZ和platform同级。 - 退出游戏,避免云同步在操作期间写入存档,双击
start.cmd。 - 工具自动定位游戏程序和存档,只列出符合修复条件的槽位;多个账号或槽位时按提示选择。仅一个可修复槽位时自动选中。
- 输入
Y(或y)确认。结果直接写入工具的output目录,不覆盖原游戏存档。 - 游戏关闭时,将
output/PBZSaveGame.sav替换为账号目录中的主存档。进入游戏后按工具显示的保存时间手动读档,不要使用「继续游戏」。
游戏根目录/
ProjectPBZ/
platform/
PBZ-BaiShan-Repair/
start.cmd
repair.py
bin/
.python/
.venv/
输出还包含原件备份 PBZSaveGame.before-repair.sav 和修改报告 report.json。回滚时退出游戏,将原件备份重命名为 PBZSaveGame.sav 后恢复。再次生成前需移走同名旧结果,工具不会覆盖它们。
范围与安全检查
- 仅接受已验证的首周目(内部值 0)、破局者难度(内部值 2)和严格匹配的失败字段;未知或冲突状态会被拒绝,不代表所有同类失败都支持。
- 恢复玉璧槽位内战绩及已定位的场景状态、毕桃桃的战前状态,并将白山秘闻恢复为分支 1 完成、分支 2 进行中。
- 保留物品栏、其他任务、保存时间、其他槽位、账号级成就及账号级战绩。不会预先补发任务奖励。
- 使用本机游戏程序提取密钥,通过 AES-GCM 认证后才使用;不内置、不输出、不保存密钥,不上传存档。
- 回读认证、解压全部槽位,并检查未修改槽位内容一致。仍需在游戏内验证效果,使用前建议另行备份整个账号存档目录。
- 自动检测 Windows 用户界面语言:中文提示或英文提示。
- 支持 Steam/EOS 路径自动查找;EOS 已实测,Steam 尚未实测,版本差异可能导致拒绝修复。
运行环境与体积
Release ZIP 包含精简的 Python 3.11.9 x64 运行时、venv 依赖和 Oodle DLL,因此体积较大。无需安装 Python,无需联网安装依赖。不要删除 .python 或 .venv;启动时自动刷新 venv 路径,支持整体移动。需要 Windows x64 和可写工具目录。
源码仓库也包含 .python 和 .venv,克隆后可直接运行 start.cmd,无需安装 Python。若自行使用系统 Python,则需准备 64 位 Python 3.9+、cryptography 及本目录 DLL;已验证环境为 Python 3.11 x64。
python -m pip install "cryptography>=42,<51"
python repair.py --check
python repair.py --game-dir E:\Games\PBZ --check
python repair.py --save PATH\PBZSaveGame.sav --slot ManualSave21 --output PATH\results
English
Repairs the verified Phantom Blade Zero failure route where killing Yubi prematurely causes Bi Taotao's early death and fails the BaiShanMiWen quest. This is not a general save editor.
Download and Use
- Download the single ZIP from Releases and extract it completely.
- Place
PBZ-BaiShan-Repairbeside the game'sProjectPBZandplatformdirectories. - Exit the game, avoid cloud-sync writes, and run
start.cmd. - Select an account or eligible slot when prompted. Ineligible slots are hidden; a single eligible slot is selected automatically.
- Type
Yory. Files are generated directly underoutput; the original game save is never replaced automatically. - With the game closed, copy
output/PBZSaveGame.savover the account's main save. Manually load the selected timestamp, rather than using Continue.
Output includes an exact input backup, PBZSaveGame.before-repair.sav, and report.json. To roll back, close the game and restore that backup under the name PBZSaveGame.sav. Move previous output files before another repair; existing results are not overwritten.
Scope and Requirements
Only the verified cycle 0 / difficulty 2 failure structure is accepted. Unknown or conflicting fields are rejected. The repair resets the identified slot-local Yubi encounter state, restores Bi Taotao, and restarts quest branch 2 with branch 1 completed. Inventory, unrelated quests, timestamp, other slots, account achievements and account boss records are preserved. Rewards are not added in advance.
Keys are extracted from the local game executable and authenticated, never bundled, printed or persisted. Saves are not uploaded. All slots are authenticated and decoded again after repair; untouched slot contents must match. In-game verification remains necessary. Back up the account save directory independently before use.
The portable Release is larger because it bundles a trimmed Python 3.11.9 x64 runtime, venv dependencies and the Oodle DLL. No Python installation or dependency download is needed. Retain .python and .venv. The launcher refreshes venv paths after relocation. Windows x64 and a writable tool directory are required. Chinese Windows UI uses Chinese prompts; other UI languages use English.
Steam and EOS paths are discovered automatically. EOS is tested; Steam is not yet tested. Unsupported game builds or save states may be rejected. The repository includes .python and .venv: after cloning, run start.cmd without installing Python. Using a separate system interpreter requires 64-bit Python 3.9+, cryptography, and the bundled decoder. Python 3.11 x64 is the tested environment.
References / 引用
- Oodle DLL:
bin/oodle-data-shared.dllcomes from WorkingRobot/OodleUE, release 2026-06-04-1357, assetclang-cl-x64-release.zip. See the upstream EULA notice. Inclusion does not grant additional redistribution rights; redistribution authorization has not been independently verified. - 格式与工具参考 / Format and tools: Duucking/pbz-save-editing-guide.
- 格式交叉参考 / Format cross-reference: fancydirty/phantom-blade-zero-save-format.
- Bundled Python and dependency license materials remain inside their runtime/distribution directories. No game executable, encryption key, or personal save is included.
Unofficial tool, not affiliated with S-GAME. / 非官方工具,与 S-GAME 无关联。