From f6e60b1009c27f2996856b287c45884f809749da Mon Sep 17 00:00:00 2001 From: Alstruit <34786806+Alstruit@users.noreply.github.com> Date: Sun, 2 Mar 2025 06:44:52 -0600 Subject: [PATCH] Trim password. Steam will trim passwords longer than 64 characters. --- DepotDownloader/Program.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index b6de42a0..802c68f5 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -358,6 +358,14 @@ namespace DepotDownloader } } + + if (password != null && password.Length > 64) + { + Console.WriteLine("Notice: password is longer than 64 characters and will be trimmed."); + password = password.Substring(0, 64); + } + + return ContentDownloader.InitializeSteam3(username, password); }