Thanks to Alpha build !
Here is some enums : privatepaste.com :: Paste ID 49e1885ad6
Thanks to Alpha build !
Here is some enums : privatepaste.com :: Paste ID 49e1885ad6
Thank you.
How to tell if the structure is in replay.detail or another?
When I parse byte, eg replay.detail file; How do I know that the Struct or Enum type is represented by the byte 0x05 for example?
Guess it
I mean, there is no way that will tell you "it's this struct / enums -> !!!" (until they are really dumb and let way too much info in the binary), just guess it from what you see
:/
I am trying to write an API to parse replays. I am using this data structure for the moment:
My analysis :
0x02
Byte String : ok
0x04
Array Object : Here big problem, with a hex editor i see two types of template; 0x04 0x01 0x00 so it's ok but i see lot of 0x04 0x1 ... and here i don't know if it's Array Object or another
0x05 :
Key-Value Object : I think it's ok here too
....
0x09 :
VLF integer ? same algorithm as SC2 ?
Depending on the replays, I get random results, I see pass datas but they are not all well-structured time.
So I think that my analysis is wrong and I am unable to move: /
I have no idea how replay work, can't help you much on that subject