mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-20 01:46:17 +00:00
Parse Steam3 manifests into DepotManifest
This commit is contained in:
1 parent
0ab391a272
commit
e7129f0a1f
1 file changed
+2
-1
@@ -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 )
|
||||
|
||||
Reference in new issue
Block a user