Refresh verification records and remove stale installation note

Preserve recorded gameplay results when rerunning offline verification.
This commit is contained in:
KintaroModding committed 2026-11-04 15:58:31 +01:00
1 parent b2883bc4c4
commit f444a5e026
2 files changed
+6 -4

No files matched your search

-2
View File
@@ -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
+6 -2
View File
@@ -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')