Skip to content

replay.attributes.events

Graylin Kim edited this page Jan 18, 2012 · 1 revision

replay.attributes.events

The replay.attributes.events file starts with a 4 byte header for builds < 17326 and a 5 byte header for builds >=17326. All these bytes are null bytes and can be ignored. After the header is a 4 byte (little endian) integer indicating the number of attributes to follow. Integers (including this one) are not halved like they were in the [serialized.data] format.

Attribute Format

All attributes are 13 bytes long and all fields are expressed in little endian ordering:

  • 4 bytes: Attribute Header, always 0x00 00 03 E7
  • 4 bytes: Attribute ID
  • 1 byte: Player Number (1-8), 16 == global attribute
  • 4 bytes: Attribute Value

Known Attributes

The following is a list of known attribute id's:

0x01F4: Player Type

  • Humn => Human
  • Comp => Computer

0x07D1: Game Type

  • 1v1,2v2,3v3,4v4,FFA,6v6
  • Cust => Custom

0x0BB8: Game Speed

  • Slow,Fast
  • Slor => Slower
  • Norm => Normal
  • Fasr => Faster

0x0BB9: Player Race

  • RAND => Random
  • Terr => Terran
  • Prot => Protoss
  • Zerg => Zerg

0x0BBA: Player Color

  • tc01 => Red
  • tc02 => Blue
  • tc03 => Teal
  • tc04 => Purple
  • tc05 => Yellow
  • tc06 => Orange
  • tc07 => Green
  • tc08 => Light Pink
  • tc09 => Violet
  • tc10 => Light Grey
  • tc11 => Dark Green
  • tc12 => Brown
  • tc13 => Light Green
  • tc14 => Dark Grey
  • tc15 => Pink

0xBBB: Handicap

  • Just an integer indicating handicap percent

0xBBC: Difficulty

  • Easy,Hard
  • VyEy => Very Easy
  • Medi => Medium (Human player difficulty level)
  • VyHd => Very Hard
  • Insa => Insane

0x0BC1: Category

  • Priv => Private
  • Amm => Automatic Match Maker (ladder)
  • Pub => Public

0x07D2: Teams1v1

  • Only accurate when Game Type == 1v1
  • Value is 'T' + team number

0x07D3: Teams2v2

  • Only accurate when Game Type == 2v2
  • Value is 'T' + team number

0x07D4: Teams3v3

  • Only accurate when Game Type == 3v3
  • Value is 'T' + team number

0x07D5: Teams4v4

  • Only accurate when Game Type == 4v4
  • Value is 'T' + team number

0x07D6: TeamsFFA

  • Only accurate when Game Type == FFA
  • Value is 'T' + team number

0x07D8: Teams6v6 (?)

  • Only accurate when Game Type == 6v6
  • Value is 'T' + team number

Other Attributes

0x0BBF

  • Player attribute
  • Values seen: 'Part'

0x0BC0

  • Player attribute
  • Values seen: 'Obs'

0x07DB - 0x07E2

  • Player attribute
  • Value is 'T' + number
  • Appears to be position number in team. For example 0x07DC is position on team in 3v3 game

0x03E8

  • Global attribute
  • Values seen: 'Dflt'

0x0BC2

  • Global attribute
  • Values seen: 'yes'

0x07D0

  • Global attribute
  • Values seen: 't2'

0x0BBE

  • Global attribute
  • Values seen: '10'

0X03E9

  • Global attribute
  • Values seen: 'yes'
Clone this wiki locally