Broodwar .rep File Format

290 views
Skip to first unread message

Titus Barik

unread,
Jul 20, 2011, 12:23:00 PM7/20/11
to bwapi
Hello,

I'm not sure where the appropriate place to post this message is, so
please let me know if there is another discussion forum that is a
better fit.

I was wondering if the .rep (replay) file format was documented
somewhere, but I couldn't easily find it. I am aware that BWChart is
open source, so the fall-back option may be to look through the source
code.

Currently, we have our BWAPI agents log certain information to file
during game play, but some of this appears to be repetition that could
be extracted from the replay file as well for post-processing.

Thanks,

Titus

Krasimir Krystev

unread,
Jul 21, 2011, 3:28:01 AM7/21/11
to bw...@googlegroups.com
Hi,
You should join http://webchat.quakenet.org/?channels=BWAPI 
where you could find other ppl to discuss how they deal with the .rep files for processing purposes.
Regards
--
BR

gabriel synnaeve

unread,
Jul 21, 2011, 4:01:05 AM7/21/11
to bw...@googlegroups.com
On Wed, Jul 20, 2011 at 6:23 PM, Titus Barik <ti...@barik.net> wrote:
> Hello,
> I was wondering if the .rep (replay) file format was documented
> somewhere, but I couldn't easily find it. I am aware that BWChart is
> open source, so the fall-back option may be to look through the source
> code.
Unfortunately, there is no documentation, BWChart code is the way to
go. And follow Krasi0's advice. :)


Gabriel

Heinermann

unread,
Jul 21, 2011, 4:15:22 PM7/21/11
to bwapi
There is partial documentation.

Packed:
http://code.google.com/p/vgce/source/browse/trunk/docs/Blizzard/Starcraft/replay.txt

Look for the "PKWare" library project in one of Shadowflare's projects
and use that to unpack/repack replays.

Unpacked:
http://code.google.com/p/vgce/source/browse/trunk/docs/Blizzard/Starcraft/replayHeader.txt
http://code.google.com/p/vgce/source/browse/trunk/docs/Blizzard/Starcraft/packets2.txt

You will have to figure out the rest, though I will be online later
and might be able to help out.

On Jul 21, 4:01 am, gabriel synnaeve <gabriel.synna...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages