|
Re: Comparing two files and adding the difference to another
07/30/17 08:16 PM
|
|
|
> Beyond Compare can do a side-by-side compare files as binary but I don't think it can > be automated beyond replacing using regular expressions. This might be enough for > what you're trying to do. > > https://www.scootersoftware.com/ > > If not, it sounds like maybe you'd need to write a custom program (as in Java or C++) > to do what you're trying to do. Do you code?
I don't code unfortunately (I'm limited to patching code such as in MAME, it's trivial to rearrange or duplicate code that is already there e.g. adding ROMs).
I have Hex Workshop which also compares files, but I could really do with a program which could automatically add single 0x0D bytes into the other file after comparing both. I'm currently in the process of hand-fixing koalamnt but it's a pain to do it manually because the source ROM is a bad dump (most of the koalamnt ROMs have bad bytes between 6C000-70000 except u8 which is bad between 2C000-30000 - u10 and u14 seem to be OK), so I have to not only go through both files but fix the bad dump and hope that I don't stuff everything up by missing a 0D in the process. I have (hopefully) hand fixed 3 ROMs in the set so far but I am not really confident, at least until the game boots to graphics, because that means the three internal checksums are passing and there are no errors at all!
Update: Game is now fixed and working!
Edited by Heihachi_73 (07/30/17 10:08 PM)
|
|