Script to output "Hex Compare Info"?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew
    New User
    • Oct 2008
    • 1

    Script to output "Hex Compare Info"?

    Hello,

    I apologize if this is a dumb question...

    I'm trying to write script that will compare two binary files and output the equivalent of "Hex Compare Info" in the GUI, and I can't figure this out.

    The closest that I can get is something like:

    file-report layout:statistics output-to:report.txt file1.exe file2.exe

    But it always performs a "Text Compare" - I've tried "compare binary" and "criteria binary" and those don't have any effect.

    Put another way, I'd like to perform a byte-wise comparison instead of a line-wise comparison - I can't figure out how it's arbitrarily deciding what constitutes a line in these binary files when doing the "Text Compare".

    Is it possible to do what I'm attempting?

    Thank you in advance for your help!

    Sincerely,
    Matthew
  • Zoë
    Team Scooter
    • Oct 2007
    • 2666

    #2
    Hi Matthew,

    Not a dumb question, but unfortunately an unsupported one. The FILE-REPORT command currently always generates text comparison reports. We want to switch it to support the other file viewers at some point, but it will be difficult to do. It's currently in the todo list, and I'll add a request for a HEX-REPORT command too, in case that's easier to support.
    Zoë P Scooter Software

    Comment

    Working...