I went to make an issue for this and it already existed. I think the approach I want to take for this is that when running bun intex.ts, once the patch is complete I can go through and scan the resulting Miku2.bin file and compare it to the original MML2.bin file.
The result should be that for the start of a given offset, i can set where the bytes are different and how many bytes are different. This should give me a clean list of bytes that I can apply to an unpatched version of the game later.
I went to make an issue for this and it already existed. I think the approach I want to take for this is that when running
bun intex.ts
, once the patch is complete I can go through and scan the resultingMiku2.bin
file and compare it to the originalMML2.bin
file.The result should be that for the start of a given offset, i can set where the bytes are different and how many bytes are different. This should give me a clean list of bytes that I can apply to an unpatched version of the game later.