X2CommunityCore / X2SaveGameAnalyzer

Simple Windows application (and .NET library) that analyzes and displays some information from XCOM 2 savegame files.
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Figure out meaning of "Unknown2" #2

Open RevZero opened 5 years ago

RevZero commented 5 years ago

Refers to the value that can be viewed on the Diagnostic tab in the column "Unknown2".

Bytes 8-11 in savegame file.

Could be a checksum.

danarcher commented 4 years ago

@RevZero I believe that's the header checksum, which much investigation revealed to be a BZip2 CRC32 algorithm: sample code to compute at https://github.com/danarcher/XCom2ModTool/blob/master/SaveGameFormat.md. My rather WIP tool can compute matching checksums with this algorithm.