Commit Graph
9 Commits
  • Add tools/repin_scan.py, the scan that found the 1.3 pins
    Read-only. Finds the two validators with the published PBZModLoader
    patterns, follows them to the lookup and prints the ranges and digests
    that build_profile.hpp pins. Not part of the player or source package.
  • Re-pin the bypass for game patch 1.0304629 (1.3)
    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.
  • Support UE4SS v4.0.0 in bypass 1.2
    UE4SS v4.0.0 (commit 30afe5ff) is the first official release since the
    1195 build this mod was made for. The two are 36 commits apart, and none of
    them touches the C++ mod interface: the pinned SDK headers are byte-identical
    at both commits, and all 17 UE4SS functions the mod imports exist in both
    DLLs. So one DLL serves both builds.
    
    - build_profile.hpp: the single UE4SS hash becomes a list of verified
      builds, v4.0.0 (3843d81a..., the official release zip) and
      v3.0.1-1195-g1ceefac8 (e1fb9a7e...).
    - compatibility.cpp: the startup check accepts a DLL from that list, logs
      "Verified UE4SS <build>", and still refuses any other UE4SS.dll.
    - verify_build.py: checks the given UE4SS.dll against the list and records
      which build it is.
    - prepare_sdk.py: pinned to v4.0.0; the regenerated headers are unchanged,
      only PROVENANCE.txt names the new commit.
    - Version 1.2; README, mod.json and the openmods files name both builds.
    
    Built with warnings as errors; the native hook test passes; verify_build.py
    passes against the game's PBZ.exe with either UE4SS.dll and refuses a wrong
    one. Not yet tested in game on v4.0.0.
  • Allow additional project JavaScript and JSON modules in bypass 1.1
    Normalize unlisted module paths with the game's pinned helper and release its
    FString output with the matching allocator. Keep engine and outside paths on
    original validation, log additional accepted modules, and test malformed paths
    and allocation cleanup through the production adapters.
    
    Update scope documentation and keep earlier gameplay results separate from a
    new DLL's pending game test. Native tests and offline verification pass.
  • Refresh verification records and remove stale installation note
    Preserve recorded gameplay results when rerunning offline verification.
  • Clean dist/ue4ss before building, so a renamed mod leaves no stale folder
    package.py globs dist/ue4ss into the binary zip; without this, the old
    phantombladezero_scriptcompat folder from before the rename shipped too.
  • Rename the mod slug to phantombladezero_cppbypass
    Rename phantombladezero_scriptcompat -> phantombladezero_cppbypass across
    mod.json (folder), the install/deploy/log paths, the GitHub URL in NOTICE.md,
    the build output path and the release zip names, and the docs. The display name
    "PBZ Script Compatibility" and the internal C++ class are unchanged. Build and
    both release zips verified under the new name.
  • Relicense under GPL-3.0 with section 7 terms and contribution files
    Replace the MIT license with the GNU General Public License, version 3 (LICENSE),
    mirroring KintaroModding/uemodmanager. Add NOTICE.md (the copyright line, the
    section 7 credit/marking/name terms, and the library notices, folding in the
    former THIRD_PARTY_NOTICES.md), CONTRIBUTING.md and CONTRIBUTORS.md. Update the
    README license and contributing sections and the build and package file lists.
  • Add experimental PBZ script compatibility C++ mod 1.0
    Hook the byte and text validators for the supported game build while retaining
    original validation for unknown paths and non-project records. Pin executable
    and UE4SS hashes, provide an MIT-licensed source package, and verify native
    adapters, supported prologues, import symbols and unsupported-build refusal.
    
    In-game startup and gameplay verification remain pending.