Compare commits
@@ -0,0 +1,47 @@
|
||||
# pbz-cppbypass · 中文说明
|
||||
|
||||
> 本仓库是上游 [KintaroModding/phantombladezero_cppbypass](https://github.com/KintaroModding/phantombladezero_cppbypass) 的 Gitea 镜像(全量镜像,含 4 个 tag),**代码与版权归原作者**。
|
||||
> 中文说明与服务器构建记录由镜像方补充;许可证:GPL-3.0。
|
||||
|
||||
## 这是什么
|
||||
|
||||
UE4SS C++ 绕过模组。游戏 2026-11-04 更新后加了脚本完整性校验,改过 `project/` 脚本的 pak 会让主菜单直接崩;本模组用原生 hook 让游戏自己列出的 198 个脚本 + 模组新增的 JS/JSON 模块重新可用。
|
||||
|
||||
## 安装 / 使用
|
||||
|
||||
1. 需 UE4SS v4.0.0(或 v3.0.1-1195-g1ceefac8)。
|
||||
2. 把发布的 C++ 模组目录放到 `ue4ss/Mods/phantombladezero_cppbypass/`,在 `mods.txt` 里启用。
|
||||
3. 版本强绑定:Steam build `26936481` / patch `1.0304629`,`PBZ.exe` SHA-256 `044f0c04…`;不匹配不要硬用。
|
||||
|
||||
## 服务器构建(Linux,已实测)
|
||||
|
||||
服务器**没有 MSVC**,无法产出 Windows DLL,这里只构建源码包:
|
||||
```bash
|
||||
cd /opt/build/pbz
|
||||
tar czf dist/pbz-cppbypass/pbz-cppbypass-1.3-src.tar.gz --exclude=.git -C . pbz-cppbypass
|
||||
```
|
||||
构建失败原因与日志见 `dist/pbz-cppbypass/`(`tools/build.py` 强制使用项目内便携 MSVC,PATH/INCLUDE/LIB 全部指向 `msvc/`)。
|
||||
|
||||
## Windows 原生构建
|
||||
|
||||
```powershell
|
||||
cd phantombladezero_cppbypass
|
||||
python tools/prepare_sdk.py # 拉便携 MSVC + UE4SS SDK 到 tools/vendor、msvc/
|
||||
python tools/build.py # cl.exe 编译 + lib.exe 生成 UE4SS.lib
|
||||
python tools/package.py # 出发布 zip(mod.json 描述目录结构)
|
||||
python tools/verify_build.py # 校验产物
|
||||
```
|
||||
|
||||
## 版本与兼容
|
||||
|
||||
- 上游版本:`1.3`
|
||||
- 上游地址:https://github.com/KintaroModding/phantombladezero_cppbypass
|
||||
- 镜像时间:2026-11-30
|
||||
|
||||
## 注意
|
||||
|
||||
GPL-3.0:二次分发需同样开源。
|
||||
|
||||
---
|
||||
|
||||
*本文档由镜像方自动生成;构建步骤在服务器(OpenCloudOS 9 / x86_64)上验证。Windows 专属工具链(MSVC / .NET Framework / PowerShell)无法在 Linux 运行,已在对应小节注明。*
|
||||
Reference in new issue
Block a user