Changes between Version 7 and Version 8 of SC2ReplayFormat


Ignore:
Timestamp:
Apr 6, 2010, 12:39:27 PM (11 years ago)
Author:
mseifert
Comment:

Added grouping action codes. Corrected a mistake with the select action

Legend:

Unmodified
Added
Removed
Modified
  • SC2ReplayFormat

    v7 v8  
    6363||'''Action code'''||'''In-game action'''||
    6464||0x0B||Usage of any kind of ability or assignment of orders. Includes constructing buildings, training units, moving, attacking, gathering resources, and so on.||
     65||0x0D||Group 0||
     66||0x1D||Group 1||
     67||0x2D||Group 2||
     68||0x3D||Group 3||
     69||0x4D||Group 4||
     70||0x5D||Group 5||
     71||0x6D||Group 6||
     72||0x7D||Group 7||
     73||0x8D||Group 8||
     74||0x9D||Group 9||
    6575||0x81||Movement of the screen.||
    6676||0xAC||Selection or deselection.||
     77
     78===== Group actions =====
     79||'''Offset'''||'''Type'''||'''Description'''||
     80||0x00||byte||If the group is assigned, this byte's value is 0x00. If the group is selected, this byte's value is 0x02.||
     81||0x01||byte||Function unknown. Always seems to be 0x00.||
    6782
    6883===== Select action =====
     
    7287||0x02||byte||Function unknown.||
    7388||0x03||byte||Boolean value (Either 0x00 or 0x01). If the flag is set, the player's current selection will be discarded and the units described in this action will be the only units remaining in the player's new selection. If not set, the units of this action will be added to the player's selection.||
    74 ||0x04||byte||If this byte is 0x00, the action ends here. This only occurs, if units are deselected. Deselection in this case means that only some of the units in the player's current selection are deselected. In other words, if A is the player's current selection and B is the player's new selection, B is a subset of A. If this byte is not 0x00, however, it has something to do with the unit IDs.||
     89||0x04||byte||If this byte and the previous byte are 0x00, the action ends here. This only occurs, if units are deselected. Deselection in this case means that only some of the units in the player's current selection are deselected. In other words, if A is the player's current selection and B is the player's new selection, B is a subset of A. If this byte is not 0x00, however, it has something to do with the unit IDs.||
    7590||0x05||byte||Function unknown.||
    7691||0x06||byte||Function unknown. Probably an indicator for the selection type that occurred (left-click, shift-click, rectangle or ctrl-click).||