Changes between Version 4 and Version 5 of SC2ReplayFormat


Ignore:
Timestamp:
Apr 1, 2010, 5:02:24 PM (11 years ago)
Author:
mseifert
Comment:

Added table of contents

Legend:

Unmodified
Added
Removed
Modified
  • SC2ReplayFormat

    v4 v5  
    11= Sc2Replay =
     2[[TOC]]
    23WARP currently supports the extraction of the following information from .SC2Replay files:
    34 * Player name
     
    2021||string||One byte that represents the length of the following string. The string has as many characters, as the byte's value||
    2122||bytesX||A number of bytes whose functions and grouping are unknown, where X represents the number of bytes.||
     23||time offset||''Definition yet to be provided.''||
    2224
    2325All types are Big-Endian.
     
    2628This file contains information about the players and the game in general. All offsets are relative to the described block, unless specified otherwise.
    2729
     30==== Players ====
    2831The first part of this file simply stores the player names.
    2932
     
    3841The unknown values always seem to be 0, except for the last two players. The name of the second last player is always an empty string, the name of the last player is always "Dflt".
    3942
     43==== Map ====
    4044The player block is followed by:
    4145||'''Offset'''||'''Type'''||'''Description'''||
     
    5357||time information + 2||bytesX||Bytes storing information on the respective action. The size seems to depend on the action code.||
    5458
    55 Action codes:
     59==== Action codes ====
     60Action codes are unique identifiers that distinguish one action from another. They are 1 byte long.
     61
     62Known action codes are:
    5663||'''Action code'''||'''In-game action'''||
    5764||0x0B||Usage of any kind of ability or assignment of orders. Includes constructing buildings, training units, moving, attacking, gathering resources, and so on.||
     
    5966||0xAC||Selection or deselection.||
    6067
    61 To distinguish abilities or orders, a 3 byte identifier for each order is used. These 3 bytes will be called the "ability code":
     68==== Ability codes ====
     69To distinguish abilities or orders, a 3 byte identifier for each order is used. These 3 bytes will be called the "ability code".
     70
     71Known ability codes are:
    6272||'''Ability code'''||'''Ability'''||
    6373||0x020400||Stop||