68 Commits

Author SHA1 Message Date
oureveryday
1780753234 Update to 3.4.0 2025-05-11 22:42:08 +08:00
oureveryday
7ba9de91b1 Update to 3.2.0 2025-04-29 19:32:13 +08:00
oureveryday
819fb634de Support encrypted manifest
Update DepotDownloader
2025-03-14 22:53:08 +08:00
oureveryday
398bf88946 Update to 3.0.0 2025-01-21 14:26:58 +08:00
oureveryday
79e55095ce Update to 2.7.4 2024-12-20 17:13:07 +08:00
oureveryday
82f160a98f Update to 2.7.2 2024-10-10 17:53:48 +08:00
oureveryday
c69b0d05db Mod 2022-01-01 19:37:44 +08:00
JaGoTu
df0477cd4a fork 2020-03-25 01:04:12 +01:00
Ryan Kistner
436519d445 Split DepotDownloader configuration file into account settings stored in IsolatedStorage, and depot installation data stored in the .DepotDownloader config directory alongside cached manifests 2020-02-06 21:53:35 -07:00
Eroen
f1ff09bf20 Exit with error code on errors
When run by a script, the script needs to know if the requested operation was
succesful.

This patch makes sure error codes are returned for a number of unhandled error
conditions.
2019-10-10 15:47:35 +02:00
Eroen
ee53edc935 Allow reading passwords from redirected input
This is beneficial for scripts that don't want to expose the password in the
command line arguments.
2019-09-29 14:09:56 +02:00
Nicholas Hastings
f957ef5da9 Add -pubfile support, dynamically getting appId + ugcId. 2019-03-23 19:44:47 -04:00
Nicholas Hastings
72f633eade Add new -ugc option, removing -force-depot. (#41)
Also improve and clean up command line usage output, as well as add
automatic lookup of correct workshop depot id for UGC, instead of requiring
it on command line (usually assuming app id).
2019-03-23 12:02:05 -04:00
Nicholas Hastings
0889da4316 Don't allow empty password to be entered when using non-anon account.
Fixes getting wall of exception text when accidentally entering or pasting
in an empty string.
2018-03-31 09:32:42 -04:00
Netshroud
0da80d9601 Merge remote-tracking branch 'origin/master' into dotnet-core
# Conflicts:
#	DepotDownloader/ContentDownloader.cs
#	DepotDownloader/Program.cs
2017-09-08 12:40:55 +03:00
Sunner
42b832e465 Added operating system switch (#24)
* Added operating system switch

* Fix typo and throw error if both -os and -all-platforms are specified
2017-09-02 13:20:27 -04:00
Ryan Kistner
8daaf0daa2 Don't error out if a user supplies a password without -remember-me but a matching login key was found 2017-07-27 22:55:32 -06:00
Ryan Kistner
58b5b6185e Touched formatting and line endings. Tweaked login key handling. 2017-07-27 22:20:00 -06:00
Nicholas Hastings
6e5eb77738 Add -remember-password to usage info. 2017-07-26 18:34:02 -04:00
Nicholas Hastings
6e4a764bb9 Add support for remembering password (loginkey). 2017-07-26 18:30:29 -04:00
Netshroud
c0b6d0ce3c Convert to .NET Core.
Works on macOS, haven't tried Windows / .NET Framework yet.
2017-03-25 23:44:25 +11:00
Ryan Kistner
9b778c374e Abort main flow if we can't connect after STEAM3_TIMEOUT seconds 2016-07-02 23:00:55 -06:00
Nicholas Hastings
b93473aa3b Increase default MaxServers. 2016-06-23 08:01:42 -04:00
Netshroud
0b722996b5 Add -force-depot command line parameter to force attempted download of a particular depot in an app.
This allows UGC depots to be downloaded, as they are not listed in the PICS configuration.
2014-12-29 20:06:40 +11:00
Ryan Kistner
cc9e576361 Upgraded Steam3Session to latest SteamKit. Added error handling to CollectCDNClientsForDepot 2014-10-11 04:45:10 -06:00
Nicholas Hastings
c789220973 Handle -user and -pass as -username and -password respectively if the latter are not present. 2014-01-24 11:35:10 -05:00
Nicholas Hastings
b656218e8a Specify that anonymous account will be used when no credentials are given. 2014-01-24 11:34:41 -05:00
Nicholas Hastings
d9cec26e00 Big speed improvements for some cases:
- Store all manifests separately, including excluded file, rather than only list of last-downloaded.
- Don't redownload manifests we have.
- Don't connect to content servers if no manifest to download and no chunks needed.
- Don't connect to content servers until needing chunks if already having manifest.
2013-11-13 22:36:17 -05:00
Nicholas Hastings
a7ebaa3ddb Expose max server and connection counts. Sync usage printout between program & readme. 2013-11-08 10:36:21 -05:00
Nicholas Hastings
de37262e9d More cleanup:
- Don't calculate matching chunks if file hash matches (now that related SK2 bug is fixed).
- When file doesn't already exist, set length immediately after creation.
- Remove redundant file existance check before copying existing file to staging.
- Normalize more var names.
- Print account name for which password is asked.
2013-11-08 10:19:18 -05:00
Nicholas Hastings
2e5ebc8851 Save manifests to optimize needed chunks check. Add -validate option. Concurrent donwloads. 2013-09-16 16:01:30 -04:00
Nicholas Hastings
cfc95d3f57 Allow downloading of specified manifest. 2013-09-10 10:31:32 -04:00
Nicholas Hastings
987b51e82d Simplify arg handling. 2013-09-10 10:10:48 -04:00
Nicholas Hastings
36c961bc01 Removed old Steam2 beta option. 2013-09-08 18:23:51 -04:00
Nicholas Hastings
c63ddbd238 Use uints for app and depot Ids to require less casts for SteamKit. 2013-09-08 15:25:04 -04:00
Nicholas Hastings
1a89871744 DepotDownloader: Removed Steam2 functionality. 2013-07-17 14:05:15 -04:00
Nicholas Hastings
d531a7decc DepotDownloader: Remove dead code since we're always signing into Steam3. 2013-03-13 12:26:30 -04:00
Ryan Kistner
fc27452b67 DepotDownloader: Better command line parameter name 2013-01-23 18:17:39 -07:00
Ryan Kistner
e98d7ce2a8 DepotDownloader: Added beta password support
--HG--
extra : rebase_source : ff1c354116dea838104716e3a998d8ca3a4c0f42
2013-01-23 18:16:05 -07:00
Ryan Kistner
a4bbd1ad79 DepotDownloader: Added support for branches. Uses buildid instead of changenumber.
--HG--
extra : rebase_source : 7ba4ede5fdb1b951828b7cb7bf23dfbd712cea80
2012-12-26 19:41:20 -07:00
Ryan Kistner
9fbabcfa5d DepotDownloader: always sign into Steam3. Probably safe.
--HG--
extra : rebase_source : 48240a80e6c95a9681f8735bdfeaa00d2104a8d3
2012-12-24 17:11:27 -07:00
Ryan Kistner
eb64860ae8 DepotDownloader: Switched to PICS. Started anonymous download support. 2012-12-13 01:16:49 -07:00
Nicholas Hastings
a162f8cb46 DepotDownloader: Cleaned up and fixed some console output for Steam2 downloads. 2012-11-30 12:07:15 -05:00
Nicholas Hastings
a26a105519 DepotDownloader: Suppress CellID 0 warning if using auth (as CellID will be automatically retrieved). 2012-11-27 12:30:33 -05:00
Nicholas Hastings
1566774a6e DepotDownloader: Fixed hang when using both -game and -listdepots with credentials. 2012-11-15 13:05:57 -05:00
Ryan Kistner
5249592b35 Added Bloblib comments
--HG--
extra : rebase_source : 04ccef87df8b3d4e2d8b3cf0b017d8f4869d6926
2012-07-11 22:17:31 -06:00
Ryan Kistner
80f0dcf56c Blob Refactor
--HG--
extra : rebase_source : 98e0b6385cc654ff137fa216c4b403be5d36fa26
2012-06-11 01:05:40 -06:00
psychonic
acdd8bdebc Add support for specifying single depot (+app) for steam3 content. 2012-06-05 16:58:01 -05:00
Ryan Stecker
b2cb33aa92 Updated depotdownloader to pass in the appid when requesting a depot key. 2012-02-26 12:13:45 -06:00
Ryan Stecker
512e13cc88 Small fixup for printed usage. 2012-02-01 15:22:25 -06:00