Repository navigation
The Chinese version is further down. / 中文版在下方。
PBZModLoader now runs beside Mods Menu 0.9.0.
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
- Runs beside Mods Menu. With Mods Menu 0.9.0 or later in the game, both loaders run. Mods Menu starts its mods first, then this loader starts the mods in its own folder. Pak mods that change game scripts keep working.
- One new file in the game:
ProjectPBZ/Content/JavaScript/PBZModLoader/bootstrap.js, the start file. It is a 32 KiB placeholder: the loader's scripts still come from the DLL, which puts them in its place in memory. Mods Menu 0.9.0 runs beside the loader only when this file exists. Do not edit or delete it. - Without the start file, the loader works as 2.0.x did, and Mods Menu stays off.
Before you update
- From 2.0.x: close the game, replace the DLL and
LICENSES.txt, and add the start file: copyProjectPBZfrom the zip into the game folder. Keepmods/andmods.ini. - From 1.0.x: do the same, then remove the old files listed in the install guide. The new start file replaces the old
bootstrap.js, so do not delete the wholeContent/JavaScript/PBZModLoaderfolder. - Mods Menu: install it by hand from its own page. Versions before 0.9.0 conflict with this loader. Mods Menu uses
hid.dll, so do not use this loader's sparehidentry next to it.
Downloads
PBZModLoader-2.1.0-win64.zip: for players. It holds all five entry DLLs. Install only one: the install guide inside says how.PBZModLoader-2.1.0-win64.zip.manifest.json: the file list and hashes, for mod managers.PBZModLoader-2.1.0-developer.zip: the TypeScript template and SDK, for mod authors.
Tested
In the game on Steam build 26367565 with version.dll: the loader alone; with a pak mod that changes a game script; with Mods Menu 0.9.0; with a mod in PBZModLoader/mods; with a Mods Menu mod; and Alt+F5 with both loaders. The DLLs in this release are the tested ones. The spare DLLs and WeGame passed no game test in this fork.
PBZModLoader 现在可以与 Mods Menu 0.9.0 同时运行。
这是 LKF 的 PBZModLoader 的官方分支,遵循 GPL-3.0。本分支的问题请在此反馈,不要反馈给原作者。所有改动见 FORK.md。
新内容
- 可与 Mods Menu 同时运行。 游戏中装有 Mods Menu 0.9.0 或更高版本时,两个加载器都会运行。Mods Menu 先启动它的 MOD,然后本加载器启动自己文件夹中的 MOD。修改游戏脚本的 pak MOD 仍然可用。
- 游戏中新增一个文件:
ProjectPBZ/Content/JavaScript/PBZModLoader/bootstrap.js,即启动文件。它是一个 32 KiB 的占位文件:加载器的脚本仍来自 DLL,DLL 会在内存中用这些脚本替换它的内容。只有存在此文件时,Mods Menu 0.9.0 才会与本加载器同时运行。请勿修改或删除。 - 没有启动文件时,加载器的行为与 2.0.x 相同,Mods Menu 不会启动。
更新前请注意
- 从 2.0.x 更新: 退出游戏,替换 DLL 和
LICENSES.txt,并添加启动文件:将压缩包中的ProjectPBZ复制到游戏目录。保留mods/和mods.ini。 - 从 1.0.x 更新: 按上述步骤操作,然后删除安装说明中列出的旧文件。新的启动文件会替换旧的
bootstrap.js,因此请勿删除整个Content/JavaScript/PBZModLoader文件夹。 - Mods Menu: 请从其页面手动安装。0.9.0 之前的版本会与本加载器冲突。Mods Menu 使用
hid.dll,因此请勿同时使用本加载器的备用hid入口。
下载
PBZModLoader-2.1.0-win64.zip:玩家使用,包含全部五个入口 DLL。只安装其中一个,方法见包内安装说明。PBZModLoader-2.1.0-win64.zip.manifest.json:文件清单和哈希,供 MOD 管理器使用。PBZModLoader-2.1.0-developer.zip:TypeScript 模板和 SDK,供 MOD 作者使用。
测试情况
已在 Steam 构建 26367565 上使用 version.dll 进行游戏内测试:单独运行加载器;运行修改游戏脚本的 pak MOD;与 Mods Menu 0.9.0 同时运行;运行 PBZModLoader/mods 中的 MOD;运行 Mods Menu 的 MOD;以及两个加载器同时运行时的 Alt+F5。本版本中的 DLL 即为测试所用的 DLL。备用 DLL 和 WeGame 尚未在本分支进行游戏内测试。