Parse Steam3 manifests into DepotManifest

This commit is contained in:
azuisleet committed 2011-12-08 20:59:10 -07:00
1 parent 0ab391a272
commit e7129f0a1f
1 file changed
+2 -1
+2 -1
View File
@@ -222,7 +222,6 @@ namespace DepotDownloader
return;
}
// consumed as a blob of the decompressed data, the manifest can be composed of binary structures or protobuf (see content_manifest.proto), needs helper class
byte[] manifest = cdnClient.DownloadDepotManifest(depotId, depot_manifest);
if (manifest == null)
@@ -233,6 +232,8 @@ namespace DepotDownloader
string manifestFile = Path.Combine(installDir, "manifest.bin");
File.WriteAllBytes(manifestFile, manifest);
DepotManifest depotManifest = new DepotManifest(manifest);
}
private static void DownloadSteam2( ContentServerClient.Credentials credentials, int depotId, int depotVersion, int cellId, string username, string password, bool onlyManifest, bool gameServer, bool exclude, string installDir, string[] fileList )