Repository navigation
PBZModLoader 2.0.0
The Chinese version is further down. / 中文版在下方。
A much smaller install: one DLL and one license file in the game. No UE4SS, no Node.js, no compiler.
This is an official fork of PBZModLoader by LKF, under GPL-3.0. Please report problems with this fork here, not to the author. Every change is in FORK.md.
What is new
- The loader's scripts are inside the DLL, and mods load directly from
ProjectPBZ/PBZModLoader/mods/, with no copies. A run writes one file:loader.log. - Pak mods that change game scripts work again, without another tool.
[Loader] AllowScriptPaks=0inmods.initurns this off. mods.iniis optional.- If another tool hooked the game's script check first, the loader still starts.
Downloads
PBZModLoader-2.0.0-win64.zip: for players. It holds all five entry DLLs. Install only one: the install guide inside says how.PBZModLoader-2.0.0-win64.zip.manifest.json: the file list and hashes, for mod managers.PBZModLoader-2.0.0-developer.zip: the TypeScript template and SDK, for mod authors.
Before you update
- Mods must ship JavaScript. The loader no longer compiles TypeScript. A mod with only
main.tsdoes not run, andloader.logsays so. - From version 1.0.0: replace the DLL and remove
ProjectPBZ/Content/JavaScript/PBZModLoader/,ProjectPBZ/PBZModLoader/compiler/,ProjectPBZ/PBZModLoader/evidence/andProjectPBZ/PBZModLoader/TOOLCHAIN-LICENSE.txt. Keepmods/andmods.ini. - The log is now
ProjectPBZ/PBZModLoader/loader.log, and it starts new with each game start.
Tested
In the game on Steam build 26367565 with version.dll: alone, with UE4SS and its mods, with UE4SS C++ BYPASS, with a mod made for this loader, with a pak mod that changes a game script, and with Alt+F5. The spare DLLs and WeGame passed no game test in this fork.
体积更小的安装:游戏中只需一个 DLL 和一个许可证文件,无需 UE4SS、Node.js 或编译器。
这是 LKF 的 PBZModLoader 的官方分支,遵循 GPL-3.0。本分支的问题请在此反馈,不要反馈给原作者。所有改动见 FORK.md。
新内容
- 加载器脚本已内置于 DLL,MOD 直接从
ProjectPBZ/PBZModLoader/mods/加载,没有副本。运行时只写入一个文件:loader.log。 - 修改游戏脚本的 pak MOD 重新可用,无需其他工具。可在
mods.ini中设置[Loader] AllowScriptPaks=0关闭。 mods.ini现在是可选的。- 即使其他工具先挂钩了游戏的脚本校验,加载器仍可启动。
下载
PBZModLoader-2.0.0-win64.zip:玩家使用,包含全部五个入口 DLL。只安装其中一个,方法见包内安装说明。PBZModLoader-2.0.0-win64.zip.manifest.json:文件清单和哈希,供 MOD 管理器使用。PBZModLoader-2.0.0-developer.zip:TypeScript 模板和 SDK,供 MOD 作者使用。
更新前请注意
- MOD 必须提供 JavaScript。 加载器不再编译 TypeScript。只有
main.ts的 MOD 不会运行,loader.log会说明原因。 - 从 1.0.0 更新: 替换 DLL,并删除
ProjectPBZ/Content/JavaScript/PBZModLoader/、ProjectPBZ/PBZModLoader/compiler/、ProjectPBZ/PBZModLoader/evidence/和ProjectPBZ/PBZModLoader/TOOLCHAIN-LICENSE.txt。保留mods/和mods.ini。 - 日志现在是
ProjectPBZ/PBZModLoader/loader.log,每次启动游戏时重新生成。
测试情况
已在 Steam 构建 26367565 上使用 version.dll 进行游戏内测试:单独运行、与 UE4SS 及其 MOD 同时运行、与 UE4SS C++ BYPASS 同时运行、运行为本加载器制作的 MOD、运行修改游戏脚本的 pak MOD,以及 Alt+F5。备用 DLL 和 WeGame 尚未在本分支进行游戏内测试。