From 14c6a6dafa4b0d9d99a8318282fbbcf62a8de583 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 11 Mar 2025 22:41:44 +0200 Subject: [PATCH] Remove -max-servers since it is unused --- DepotDownloader/DownloadConfig.cs | 1 - DepotDownloader/Program.cs | 2 -- README.md | 1 - 3 files changed, 4 deletions(-) diff --git a/DepotDownloader/DownloadConfig.cs b/DepotDownloader/DownloadConfig.cs index c0d4f6cb..4985c446 100644 --- a/DepotDownloader/DownloadConfig.cs +++ b/DepotDownloader/DownloadConfig.cs @@ -23,7 +23,6 @@ namespace DepotDownloader public bool VerifyAll { get; set; } - public int MaxServers { get; set; } public int MaxDownloads { get; set; } public bool RememberPassword { get; set; } diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index b6de42a0..9f9b2745 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -133,7 +133,6 @@ namespace DepotDownloader ContentDownloader.Config.InstallDirectory = GetParameter(args, "-dir"); ContentDownloader.Config.VerifyAll = HasParameter(args, "-verify-all") || HasParameter(args, "-verify_all") || HasParameter(args, "-validate"); - ContentDownloader.Config.MaxServers = GetParameter(args, "-max-servers", 20); if (HasParameter(args, "-use-lancache")) { @@ -152,7 +151,6 @@ namespace DepotDownloader } ContentDownloader.Config.MaxDownloads = GetParameter(args, "-max-downloads", 8); - ContentDownloader.Config.MaxServers = Math.Max(ContentDownloader.Config.MaxServers, ContentDownloader.Config.MaxDownloads); ContentDownloader.Config.LoginID = HasParameter(args, "-loginid") ? GetParameter(args, "-loginid") : null; #endregion diff --git a/README.md b/README.md index 2856e2ca..024cd592 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ Parameter | Description `-validate` | Include checksum verification of files already downloaded `-manifest-only` | downloads a human readable manifest for any depots that would be downloaded. `-cellid <#>` | the overridden CellID of the content server to download from. -`-max-servers <#>` | maximum number of content servers to use. (default: 20). `-max-downloads <#>` | maximum number of chunks to download concurrently. (default: 8). `-loginid <#>` | a unique 32-bit integer Steam LogonID in decimal, required if running multiple instances of DepotDownloader concurrently. `-use-lancache` | forces downloads over the local network via a Lancache instance