|
|
|
@ -376,8 +376,16 @@ namespace DepotDownloader
|
|
|
|
|
|
|
|
|
|
public static async Task DownloadPubfileAsync( ulong publishedFileId )
|
|
|
|
|
{
|
|
|
|
|
var details = steam3.GetPubfileDetails(publishedFileId);
|
|
|
|
|
await DownloadAppAsync( details.consumer_appid, details.consumer_appid, details.hcontent_file, DEFAULT_BRANCH, null, true );
|
|
|
|
|
var details = steam3.GetPubfileDetails( publishedFileId );
|
|
|
|
|
|
|
|
|
|
if ( details.hcontent_file > 0 )
|
|
|
|
|
{
|
|
|
|
|
await DownloadAppAsync( details.consumer_appid, details.consumer_appid, details.hcontent_file, DEFAULT_BRANCH, null, true );
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine( "Unable to locate manifest ID for published file {0}", publishedFileId );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static async Task DownloadAppAsync( uint appId, uint depotId, ulong manifestId, string branch, string os, bool isUgc )
|
|
|
|
@ -924,7 +932,7 @@ namespace DepotDownloader
|
|
|
|
|
ConfigStore.TheConfig.LastManifests[ depot.id ] = depot.manifestId;
|
|
|
|
|
ConfigStore.Save();
|
|
|
|
|
|
|
|
|
|
Console.WriteLine( "Depot {0} - Downloaded {1} bytes ({2} bytes uncompressed)", depot.id, DepotBytesCompressed, DepotBytesUncompressed );
|
|
|
|
|
Console.WriteLine( "Depot {0} - Downloaded {1} bytes ({2} bytes uncompressed)", depot.id, DepotBytesCompressed, DepotBytesUncompressed );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Console.WriteLine( "Total downloaded: {0} bytes ({1} bytes uncompressed) from {2} depots", TotalBytesCompressed, TotalBytesUncompressed, depots.Count );
|
|
|
|
|