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
12 | |||||
166 | |||||
11 | |||||
4 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.615222.735-2
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
5 posts in the last week
33 posts in the last month
Welcome our newest member, softhealertech
Most online: 2043 users on 29 Oct 2023, 01:04 AM