MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Heihachi_73
I am the Table!
Reged: 10/29/03
Posts: 1074
Loc: Melbourne, Australia
Send PM
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)







Entire thread
Subject Posted by Posted on
* Comparing two files and adding the difference to another Heihachi_73 07/30/17 10:31 AM
. * Re: Comparing two files and adding the difference to another krick  07/30/17 02:05 PM
. * Re: Comparing two files and adding the difference to another Heihachi_73  07/30/17 08:16 PM
. * Re: Comparing two files and adding the difference to another redk9258  07/31/17 05:00 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 31 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1072