On February 27 2025 11:11 vitika wrote:
Hi guys,
Just wondering if it's possible to reverse engineer the replay file? At the very least, can we change some basic metadata like Game date, map name, player name etc.?
I tried to open a typical .rep file with a HEX editor like HxD but it just shows gibberish. Maybe I have to choose a specific encoding?
I never edited a replay file so take what I say with a grain of salt. If this was me, I would first look into replay parsers online and see if they have writing features. If they don't then I would try to read the metadata of interest that you're looking for in the replay through the parser. Once you can read it, you can try to see how/where it was read and see if you can hex edit the values in the file as a starting point. Though I'm not sure if replays have a checksum that will corrupt the replay if you edit it that way though. In that case you will probably have to reverse engineer how the checksum is calculated and modify it accordingly to your edit.