Commit Graph

110 Commits (db042870c9a3eb7136c97e4ac3c3f4fc759e1961)

Author SHA1 Message Date
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 6 years ago
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.
6 years ago
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.
6 years ago
Nicholas Hastings f957ef5da9 Add -pubfile support, dynamically getting appId + ugcId. 7 years ago
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).
7 years ago
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.
8 years ago
Netshroud 0da80d9601 Merge remote-tracking branch 'origin/master' into dotnet-core
# Conflicts:
#	DepotDownloader/ContentDownloader.cs
#	DepotDownloader/Program.cs
8 years ago
Sunner 42b832e465 Added operating system switch (#24)
* Added operating system switch

* Fix typo and throw error if both -os and -all-platforms are specified
8 years ago
Ryan Kistner 8daaf0daa2 Don't error out if a user supplies a password without -remember-me but a matching login key was found 9 years ago
Ryan Kistner 58b5b6185e Touched formatting and line endings. Tweaked login key handling. 9 years ago
Nicholas Hastings 6e5eb77738 Add -remember-password to usage info. 9 years ago
Nicholas Hastings 6e4a764bb9 Add support for remembering password (loginkey). 9 years ago
Netshroud c0b6d0ce3c Convert to .NET Core.
Works on macOS, haven't tried Windows / .NET Framework yet.
9 years ago
Ryan Kistner 9b778c374e Abort main flow if we can't connect after STEAM3_TIMEOUT seconds 10 years ago
Nicholas Hastings b93473aa3b Increase default MaxServers. 10 years ago
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.
11 years ago
Ryan Kistner cc9e576361 Upgraded Steam3Session to latest SteamKit. Added error handling to CollectCDNClientsForDepot 11 years ago
Nicholas Hastings c789220973 Handle -user and -pass as -username and -password respectively if the latter are not present. 12 years ago
Nicholas Hastings b656218e8a Specify that anonymous account will be used when no credentials are given. 12 years ago
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.
12 years ago
Nicholas Hastings a7ebaa3ddb Expose max server and connection counts. Sync usage printout between program & readme. 12 years ago
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.
12 years ago
Nicholas Hastings 2e5ebc8851 Save manifests to optimize needed chunks check. Add -validate option. Concurrent donwloads. 12 years ago
Nicholas Hastings cfc95d3f57 Allow downloading of specified manifest. 12 years ago
Nicholas Hastings 987b51e82d Simplify arg handling. 12 years ago
Nicholas Hastings 36c961bc01 Removed old Steam2 beta option. 12 years ago
Nicholas Hastings c63ddbd238 Use uints for app and depot Ids to require less casts for SteamKit. 12 years ago
Nicholas Hastings 1a89871744 DepotDownloader: Removed Steam2 functionality. 13 years ago
Nicholas Hastings d531a7decc DepotDownloader: Remove dead code since we're always signing into Steam3. 13 years ago
Ryan Kistner fc27452b67 DepotDownloader: Better command line parameter name 13 years ago
Ryan Kistner e98d7ce2a8 DepotDownloader: Added beta password support
--HG--
extra : rebase_source : ff1c354116dea838104716e3a998d8ca3a4c0f42
13 years ago
Ryan Kistner a4bbd1ad79 DepotDownloader: Added support for branches. Uses buildid instead of changenumber.
--HG--
extra : rebase_source : 7ba4ede5fdb1b951828b7cb7bf23dfbd712cea80
13 years ago
Ryan Kistner 9fbabcfa5d DepotDownloader: always sign into Steam3. Probably safe.
--HG--
extra : rebase_source : 48240a80e6c95a9681f8735bdfeaa00d2104a8d3
13 years ago
Ryan Kistner eb64860ae8 DepotDownloader: Switched to PICS. Started anonymous download support. 13 years ago
Nicholas Hastings a162f8cb46 DepotDownloader: Cleaned up and fixed some console output for Steam2 downloads. 13 years ago
Nicholas Hastings a26a105519 DepotDownloader: Suppress CellID 0 warning if using auth (as CellID will be automatically retrieved). 13 years ago
Nicholas Hastings 1566774a6e DepotDownloader: Fixed hang when using both -game and -listdepots with credentials. 13 years ago
Ryan Kistner 5249592b35 Added Bloblib comments
--HG--
extra : rebase_source : 04ccef87df8b3d4e2d8b3cf0b017d8f4869d6926
14 years ago
Ryan Kistner 80f0dcf56c Blob Refactor
--HG--
extra : rebase_source : 98e0b6385cc654ff137fa216c4b403be5d36fa26
14 years ago
psychonic acdd8bdebc Add support for specifying single depot (+app) for steam3 content. 14 years ago
Ryan Stecker b2cb33aa92 Updated depotdownloader to pass in the appid when requesting a depot key. 14 years ago
Ryan Stecker 512e13cc88 Small fixup for printed usage. 14 years ago
Ryan Stecker 7e02724c05 Added -listdepots.
Reworked -manifest to be an optional parameter that dumps manifests when -game, -app, or -depot is supplied.
Closes #18.
14 years ago
Ryan Stecker a17713e153 Fixed DepotDownloader for the latest SteamKit2 version. 14 years ago
Azu@Azu-PC bae6d8907c DepotDownloader fixes
Updated Classless.Hasher
14 years ago
azuisleet d6850b8f33 Large refactor to support steam3 appinfo 14 years ago
azuisleet 1024dde88d Slight refactor to support steam3 depots in an app 14 years ago
Nicholas Hastings 8ffff1cb7b Added -dumpcdr param to do quick XML dump of CDR. 15 years ago
Nicholas Hastings 127dadd363 Use latest version if no version specified. 15 years ago
Scott Ehlert 44ff453193 Ask for account password if -password is omitted from command line. 15 years ago
Scott Ehlert 9d586b5e95 Added -beta parameter to download beta versions of depots if available. 15 years ago
Scott Ehlert f9cac07006 Added -list switch to print list of game servers that can be downloaded using -game. 15 years ago
Scott Ehlert 8aa8798459 Added -app switch to download all depots associated with an app id. 15 years ago
Scott Ehlert ed4bd4a1d3 Added -all-platforms switch to download all platform-specific depots when -game is used. 15 years ago
Scott Ehlert e5fa0ca62f Added -no-exclude parameter that downloads files in exclude.lst anyways. 15 years ago
Scott Ehlert f11dd05096 Exclude files listed in reslists/*/exclude.lst when using the -game parameter.
This functionality matches hldsupdatetool.
15 years ago
Scott Ehlert 0fc89f465a Added -dir option to DepotDownloader for specifying an alternate install directory. 15 years ago
Asher Baker 43632c4095 Added (bad and incomplete) support for specifying a game name instead of a depot id. 15 years ago
Ryan Stecker 391dbd9b8a Added support for dumping a human readable list of files in a depot with -manifest <depotid>.
Added -filelist to specify exactly what files to download from a depot. Additionally works with regular expressions.

--HG--
extra : convert_revision : svn%3A946a0da7-ebce-4904-9acb-2f1e67aed693%40222
15 years ago
Ryan Stecker bb5c544414 Added DepotDownloader POC project. Move over hldsupdatetool, there's a new kid on the block.
--HG--
extra : convert_revision : svn%3A946a0da7-ebce-4904-9acb-2f1e67aed693%40212
15 years ago