in reply to Re: 'parsing' a binary file?
in thread 'parsing' a binary file?

So basically, give up before i go insane?

Replies are listed 'Best First'.
Re: Re: Re: 'parsing' a binary file?
by Popcorn Dave (Abbot) on May 31, 2002 at 00:11 UTC
    No, close :)

    Your best bet is probably to try to contact the author of the original program, explain to them what you're trying to do, and ask for their data structure.

    Failing that, I remember seeing an article on cracking Turbo Pascal data structures years ago. The jist of it was to know how the data structures were stored. Different variables had different byte representations.

    So, what I'd do if all else failed would be to run the hex editor on the original program, see what language it's written in, and then go from there and see if that gets you anywhere.

    Hope that helps!

    Couple of links from a google search that may help as well:

    REC Decompiler Home Page
    <a href="http://tsehp.cjb.net/>Last Fravia's mirror of Reverse code engineering

    Some people fall from grace. I prefer a running start...

Re: Re: Re: 'parsing' a binary file?
by jmcnamara (Monsignor) on May 31, 2002 at 00:02 UTC

    In short, yes. :-)

    Seriously, it is possible to reverse engineering a binary file format but it is a long slow process.

    On the other hand, if there is documentation available then dealing with binary files can be quite easy thanks to the venerable pack and unpack.

    --
    John.

    A reply falls below the community's threshold of quality. You may see it by logging in.