MOD介绍
UE4SS PATCH FIX
Game patch 1.0302256 broke UE4SS for Phantom Blade Zero. Two files, and your UE4SS mods load again.
Since the 4 November patch (1.0302256), UE4SS for Phantom Blade Zero can't start: its UE4SS.log fills with "Was unable to find AOB for 'GNatives'" and "... 'GUObjectArray'", and no UE4SS mod loads. This fix replaces the two files UE4SS uses to find those engine globals, and every UE4SS mod works again.
What it is
• Two small Lua files for ue4ss\UE4SS_Signatures: GNatives.lua and GUObjectArray.lua. Nothing else is changed.
• They pin no addresses. Each finds the engine code that uses the global, reads the address from that code, and accepts it only when several separate checks agree (the object array: five other references in the same code must point inside it; the bytecode table: it must lie inside the game's exe, with all 255 handlers pointing into the exe).
• Works on the launch build and on patch 1.0302256, and should keep working after later patches as long as those two engine functions don't change.
• Tested on patch 1.0302256: run against the patched exe, they find exactly the addresses UE4SS needs, and with those addresses UE4SS starts in game and Lua mods (Phantom Tweaks, Hundred Blades) run.
Requirements
• UE4SS for Phantom Blade Zero by Vercadi, installed (dwmapi.dll and the ue4ss folder next to the big PBZ.exe in PBZ\platform\steam).
Installation
• Install UE4SS for Phantom Blade Zero if you haven't.
• Extract this zip into the game folder (...\steamapps\common\PBZ, the one with "platform") and let it overwrite the two files in PBZ\platform\steam\ue4ss\UE4SS_Signatures. Vortex works too.
• Start the game. ue4ss\UE4SS.log now says "[UE4SS Patch Fix] GUObjectArray found" and "GNatives found", and your mods start.
FAQ
Do I need it if I haven't updated the game?
No harm either way: it works on the launch build too.
What when UE4SS for Phantom Blade Zero gets its own update?
Install it: its files replace these, which is fine. Or keep these: they work on both builds.
I use another UE4SS package (OFFICIAL UE4SS for PBZ, or KarmaP12's).
This fix is for UE4SS for Phantom Blade Zero by Vercadi. The other packages find these globals their own way.
Still not loading?
Post the first 40 lines of ue4ss\UE4SS.log in the comments.
Credits
• Vercadi, for UE4SS for Phantom Blade Zero, which this fix is for
• The UE4SS team
• Fix by Squiffles1 (Phantom Tweaks, Style Rank)
