1

Fortnite has a feature that records your gameplay and saves it as a .replay file, now I don't believe these files are encrypted, only compressed.

I wasn't able to find a way online to decompress such files and I'd like to know how, and if there's a possibility of decompressing then re-compressing the files again. I'd like to also know if there's any suggestions to programs that does the job

Here's the beginning of the file in HexEditor hex

Link for the file (mediafire)

I've done some testing (replacing values and checking if anything changes) and found a few things: hex (Not sure if they would be any useful but thought I'd still share)

EDIT: I'm trying to end up with something like this hex

5
  • 2
    This file seems to be neither encrypted nor compressed, since it contains tons of ASCII strings - although binwalk indicates some parts of the file can be deflated in a valid way
    – Nordwald
    Commented Jan 25, 2019 at 11:38
  • Is there a way to make this type of files readable? Commented Jan 25, 2019 at 11:39
  • you'd most likely have to reverse the part of the game which parses this file format or make some pretty good assumptions about its structure. Since Fortnite is based on the unreal engine, heaving a look into this may help as well
    – Nordwald
    Commented Jan 25, 2019 at 11:43
  • This looks like a decent initial work on figuring out the format. Why have you stopped? were there any specific dificutlies you require assistance with? Right not it is unclear what's the actual question here. I would suggest you give a shot reverse engineering the code that either generates or parses the file format, too advance further.
    – NirIzr
    Commented Jan 27, 2019 at 11:40
  • I know that Fortnitetracker is able to unpack .replay files and read out its data. Here is an example fortnitetracker.com/replays/view/… I am not sure how they do it. You might be able to just ask them in their Discord server.
    – ExQlusiv3_
    Commented Feb 4, 2019 at 15:14

1 Answer 1

1

This file does not seem encrypted (lots of ASCII).

This is most likely based on the Unreal Engine 4's replay mechamisms

According to its documentation, is describes a starting state as well as any changes to this state in chronological order.

https://docs.unrealengine.com/en-us/Engine/Replay/Streamers#replaydataformat https://docs.unrealengine.com/en-us/Engine/Replay https://wiki.unrealengine.com/Replay_System_Tutorial https://api.unrealengine.com/INT/Engine/Replay/index.html

Since the source code of UE4 is available online, you could have a look at the sections writing and parsing those replays.

https://www.unrealengine.com/en-US/ue4-on-github

-> What exactly do you want to extract from these replays? If you want to generate videos, I recommend capturing the parts you want with third party software.

3

Not the answer you're looking for? Browse other questions tagged or ask your own question.