diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 6e528b91..65248504 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -1196,7 +1196,7 @@ namespace DepotDownloader var data = new DepotManifest.ChunkData { ChunkID = chunk.ChunkID, - Checksum = chunk.Checksum, + Checksum = BitConverter.ToUInt32(chunk.Checksum), Offset = chunk.Offset, CompressedLength = chunk.CompressedLength, UncompressedLength = chunk.UncompressedLength diff --git a/DepotDownloader/DepotDownloader.csproj b/DepotDownloader/DepotDownloader.csproj index e7f775e0..2a0e67f7 100644 --- a/DepotDownloader/DepotDownloader.csproj +++ b/DepotDownloader/DepotDownloader.csproj @@ -15,6 +15,6 @@ - + diff --git a/DepotDownloader/ProtoManifest.cs b/DepotDownloader/ProtoManifest.cs index e4a9c854..ccc61659 100644 --- a/DepotDownloader/ProtoManifest.cs +++ b/DepotDownloader/ProtoManifest.cs @@ -76,7 +76,7 @@ namespace DepotDownloader public ChunkData(DepotManifest.ChunkData sourceChunk) { ChunkID = sourceChunk.ChunkID; - Checksum = sourceChunk.Checksum; + Checksum = BitConverter.GetBytes(sourceChunk.Checksum); Offset = sourceChunk.Offset; CompressedLength = sourceChunk.CompressedLength; UncompressedLength = sourceChunk.UncompressedLength;