Changes between Version 16 and Version 17 of SC2ReplayFormat


Ignore:
Timestamp:
Aug 11, 2010, 9:22:45 AM (7 years ago)
Author:
mseifert
Comment:

Added documentation of replay.details data

Legend:

Unmodified
Added
Removed
Modified
  • SC2ReplayFormat

    v16 v17  
    174174  }}}
    175175In terms of memory efficiency, it might considered to use a dictionary/map for the 0x05 array type.
    176 }}}
     176
     177The following is a description of the respective data elements of replay.details. Indices separated with a comma represent nested arrays (e.g. 0.2 means that the element on position 0 contains another array, whose item at index 2 is described).
     178||'''Index'''||'''Type'''||'''Description'''||
     179||0||0x05||Base array||
     180||0.0||0x04||Array of player structs||
     181||0.0.x||0x05||Player struct||
     182||0.0.x.0||0x02||Player name||
     183||0.0.x.1||0x05||Probably some further details||
     184||0.0.x.1.0||0x09||Unknown||
     185||0.0.x.1.1||0x07||Unknown||
     186||0.0.x.1.2||0x09||Unknown||
     187||0.0.x.1.3||0x02||RealID||
     188||0.0.x.2||0x02||Localized race name||
     189||0.0.x.3||0x05||Array of player color values||
     190||0.0.x.3.0||0x09||alpha||
     191||0.0.x.3.1||0x09||red||
     192||0.0.x.3.2||0x09||green||
     193||0.0.x.3.3||0x09||blue||
     194||0.0.x.4||0x09||Unknown||
     195||0.0.x.5||0x09||Unknown||
     196||0.0.x.6||0x09||Handicap||
     197||0.0.x.7||0x09||Unknown||
     198||0.0.x.8||0x09||Probably team||
     199||0.1||0x02||Localized map name||
     200||0.2||0x02||Unknown||
     201||0.3||0x05||Array containing map preview file names||
     202||0.3.0||0x02||Map preview file name||
     203||0.4||0x06||Unknown||
     204||0.5||0x09||Probably save time of the replay||
     205||0.6||0x09||Unknown||
     206||0.7||0x02||Unknown||
     207||0.8||0x02||Unknown||
     208||0.9||0x02||Unknown||
     209||0.10||0x04||Likely something about the map file||
     210||0.10.0||0x02||Unknown||
     211||0.10.1||0x02||Unknown||
     212||0.11||0x06||Unknown||
     213||0.12||0x09||Unknown||
     214||0.13||0x09||Unknown||
    177215
    178216{{{#!div class="version2"