Changes between Version 8 and Version 9 of SC2ReplayFormat


Ignore:
Timestamp:
Apr 6, 2010, 1:28:27 PM (10 years ago)
Author:
mseifert
Comment:

Added information on game settings

Legend:

Unmodified
Added
Removed
Modified
  • SC2ReplayFormat

    v8 v9  
    3737||'''Offset'''||'''Type'''||'''Description'''||
    3838||0x00||string||Player name.||
    39 ||stringLength||bytes5||Unknown.||
    40 
    41 The 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".
    42 
    43 ==== Map ====
     39||string||bytes5||Function unknown. Always seems to be 0x00.||
     40
     41==== Game settings ====
    4442The player block is followed by:
    4543||'''Offset'''||'''Type'''||'''Description'''||
    46 ||0x00||bytes9||Unknown. Probably something that has to do with the map.||
    47 ||0x09||string||Some kind of checksum or hash. Usually 76 bytes long (75 without the length indicator of the string).||
     44||0x00||bytes5||Unknown.||
     45||0x05||string||Probably an indicator for a compression algorithm used somewhere. Always seems to be "Dflt".||
     46||0x05+string||byte||This byte contains some flags. If the alliances in the game are locked, the rightmost bit is set.||
     47||0x05+string+1||byte||Function unknown. Always seems to be 0x00.||
     48||0x05+string+2||byte||Byte indicating the game speed. 0x00 = Slowest, 0x01 = Slow, 0x02 = Normal, 0x03 = Fast, 0x04 = Fastest||
     49||0x05+string+3||bytes11||Function unknown.||
     50||0x05+string+14||string||Some kind of checksum or hash. Usually 76 bytes long (75 without the length indicator of the string).||
    4851
    4952=== replay.game.events ===
     
    6265Known action codes are:
    6366||'''Action code'''||'''In-game action'''||
     67||0x00||Unknown action. Randomly appears after other actions.
    6468||0x0B||Usage of any kind of ability or assignment of orders. Includes constructing buildings, training units, moving, attacking, gathering resources, and so on.||
    6569||0x0D||Group 0||
     
    7478||0x9D||Group 9||
    7579||0x81||Movement of the screen.||
     80||0x89||Unknown action.||
    7681||0xAC||Selection or deselection.||
    7782