Announcement

Collapse
No announcement yet.

Is there a hex editor with multiple file compare?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a hex editor with multiple file compare?

    Hey guys n gals,

    Long time no see and all that.

    I've been playing about with some save files recently for Constructor on the PC and have been encountering the same problem as I occasionally run into when rom hacking as well namely that 2 saves generated moments apart have way too much differences to make comparing them a trivial task.

    I use HxD which has a decent enough compare function to be useful in most circumstances but every now and then, espiecally with RTS games or any game where there is a computer player, doing a comparison between 2 files yeilds so many results that iterating through them, changing their value and loading back in to see the results across all the differences takes forever. So what I was thinking is that an editor that could handle more than 2 files for comparison would make life much easier.

    Here's the problem I am facing and how I see it working incase you are uncertain:

    In Constructor you can build fences round a house by selecting the house, then the fence, then sticking a building team on it. Sadly the fence data isn't just a nice single value with the house data, it appears to be stored on a per tile basis which means it is all over the place. Doing a comparison between 2 files, one with the fence built and one with it not, produces a huge amount of differences and it takes ages to go through and test them all. So what I am thinking is if I could do a 3 way comparison or greater then I could make 2 saves with the fence unbuilt, a third with is built and then search for values that are equal in file A and B but different in file C.

    Anyone know if such a program exists? Would anyone else find this sort of program useful?

  • #2
    I made a simple commandline utility several years ago that may be of limited use:-

    http://www.mediafire.com/file/blg7ml6z5e7dovu/FIND.zip

    It's useful for finding basic byte differences, I made it when the MAME/MESS cheat engine had no cheat finding capabilities so it's quite MAME cheat centric.

    For file comparisons like you describe just run it with this commandline


    FIND 0 FILENAME1 EQ FILENAME2 NE FILENAME3

    It will handle lots of files....just keep adding more arguments to the commandline
    Pugsy's MAME Cheat Page : http://mamecheat.co.uk

    Comment


    • #3
      Nice that's just the sort of thing I'm looking for! Now if you would just be kind enough to add a gui, the ability to search for relative differences, searches over fixed distance from a certain offset, ability to cope with different file sizes and anything else you think would be useful that would be great.
      Last edited by RyanfaeScotland; 12-07-2011, 06:23:01 PM.

      Comment


      • #4
        .
        Last edited by xibalba; 11-22-2015, 05:35:45 AM.

        Comment


        • #5
          Thanks xibalba, although from what I can see HxD can only compare 2 files at a time. Can XVI32 or HeXecute do multiple file compare?

          Comment


          • #6
            .
            Last edited by xibalba; 11-22-2015, 05:35:25 AM.

            Comment


            • #7
              Winhex has it it's "tools, file tools, compare"
              http://consolemods.forumotion.ca/

              Comment


              • #8
                It may be bloated for what you're looking for, but there's IDM's UltraCompare.
                Please put all complaints in writing and submit them here.

                Above link not working? Try here.

                Comment


                • #9
                  Originally posted by rimsky82 View Post
                  It may be bloated for what you're looking for, but there's IDM's UltraCompare.
                  I tried this just to see if it was better than HxD's limited comparison feature, but it was even less useful. HxD still takes the cake, despite being woefully inadequate. WinMerge has a plug-in for hex comparison (you've got to run a very old version of WinMerge to use it though, and even then it requires some mucking around and 'pretending' to be doing directory comparison, etc), but it's only marginally better than HxD, and worse in most normal uses (takes forever to get through the GUI to hex file comparison).
                  I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                  Comment

                  Working...
                  X