Is there a way to view coh2 replays other that ingame?
Posts: 266 | Subs: 1
If so, what is the best media player to use?
Thank you
Posts: 4785 | Subs: 3
Posts: 1138 | Subs: 2
Posts: 2307 | Subs: 4
Posts: 2885
The replay file is basically a list of all commands executed that runs through the game. When you load up the file in a replay it's the ai executing all the same commands with the same rng rolls happening (basically). There's really no other way to play these without the game.
Just would like to add one thing. A game in the version that was used to play the match is needed. One can play it in other version, but as the game is being replayed live, different stats will couse different outcome or a desync. That is why replays from different versions are hidden unless you run the game with some special parameter.
Also, in case OP would wonder about that, the game uses pseudorandom algorithm for the generation of rng rolls, so the file doesnt have to contain results of rng rolls, it simply contains the initial seed.
Posts: 4785 | Subs: 3
Posts: 1044 | Subs: 1
The replay file is basically a list of all commands executed that runs through the game. When you load up the file in a replay it's the ai executing all the same commands with the same rng rolls happening (basically). There's really no other way to play these without the game.
That seems like a really complicated way to do replays.
Posts: 2885
That seems like a really complicated way to do replays.
As far as I know all rts games do that the same way. Why do you think it's complicated? Did you come up with a better idea?
Posts: 1044 | Subs: 1
As far as I know all rts games do that the same way. Why do you think it's complicated? Did you come up with a better idea?
idk I'm not really someone who would understand this type of stuff I guess it makes the most sense instead of other alternatives
just seems to limit possible 3rd party replay programs you see in other genres
Posts: 1740
That seems like a really complicated way to do replays.
It is not. In fact this technique is extremly efficient. If you look at the demo file, it is usually around 100kb big. And that is for a file that represents a Full HD "video" with lengths of up to an hour and more.
Movies like this are usually about 5-6 GB big. That is more than 80.000 times the file size.
Instead of telling the screen each frame (usually 60 per second) the position of each and every pixel, you can simply say "Gren Squad moved from Position A to B at 0:12" and that's it.
Posts: 1044 | Subs: 1
It is not. In fact this technique is extremly efficient. If you look at the demo file, it is usually around 100kb big. And that is for a file that represents a Full HD "video" with lengths of up to an hour and more.
Movies like this are usually about 5-6 GB big. That is more than 80.000 times the file size.
Instead of telling the screen each frame (usually 60 per second) the position of each and every pixel, you can simply say "Gren Squad moved from Position A to B at 0:12" and that's it.
huh I never thought about it that way, so basically, instead of trying to upload a file with all the gameplay in it it just has commands to "replay" the match while keeping the file small.
Thanks, Ive never been that good at this stuff so its nice to learn about it.
Posts: 1740
huh I never thought about it that way, so basically, instead of trying to upload a file with all the gameplay in it it just has commands to "replay" the match while keeping the file small.
Thanks, Ive never been that good at this stuff so its nice to learn about it.
You're welcome! I also find that topic quite interesting.
Of course the file is not written like a book, but the basic things apply.
I think the file probably has some kind of a header where the basic information is stored, like player name, ID, faction, loadout, map, etc. And then there's the content which contains the "replay"
It probably is more something like this:
Player0|1|AMove|22.54,12.99|121
From left to right this would then be
ID of the player | ID of the unit of selected player | Command Type | Coordinates | Timestamp
As I never looked to these files, this is probably wrong in terms of markup. But the theory is probably correct (Also there are probably a lot more contents aswell)
Posts: 2307 | Subs: 4
That seems like a really complicated way to do replays.
It's too simple tbh. That's why you can't rewind.
Posts: 607
Posts: 1740
This method of replay has been around since the original Doom, if not earlier. Great way, but unfortunately, no way to go "backward".
As far as I know, Age of Empires and League of Legends can.
Posts: 17914 | Subs: 8
As far as I know, Age of Empires and League of Legends can.
Because they do not use same methods nor damage the map in permanent way.
There are 2 ways to do replays, what coh does with list of commands being executed in an order(and RNG outcomes playing as they did), or pretty much a 'video' kind of thing akin to SC2 replays.
Posts: 1740
Because they do not use same methods nor damage the map in permanent way.
This is correct, I didn't think about this.
Posts: 10665 | Subs: 9
Because they do not use same methods nor damage the map in permanent way.
There are 2 ways to do replays, what coh does with list of commands being executed in an order(and RNG outcomes playing as they did), or pretty much a 'video' kind of thing akin to SC2 replays.
But as you recall, there was a video playback version for COH1, which was not translated onto the Steam version of COH1, and video replays never appeared on COH2 at all.
Why would that be, do you think?
Posts: 1273
Posts: 2307 | Subs: 4
But as you recall, there was a video playback version for COH1, which was not translated onto the Steam version of COH1, and video replays never appeared on COH2 at all.
Why would that be, do you think?
We didn't even get a proper replay overlay for months after the game came out.
What a sorry state the game was back then.
Livestreams
26 | |||||
18 | |||||
112 | |||||
6 | |||||
4 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.35057.860+15
- 3.1110614.644+11
- 4.921405.695+5
- 5.634229.735+8
- 6.276108.719+27
- 7.306114.729+2
- 8.262137.657+3
- 9.1045675.608+3
- 10.722440.621+4
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
6 posts in the last week
34 posts in the last month
Welcome our newest member, manclubgayote
Most online: 2043 users on 29 Oct 2023, 01:04 AM