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.
30 lines
1.6 KiB
C++
30 lines
1.6 KiB
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <cstddef>
|
|
namespace compat::profile {
|
|
inline constexpr char game_sha256[] = "044f0c0436ea59b09c542a06cf7efda6d79513c6694e8718c5dfff57745d4bf7";
|
|
// Verified UE4SS.dll builds. The pinned SDK headers and all 17 imported UE4SS exports are identical in both.
|
|
struct Ue4ssBuild { const char* name; const char* sha256; };
|
|
inline constexpr Ue4ssBuild ue4ss_builds[] = {
|
|
{"v4.0.0", "3843d81a8280096b0de3c750eebf15507e374c250dc551cbf07e7be7acc1e2ba"},
|
|
{"v3.0.1-1195-g1ceefac8", "e1fb9a7e1d868afef6a091c2012e711c3ec47f05d100ba37f9631a4f75f31df2"},
|
|
};
|
|
inline constexpr std::uint32_t image_size = 0x1d40b000;
|
|
inline constexpr std::uint32_t timestamp = 0x6b072f6d;
|
|
inline constexpr std::uint32_t normalize_rva = 0x62b5b00;
|
|
inline constexpr std::uint32_t free_rva = 0x12e33f0;
|
|
inline constexpr std::uint32_t lookup_rva = 0x62b83f0;
|
|
inline constexpr std::uint32_t bytes_rva = 0x62c48b0;
|
|
inline constexpr std::uint32_t text_rva = 0x62c48f0;
|
|
inline constexpr std::uint32_t table_rva = 0xbeb09d0;
|
|
inline constexpr std::size_t record_count = 221, project_count = 198;
|
|
struct Function { std::uint32_t rva, size; const char* sha256; };
|
|
inline constexpr Function functions[] = {
|
|
{0x62b83f0, 0xc5, "a279545f87871515be033d264c60af6e0c569d888a1e0e007e6959aa3b316ca8"},
|
|
{0x62c48b0, 0x3d, "6524f51e4381b0a4451568d0d73ed2166b2c886cce418b5088468938b7ef0b7f"},
|
|
{0x62c48f0, 0x246, "e7fca94cf4ec093d5a6bce0a8309f36fa826aa28b5480d7667cf87620ab79aa5"},
|
|
{0x62b5b00, 0x291, "57e96b845b299247377553fc53cbd7eb36ce023b85f80ac07cca09c366da615b"},
|
|
{0x12e33f0, 0x34, "5fea0c4dd553f360ee69bf735305a9d4fe9184c820ec7aeff53abcbc39e70529"},
|
|
};
|
|
}
|