From 00f987dd380a19f63adf63f99690d8784f374783 Mon Sep 17 00:00:00 2001 From: hexkyz Date: Wed, 18 Mar 2026 21:18:05 +0000 Subject: [PATCH] erpt: types are now a byte in 22.0.0 --- utilities/erpt.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/utilities/erpt.py b/utilities/erpt.py index b5ed2663f..7f23d7fb4 100644 --- a/utilities/erpt.py +++ b/utilities/erpt.py @@ -344,7 +344,7 @@ def get_full(nxo): full = put_qword(full, offset, addend + LOAD_BASE) else: print('TODO r_type %d' % (r_type,)) - with open('E:\\full.bin', 'wb') as f: + with open('full.bin', 'wb') as f: f.write(full) return full @@ -415,10 +415,14 @@ def find_types(full, num_fields): KNOWN = range(10) + [4, 4, 2, 4] KNOWN_OLD = range(10) + [4, 4, 0, 4] try: - ind = full.index(''.join(pk('