Au, acabat

This commit is contained in:
2026-01-27 17:35:30 +01:00
parent e05713ae2a
commit 39e5e8f70c
21 changed files with 505 additions and 65908 deletions
+23
View File
@@ -0,0 +1,23 @@
import sys
def load(path):
with open(path, "rb") as f:
return f.read()
if len(sys.argv) != 4:
print("Uso: python3 diff3.py A.srm B.srm C.srm")
sys.exit(1)
A = load(sys.argv[1])
B = load(sys.argv[2])
C = load(sys.argv[3])
if not (len(A) == len(B) == len(C)):
print("Los saves no tienen el mismo tamaño.")
sys.exit(1)
print("Offsets que cambian SOLO al abrir el armario:\n")
for i, (a, b, c) in enumerate(zip(A, B, C)):
if a != c and a == b:
print(f"Offset 0x{i:05X}: {a:02X}{c:02X}")