Replay file format
Posts: 881
I know the general stuff, there are chunks with command data etc. But how should this data be interpreted? If I want to read command data and ability usage, how do I know what command was given, what ability was used? Someone out there must have the data!
Inverse, pingtoft?
Posts: 1164
Posts: 881
I found the source code of CoH2 Replay Tool and went from there. But yes, I learned the hard way that the format is no longer the same.
I see that Inverse's ReplayParser is more up to date, I'll have a look at that, thanks!!
It doesn't actually parse the tick data, but I think I can get what I need for the moment.
Why is this so hard. Relic please give us the source code for the replay writer, it'll make it so much easier :|
Posts: 461 | Subs: 1
Posts: 881
Posts: 1164
Posts: 881
Posts: 461 | Subs: 1
Yeah I'm having trouble figuring out the index of the steam-ids. I can see them but can't come up with a formula to calculate their index. It also seems like faction ids were changed from uint to a string. I got "aef" and "west_german" in the replay I'm looking at, followed by a "default" string a few bytes later??
stuff is pretty messy, the indexes are always getting changed from major patch to patch, better wait for something from relic (if they ever do) to make life easier. or you just gonna get all your work thrown out of the window by relic
Posts: 3421 | Subs: 11
west_german = OKW
soviet = Soviet
german = Ostheer
These are the faction names Relic uses internally.
Posts: 881
stuff is pretty messy, the indexes are always getting changed from major patch to patch, better wait for something from relic (if they ever do) to make life easier. or you just gonna get all your work thrown out of the window by relic
Yeah that's basically the impression I got.
Btw, how does CELO work? Does it read the unfinished replay file?
EDIT: Yes Janne, I know
Posts: 461 | Subs: 1
Yeah that's basically the impression I got.
Btw, how does CELO work? Does it read the unfinished replay file?
EDIT: Yes Janne, I know
No the replay files are only written when the game ends a match. CELO just reads the log files and uses them to detect players
Posts: 881
No the replay files are only written when the game ends a match. CELO just reads the log files and uses them to detect players
Ah, clever!
I was actually writing a small application to semi-automatically upload replays after a match, but just found out that CELO already does that.
So now I'm again in need of ideas for a hobby project..
Livestreams
268 | |||||
8 | |||||
2 | |||||
2 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.604217.736-1
- 3.34957.860+14
- 4.1109614.644+10
- 5.276108.719+27
- 6.305114.728+1
- 7.916405.693-2
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
8 posts in the last week
34 posts in the last month
Welcome our newest member, Falac851
Most online: 2043 users on 29 Oct 2023, 01:04 AM