A tool to compare files with three tracks (Hex)?

I have a set of binary configuration files with three versions each - the original and two different versions of each file. I need to be able to see the differences between the two versions, as well as the original, at the same time.

I need a tripartite binary comparison tool. Thanks to a rather tedious Google search, I ended up with a screenshot of the application that does exactly what I need - unfortunately, the forum post containing the image does not mention which application it uses:

http://www.xboxhacker.org/index.php?topic=15032.0

Can someone point me towards an application (Windows) that provides binary-safe (hexadecimal) comparison of three binary files?

+5
source share
5 answers

Screenshot from Araxis Merge . Their professional version ($ 270) supports 3-way comparisons.

+2
source

Vim has a built-in diff tool that can compare any number of files. It also works on Windows. You can find it at http://vim.org .

The standard vim installation for windows includes xxd, which allows you to see binaries as text:

So, for example, if you try:

xxd xxd.exe

You'll get:

0000000: 4d5a 9000 0300 0000 0400 0000 ffff 0000  MZ..............
0000010: b800 0000 0000 0000 4000 0000 0000 0000  ........@.......
0000020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000030: 0000 0000 0000 0000 0000 0000 d800 0000  ................
0000040: 0e1f ba0e 00b4 09cd 21b8 014c cd21 5468  ........!..L.!Th
0000050: 6973 2070 726f 6772 616d 2063 616e 6e6f  is program canno
0000060: 7420 6265 2072 756e 2069 6e20 444f 5320  t be run in DOS 
0000070: 6d6f 6465 2e0d 0d0a 2400 0000 0000 0000  mode....$.......
0000080: 6ba7 bec3 2fc6 d090 2fc6 d090 2fc6 d090  k.../.../.../...

etc...

Thus, you can use xxdto upload your binary files to text files:

xxd orig > orig.txt
xxd mod1 > mod1.txt 
xxd mod2 > mod2.txt

vim diff:

vim -d orig mod1 mod2

- :

example of 3-way vimdiff

( , 3-way diff VIM)

Windows, .

Edit:

xxd xxd -r:

xxd -r merged_xxd_file merged_binary_file

xxd manpage

+8

ECMerge (, ), - diff ( HEX + ASCII). . , ( , ).

+1

p4merge, .

3 : . , , , .

, , .

p4merge example

, , , .

0

All Articles