forked from ascendedguard/sc2replay-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Replay.details Format
ascendedguard edited this page Dec 3, 2010
·
9 revisions
Initial credit goes to the starcraft2replay Project for it's well made description of an older version of the replay.details file. The description here has been modified to accommodate the newer format.
Here are a list of structs used within this file:
Most, if not all, counts in this file format are doubled in value. In most cases, you will need to divide the read value by 2 to get the true value.
Field name | Type | Count | Comments |
unknownHeader | uint8 | x 6 | No magic word. Is it version? |
doublePlayerCount | uint8 | x 1 | All counts are doubled in this file. |
playerInfo | playerDetailStruct | x (doublePlayerCount / 2) | Always x16 ? |
unknown1 | uint8 | x 2 | |
doubleMapNameLength | uint8 | x 1 | |
mapName | char | x (doubleMapNameLength / 2) | |
unknown2 | uint16 | x 1 | Always "04 02" ? |
doubleUnknown3Length | uint8 | x 1 | |
unknown3 | char | x (doubleUnknown3Length / 2) | |
unknown4 | uint8 | x 3 | Always "06 05 02" ? |
unknown5 | uint16 | x 1 | Always "00 02" ? |
doubleMinimapFilenameLength | uint8 | x 1 | |
minimapFilename | char | x (doubleMinimapFilenameLength / 2) | |
crap | char | x 28 | Might be variable length as everything in there is unknown. Starts with "08 06 01", ends with "10 02 00" |
param1 | keyValueStruct | x 1 | See below for type keyValueStruct. Key is always "12 02" ? |
mapPath | char | x (param1.doubleValue / 2) | |
usualCrap | char | ? | till the end |