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
51 | |||||
13 | |||||
46 | |||||
26 | |||||
4 | |||||
4 | |||||
3 | |||||
1 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.841223.790+4
- 3.35157.860+16
- 4.599234.719+7
- 5.934410.695-1
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
12 posts in the last week
26 posts in the last month
Welcome our newest member, Eovaldis
Most online: 2043 users on 29 Oct 2023, 01:04 AM