Aetherius Dec 19, 2020 @ 9:33pm
How exactly does Steam verify game files?
Surely it doesn't compare each line of code in each file with what's on the servers, otherwise it would take as long to do as redownloading the whole game. My best guess is that it compares the checksums of each file? Anyone know for certain? Just wondering.
< >
Showing 1-4 of 4 comments
kitt Dec 19, 2020 @ 11:04pm 
like you said it probably checks the Checksums of the Files like you can do in Torrent Files or Pictures
aiusepsi Dec 20, 2020 @ 3:56am 
Each particular version of a game on Steam is defined by a manifest, which lists all the chunks of data in the game, along with the size of that chunk, the position of that chunk in each file, and the hash of that chunk.

To verify the files, it just has to check what's on disk against what's specified in the manifest and check that the hashes match.

Steam also uses the manifests to work out how to do patches; it compares the new manifest against the old manifest to work out which new chunks of data it needs to download, and which it already has.
Aetherius Dec 20, 2020 @ 7:02pm 
Originally posted by aiusepsi:
Each particular version of a game on Steam is defined by a manifest, which lists all the chunks of data in the game, along with the size of that chunk, the position of that chunk in each file, and the hash of that chunk.

To verify the files, it just has to check what's on disk against what's specified in the manifest and check that the hashes match.

Steam also uses the manifests to work out how to do patches; it compares the new manifest against the old manifest to work out which new chunks of data it needs to download, and which it already has.
So it's more or less a combination of checksums AND actual data comparison?
Floid Dec 20, 2020 @ 10:19pm 
Originally posted by aiusepsi:
Each particular version of a game on Steam is defined by a manifest, which lists all the chunks of data in the game, along with the size of that chunk, the position of that chunk in each file, and the hash of that chunk.

To verify the files, it just has to check what's on disk against what's specified in the manifest and check that the hashes match.

Steam also uses the manifests to work out how to do patches; it compares the new manifest against the old manifest to work out which new chunks of data it needs to download, and which it already has.

Informative, nice :)
Last edited by Floid; Dec 20, 2020 @ 10:19pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Dec 19, 2020 @ 9:33pm
Posts: 4