[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

RE: XG Reader, XG file format

Posted By: eXtreme Gammon
Date: Wednesday, 10 August 2011, at 2:01 p.m.

In Response To: XG Reader? (Question also for Xavier) (Higonefive)

I can see the value of a reader program. however, like often, this is not a question of complexity, but a matter of finding spare time to do that.

As for the XG formet, this is not a secret. I did not publish the format because it is a rather complicated. A XG file contains in fact 4 files that are compressed together using Zlib.

  • the game file itself (Binary fixed size structure).
  • the rollout results (Binary fixed size structure).
  • the comments, in RTF format, delimited with CR+LF
  • a header record (1st record of the game) for quickly reading file information.

    On top of that the file is prefixed by a Rich Save Game structure (see here) which was a something Microsoft introduced in Vista, but dropped in Windows 7 (which is a pity, IMO, Vista user can see a thumbnail of the game and other information in the explorer such as player, length, match comment etc..)

    I will document the whole format one day.

  • Messages In This Thread

     

    Post Response

    Your Name:
    Your E-Mail Address:
    Subject:
    Message:

    If necessary, enter your password below:

    Password:

     

     

    [ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

    BGonline.org Forums is maintained by Stick with WebBBS 5.12.