comparing hex in more than 2 files?

Discussion in 'General Off-Topic Chat' started by Samutz, Jul 3, 2007.

  1. Samutz
    OP

    Samutz Wet Tissue Sample

    Member
    1,598
    2
    Oct 4, 2004
    United States
    See that hole in your wall?
    Does anyone know of any program that will compare hex in more than 2 files at a time?

    I've been using HexCmp, but it only supports up to 2 files at a time. Now I've got about 13 files that I'd like to compare at the same time if possible, but can't find anything that'll do more than 2.
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,713
    9,585
    Nov 21, 2005
    United Kingdom
    I doubt you will find anything as such a process would be hard (do you compare files 1 to 2,3 or 4 or 2 to 1,3 or 4........?) not to mention if you want something other than a straight offset in 1 = offset in 2 it would take a while.

    Depending on file size you have a few options:
    excel: output hex as text and stick it side by side in excel.
    copy /b : not ideal but if the files are similar and the same size (or you make them the same size) it might help narrow down stuff.
     
  3. Samutz
    OP

    Samutz Wet Tissue Sample

    Member
    1,598
    2
    Oct 4, 2004
    United States
    See that hole in your wall?
    Don't need offsets.
    Basically, I need to see whats the same between the files, viewed as hex.
    The files are binary files, about 200KB (all the same exact size).

    I tried writing a small program that would do it, but it ended up taking hours just to do the first 2 files. And even then I don't think it finished doing the whole thing. I'm gonna re-write it and try again though.