些许修改

This commit is contained in:
riseforever2026
2026-10-02 21:42:55 +08:00
parent 79bf4cdbf2
commit d4dff20600
10 changed files with 297 additions and 307 deletions
+5
View File
@@ -859,6 +859,11 @@ _dedup = {}
for _p in plan:
_dedup[_p['name']] = _p
plan = list(_dedup.values())
# 同一槽位(偏移)只留最后一条:不同组可能给同一个槽位起了不同名字
_byoff2 = {}
for _p in plan:
_byoff2[_p['offset']] = _p
plan = list(_byoff2.values())
patch, rollback = bytearray(), bytearray()
for key, ino in all_items:
new, old = new_blobs[key], s4.read(ino)