From f444a5e026b66445ae2004c1aac1bbe296f2d271 Mon Sep 17 00:00:00 2001 From: KintaroModding <343497502+KintaroModding@users.noreply.github.com> Date: Wed, 4 Nov 2026 15:58:31 +0100 Subject: [PATCH] Refresh verification records and remove stale installation note Preserve recorded gameplay results when rerunning offline verification. --- README.md | 2 -- tools/verify_build.py | 8 ++++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8b703a3..c077c80 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,6 @@ unpatched. Future game or UE4SS updates require a reviewed compatibility update. for the mod's script. Confirm that menu labels display normally and the mod's gameplay change works. A hook log alone does not establish gameplay success. -This development session has not installed the DLL or changed game files. - To remove it, close the game and remove only this mod's folder. A full restart is required after enabling, disabling or replacing this mod. Runtime unload disables the hooks but retains trampoline memory and pins the DLL until exit so diff --git a/tools/verify_build.py b/tools/verify_build.py index 24d24a3..718e9c1 100644 --- a/tools/verify_build.py +++ b/tools/verify_build.py @@ -14,6 +14,7 @@ ROOT=Path(__file__).resolve().parents[1] parser=argparse.ArgumentParser() parser.add_argument('game',type=Path) parser.add_argument('ue4ss',type=Path) +parser.add_argument('--game-test-result', help='Record an observed game-test result; does not launch the game') args=parser.parse_args() profile=(ROOT/'src/build_profile.hpp').read_text() report={} @@ -56,6 +57,9 @@ for dep in mod.DIRECTORY_ENTRY_IMPORT: assert report.get('verified_ue4ss_imports')==17 report['dll_sha256']=hashlib.sha256(dll.read_bytes()).hexdigest() report['dll_bytes']=dll.stat().st_size -report['game_test']='PENDING; game was not launched or modified' -(ROOT/'research/verification.json').write_text(json.dumps(report,indent=2)+'\n',encoding='utf-8') +report_path=ROOT/'research/verification.json' +previous=json.loads(report_path.read_text(encoding='utf-8')) if report_path.exists() else {} +report['game_test']=args.game_test_result or previous.get( + 'game_test','NOT ASSESSED; this tool performs offline verification only') +report_path.write_text(json.dumps(report,indent=2)+'\n',encoding='utf-8') print('PASS: pinned executable hashes, ASLR-independent code digests, DLL exports and UE4SS imports')