- Nibbits
- StarCraft 2
- Forums
- Tools
- Replay event parsing
- New Reply
Post Reply
If you were logged in you would gain 3 XP for posting a reply.
You are replying to:
Support Nibbits by linking to us:
If you were logged in you would gain 3 XP for posting a reply.
Support Nibbits by linking to us:
All I know on game events is this :
Start OPcode
* 00 01 1B, player1 initial
* 00 02 1B, player2 initial
* 00 10 05, game start
Action OPcode
* Accumulate Frames, 1~N bytes, Big Endian
* Player, 1 byte, 0x21 or 0x61 -> player1
* OpCode, 1 byte
OPCodes
* 0x81, Move Camera
** X, 4 bytes
** Y, 4 bytes
** Hor, 4 bytes
** Vet, 4 bytes
** Unknown, 4 bytes
* 0x0B, Unit Action, like building, morph, research, upgrade, order, ability
* 0x3C,
* 0xAC, Select Unit
* 0x0D,
* 0x1D,
By the way, did you manage to get the winner of the game ? I tried hard but did not found anything :/
If you would like to port your code to C++, fo not hesitate to ask a developer account on the google code repo. It would definitely be cool to have a global parsing effort available in a single library!