Launch xdeltaUI.exe (or DeltaPatcher.exe ).
for op in patch_ops: if op[0] == 'COPY': f_patch.write(b'\x01') # opcode COPY f_patch.write(op[1].to_bytes(8, 'little')) # position f_patch.write(op[2].to_bytes(4, 'little')) # length else: # ADD f_patch.write(b'\x02') # opcode ADD f_patch.write(bytes([op[1]])) # single byte xdeltapatcher
Xdelta verifies that the source file is correct before patching. You can sometimes bypass this by checking Skip checksums in the options, but this often leads to a broken, unplayable file. Launch xdeltaUI
A translation group wants to release an English version of a Japanese-exclusive game. 'little')) # position f_patch.write(op[2].to_bytes(4