|
|
|
|
@ -297,7 +297,6 @@ namespace DepotDownloader
|
|
|
|
|
Console.WriteLine( "Unhandled depot encryption for depotId {0}", depotId );
|
|
|
|
|
return INVALID_MANIFEST_ID;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return INVALID_MANIFEST_ID;
|
|
|
|
|
@ -566,6 +565,7 @@ namespace DepotDownloader
|
|
|
|
|
depotManifestIds.Add( ( id, ContentDownloader.INVALID_MANIFEST_ID ) );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( depotManifestIds.Count == 0 && !hasSpecificDepots )
|
|
|
|
|
{
|
|
|
|
|
throw new ContentDownloaderException( String.Format( "Couldn't find any depots to download for app {0}", appId ) );
|
|
|
|
|
@ -660,6 +660,7 @@ namespace DepotDownloader
|
|
|
|
|
OldChunk = oldChunk;
|
|
|
|
|
NewChunk = newChunk;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ProtoManifest.ChunkData OldChunk { get; private set; }
|
|
|
|
|
public ProtoManifest.ChunkData NewChunk { get; private set; }
|
|
|
|
|
}
|
|
|
|
|
@ -694,7 +695,6 @@ namespace DepotDownloader
|
|
|
|
|
public ulong SizeDownloaded;
|
|
|
|
|
public ulong DepotBytesCompressed;
|
|
|
|
|
public ulong DepotBytesUncompressed;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static async Task DownloadSteam3Async( uint appId, List<DepotDownloadInfo> depots )
|
|
|
|
|
@ -882,8 +882,7 @@ namespace DepotDownloader
|
|
|
|
|
cdnPool.ReturnBrokenConnection( connection );
|
|
|
|
|
Console.WriteLine( "Encountered error downloading manifest for depot {0} {1}: {2}", depot.id, depot.manifestId, e.Message );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
while (depotManifest == null);
|
|
|
|
|
} while ( depotManifest == null );
|
|
|
|
|
|
|
|
|
|
if ( depotManifest == null )
|
|
|
|
|
{
|
|
|
|
|
@ -1052,6 +1051,7 @@ namespace DepotDownloader
|
|
|
|
|
{
|
|
|
|
|
throw new ContentDownloaderException( String.Format( "Failed to allocate file {0}: {1}", fileFinalPath, ex.Message ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
neededChunks = new List<ProtoManifest.ChunkData>( file.Chunks );
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
@ -1274,8 +1274,7 @@ namespace DepotDownloader
|
|
|
|
|
cdnPool.ReturnBrokenConnection( connection );
|
|
|
|
|
Console.WriteLine( "Encountered unexpected error downloading chunk {0}: {1}", chunkID, e.Message );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
while (chunkData == null);
|
|
|
|
|
} while ( chunkData == null );
|
|
|
|
|
|
|
|
|
|
if ( chunkData == null )
|
|
|
|
|
{
|
|
|
|
|
@ -1325,7 +1324,6 @@ namespace DepotDownloader
|
|
|
|
|
var fileFinalPath = Path.Combine( depot.installDir, file.FileName );
|
|
|
|
|
Console.WriteLine( "{0,6:#00.00}% {1}", ( ( float )sizeDownloaded / ( float )depotDownloadCounter.CompleteDownloadSize ) * 100.0f, fileFinalPath );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void DumpManifestToTextFile( DepotDownloadInfo depot, ProtoManifest manifest )
|
|
|
|
|
|