The 2026-11-28 patch (Steam build 26936481, CL-304629_JKS-17496) moved every pinned function and shrank the script table from 241 to 221 rows (198 project scripts). The byte validator is unchanged; the lookup, text validator, normalizer and free helper only changed their relative calls. - build_profile.hpp: new exe hash, image size, timestamp, RVAs, counts and function digests. - verify_build.py reads the validator RVAs from the profile instead of fixed numbers. - Version 1.3; README, openmods files and mod.json name the new build. Offline: native tests and verify_build.py pass against the new PBZ.exe with UE4SS v4.0.0. The in-game test is pending.
53 lines
3.9 KiB
Markdown
53 lines
3.9 KiB
Markdown
# UE4SS C++ BYPASS
|
|
|
|
A Phantom Blade Zero update (2026-11-04, Steam build 26367565) made the game refuse any changed game script. Mods that work by replacing one of the game's own scripts (JavaScript pak mods) then broke the main menu. This mod lets those mods work again.
|
|
|
|
## What it does
|
|
|
|
- It lets JavaScript pak mods replace the game's listed project scripts and supply additional project JavaScript/JSON modules.
|
|
- It accepts additional modules only when the game's path normalizer places them inside the project script tree. Engine scripts and outside paths keep their original checks.
|
|
- It checks the exact game and UE4SS build before it does anything, and stays off on a build it does not know, so it never acts on the wrong version.
|
|
|
|
It is a helper for other mods. On its own it changes nothing you can see; it only lets compatible pak mods run.
|
|
|
|
## Screenshots
|
|
|
|

|
|
|
|
## How to install
|
|
|
|
1. Install UE4SS for Phantom Blade Zero, for example [UE4SS](https://github.com/KintaroModding/ue4ss). This mod works with UE4SS `v4.0.0` (the official release) and `v3.0.1-1195-g1ceefac8`.
|
|
2. Open the latest release on GitHub and download the zip.
|
|
3. From the zip, copy the `ue4ss` folder into the game's `platform\steam\` folder (next to the game's `PBZ.exe`). It adds `ue4ss\Mods\phantombladezero_cppbypass\`.
|
|
4. Put the JavaScript pak mods you want into the game's `ProjectPBZ\Content\Paks\~mods\` folder as usual.
|
|
5. Start the game.
|
|
|
|
To update, replace the folder with the one from the new release. To remove it, delete `ue4ss\Mods\phantombladezero_cppbypass\`. A full game restart is needed after you add, remove or replace this mod.
|
|
|
|
## Compatibility
|
|
|
|
- Game version: Steam build 26936481, patch 1.0304629 of 2026-11-28 (`CL-304629_JKS-17496`). Version 1.2 is for the older Steam build 26367565.
|
|
- Needs UE4SS for Phantom Blade Zero: `v4.0.0` or `v3.0.1-1195-g1ceefac8`. UE4SS v4.0.0 itself has no Phantom Blade Zero configuration yet (it comes with the next UE4SS release); use a package that adds it.
|
|
- PBZModLoader has the same function and needs no UE4SS. Running both at the same time is redundant, but it causes no problems. Other script loaders may conflict.
|
|
- After a game patch or a UE4SS update, this mod needs a new build with new offsets. Until that build exists, it stays off on the new version (safe), and the pak mods do not load.
|
|
|
|
## Known issues
|
|
|
|
- Experimental. Version 1.0 was tested in game with Animation Cancel and a map-marker mod. Version 1.1 adds support for new project modules, and version 1.2 adds UE4SS v4.0.0. Version 1.2 was tested in game on UE4SS v4.0.0, with Animation Cancel and with new project modules. Version 1.3 has the new offsets for patch 1.0304629; its in-game test is pending.
|
|
- Mods must still match the current game scripts. This bypass cannot restore removed modules referenced by an outdated startup script.
|
|
- It is pinned to one exact game build and two exact UE4SS builds. It will not act on any other.
|
|
|
|
## How to build
|
|
|
|
Anyone can build this mod from its source and check that the download matches it.
|
|
|
|
1. Install the portable MSVC toolchain into a folder named `msvc` at the project root (the downloader is linked in `README.md`).
|
|
2. Build it: `python tools/build.py`. This builds `dist/ue4ss/Mods/phantombladezero_cppbypass/dlls/main.dll` and runs the offline test.
|
|
3. Make the release zips: `python tools/package.py` (they land in `dist/`).
|
|
|
|
To check the build against your own game files: `python tools/verify_build.py <PBZ.exe> <UE4SS.dll>`.
|
|
|
|
## Credits
|
|
|
|
Made by KintaroModding. GNU General Public License v3 (see `LICENSE` and `NOTICE.md`). It includes MinHook (Tsuda Kageyu and contributors) and a small pinned subset of the UE4SS SDK headers (UE4SS contributors), each under its own license. PBZModLoader, by its own author, showed a folder-scoped way to do this; this mod is a separate, table-scoped design and neither includes nor needs it.
|