|
|
|
@ -405,12 +405,17 @@ namespace DepotDownloader
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var depot in depotIDs)
|
|
|
|
foreach (var depot in depotIDs)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Steam2 dependency
|
|
|
|
int depotVersion = 0;
|
|
|
|
int depotVersion = CDRManager.GetLatestDepotVersion(depot, Config.PreferBetaVersions);
|
|
|
|
|
|
|
|
if (depotVersion == -1)
|
|
|
|
if ( !AppIsSteam3( appId ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Console.WriteLine("Error: Unable to find DepotID {0} in the CDR!", depot);
|
|
|
|
// Steam2 dependency
|
|
|
|
return;
|
|
|
|
depotVersion = CDRManager.GetLatestDepotVersion(depot, Config.PreferBetaVersions);
|
|
|
|
|
|
|
|
if (depotVersion == -1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Console.WriteLine("Error: Unable to find DepotID {0} in the CDR!", depot);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DownloadDepot(depot, depotVersion, appId);
|
|
|
|
DownloadDepot(depot, depotVersion, appId);
|
|
|
|
|