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('