9/17/2023 0 Comments King exit replay![]() ![]() I should note here that replay files vary wildly between games, so what applies to one specific RTS game won't apply directly to other games, but the general principles should be similar, at least across RTS games.īefore we get into the details, let's start with the fun part: creating a replay file in the first place. but fortunately, I'm not the first to want to do this. Since no official description of Generals' replay file format has been published, I have to do it the hard way, and figure out the file format. One of the features I hope to support in OpenSAGE is being able to use replay files from the original Command & Conquer: Generals and Zero Hour games. It's often a long road from there, to fully understanding and being able to parse one of these files. For efficiency and IP-protection reasons, replay files are usually stored in a binary format, so if you open one of them in Notepad, all you'll see are a bunch of garbled characters. Have you ever saved a replay from, and wondered exactly what the replay file contains? I don't know how many people will answer "yes" to that question, but I'm one of them. TL/DR: In this post we'll examine C&C Generals replay (.rep) files in detail, figure out how they work, and then look at a very early implementation of a replay viewer that I've added to OpenSAGE. This post was originally published on Tim's blog. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |