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...


In reply to Re: Re: Re: 'parsing' a binary file? by Popcorn Dave
in thread 'parsing' a binary file? by BUU

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.