Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Binary File Comparison...

Binary File Comparison...

Scheduled Pinned Locked Moved The Lounge
question
12 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I ied

    Command Prompt: fc /b file1 file2 :)

    C Offline
    C Offline
    code frog 0
    wrote on last edited by
    #3

    No! Way! Tell me it's not that simple!!??!!??!! :-O Is there a GUI version? {Hmmm, now that I can probably Google.} :-\

    I 1 Reply Last reply
    0
    • C code frog 0

      Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

      As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

      M Offline
      M Offline
      M dHatter
      wrote on last edited by
      #4

      Just open up vs and use the binary reader and writer classes to compare bits in a loop. If a bit doesnt match up record its position and continue til you hit the correct bit. And i thought you were a coder. :P

      KISS "Keep It Simple, Stupid"

      1 Reply Last reply
      0
      • C code frog 0

        Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

        As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

        D Offline
        D Offline
        Donny Kurnia
        wrote on last edited by
        #5

        KDiff is a good tools. It can compare text and binary file, not just two but it can do three file comparation. See other feature here: http://kdiff3.sourceforge.net/doc/features.html

        1 Reply Last reply
        0
        • C code frog 0

          No! Way! Tell me it's not that simple!!??!!??!! :-O Is there a GUI version? {Hmmm, now that I can probably Google.} :-\

          I Offline
          I Offline
          ied
          wrote on last edited by
          #6

          Tsk tsk, kids these days. :-D fc is an old favorite standby of mine. -- Ian

          1 Reply Last reply
          0
          • C code frog 0

            Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

            As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

            M Offline
            M Offline
            mejax
            wrote on last edited by
            #7

            There is Beyond Compare.

            1 Reply Last reply
            0
            • C code frog 0

              Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

              As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

              G Offline
              G Offline
              Garth J Lancaster
              wrote on last edited by
              #8

              I second 'Beyond Compare' qv 'mejax's reply - its cheap and worthwhile having - can even produce html output of differences etc 'g'

              1 Reply Last reply
              0
              • C code frog 0

                Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

                As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

                D Offline
                D Offline
                DJ van Wyk
                wrote on last edited by
                #9

                I use the Compare by Content function in Total Commander, it's pretty and very useful.

                1 Reply Last reply
                0
                • C code frog 0

                  Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

                  As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

                  B Offline
                  B Offline
                  benjymous
                  wrote on last edited by
                  #10

                  010 editor[^] is incredibly useful - it can do binary diffs, but it's most handy feature is the ability to map C style structs[^] to your binary data so you can browse the structures in a far more human readable way. That's saved my bacon many times, believe me! (Ok, it's not free, but $50 isn't bank breaking, either, and there's a free trial to make up your mind!)

                  modified on Thursday, January 31, 2008 3:43:35 AM

                  L 1 Reply Last reply
                  0
                  • B benjymous

                    010 editor[^] is incredibly useful - it can do binary diffs, but it's most handy feature is the ability to map C style structs[^] to your binary data so you can browse the structures in a far more human readable way. That's saved my bacon many times, believe me! (Ok, it's not free, but $50 isn't bank breaking, either, and there's a free trial to make up your mind!)

                    modified on Thursday, January 31, 2008 3:43:35 AM

                    L Offline
                    L Offline
                    L Braun
                    wrote on last edited by
                    #11

                    or have a look at a free hex editor like HxD http://www.mh-nexus.de/[^]

                    1 Reply Last reply
                    0
                    • C code frog 0

                      Does anyone know of a reliable program that will let you do binary file comparison? I have a corrupted data file that is a week old and a good data file that is a month old. If possible I'd like to compare their binary formats and see if I can somehow repair the bad by looking at the good. If you have any suggestions that'd be cool. I'm asking here instead of Google because I need to know of a program that for sure does what I'm asking. So I'm hoping someone here has tried what I am suggesting and can recommend a good tool if such a thing even exists. I tried ultra compare but it wasn't "the droid I was looking for".:rolleyes:

                      As this has a 'real world' flavor to it. If I can find something that does what I'm asking I promise an article. It's just too cool an idea to not delve into.:cool:

                      K Offline
                      K Offline
                      krmed
                      wrote on last edited by
                      #12

                      Another excellent tool that will do binary (or other) file comparison and MUCH more is called Hex Workshop. For a programmer, it's really a handy tool. It's not totally free, but you can download the 30-day trial from www.bpsoft.com[^] and if you decide to purchase, it's only $49.95 (USD) for a single license.

                      Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups