Commit Graph
283 Commits
Author SHA1 Message Date
Ryan Kistner f5d519c466 Added GPLv2 license 2019-04-27 14:41:50 -06:00
Ryan Kistner e7b89df743 Skip platform check when an explicit depot id is provided 2019-04-27 14:36:56 -06:00
Nicholas Hastings 2177746a50 Update README usage info to match usage print output. 2019-04-02 16:38:34 -04:00
Ryan Kistner e0afef00e4 Report and exit on unsuccessful pubfile lookup 2019-03-25 10:36:28 -06:00
Ryan Kistner fdb5d0d408 Merge pull request #45 from SteamRE/ugc-cmd-cleanup
Add new -ugc option, removing -force-depot. (#41)
2019-03-25 10:33:42 -06:00
Nicholas Hastings 3ad0966070 Move GetPubfileDetails to saner spot in file. 2019-03-24 08:55:50 -04:00
Nicholas Hastings f957ef5da9 Add -pubfile support, dynamically getting appId + ugcId. 2019-03-23 19:44:47 -04:00
Nicholas Hastings 18a57dd1dd Update SK from 2.0.0 to 2.1.0 BECAUSE WE CAN. 2019-03-23 12:08:41 -04:00
Nicholas Hastings a2ffdd30f5 Misc cleanup to avoid unnecessary conversions. 2019-03-23 12:02:21 -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
Ryan Kistner 7a757101bf Added shutdown token to CDN connection pool monitor 2018-05-01 22:57:52 -06:00
Ryan Kistner 5425ef756d 2.3.0 Release on .NET Core 2.0 DepotDownloader_2.3.0 2018-04-30 22:21:13 -06: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
Ryan Kistner 6552734faf Target SteamKit 2.0.0 2017-12-19 15:16:15 -07:00
Ryan Kistner 65036ffa8d Cancel work if CDNClientPool is exhausted and can't find more servers 2017-12-01 00:40:08 -07:00
Ryan Kistner 184ea54020 Don't retrieve AppTickets as they aren't needed anymore 2017-12-01 00:09:19 -07:00
Yaakov 6105a99e72 Check for cancellation after semaphore completion
It doesn’t look like anything actually calls Cancel() on this CancellationTokenSource, but if something ever does we’d want this to work properly.
2017-09-09 23:57:02 +03:00
Yaakov 1e3ca8f016 Missed something fairly important
It kind of helps to actually use the semaphore.

Missed this when reapplying changes after whitespace.
2017-09-09 23:55:44 +03:00
Yaakov 1ec611cb34 Update Travis for .NET Core SDK 2.0 2017-09-08 12:48:03 +03:00
Yaakov fb3e693755 Update to SK2 Alpha8 and .NET Core 2.0 2017-09-08 12:47:47 +03: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 DepotDownloader_2.2.2 2017-07-27 22:55:32 -06:00
Netshroud de775d5c4b Save a lookup in login key dictionary 2017-07-28 14:30:31 +10:00
Ryan Kistner 58b5b6185e Touched formatting and line endings. Tweaked login key handling. 2017-07-27 22:20:00 -06:00
Ryan Kistner dceed3a9a1 Don't forget about anonymous users 2017-07-27 15:03:21 -06:00
Ryan Kistner 17d5f7357d Initialize LoginKeys dictionary 2017-07-27 14:55:03 -06:00
Nicholas Hastings 974eb1d369 Add -remember-password to README. 2017-07-26 18:35:02 -04: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 52f12030c1 Change SteamKit2 filesystem project reference to NuGet package reference 2017-03-28 19:32:27 +11:00
Netshroud 3fb5da1098 Add .NET RIDs for "dotnet publish" 2017-03-27 17:52:10 +11:00
Netshroud 7575cd0757 Update CI for .NET Core 2017-03-27 17:51:53 +11:00
Netshroud 359a8d017d Restore Environment.OSVersion and P/Invoke for getting OS type on .NET Framework 2017-03-27 17:50:28 +11:00
Netshroud 8eb3f711b9 thanks @xpaw 2017-03-26 17:44:30 +11:00
Netshroud b17e343d0e Fix bug where DD would exit prematurely 2017-03-26 12:26:39 +11:00
Netshroud ab9ca2a7da Cleanup 2017-03-26 12:26:29 +11: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 35aa666ea5 Always process Disconnect callback before pausing for input. This prevents the Disconnect callback from being processed after the Connect 2017-02-27 20:46:49 -07:00
Nicholas Hastings 63569977ec Bump version number. DepotDownloader_2.2.1 2017-02-23 07:32:47 -05:00
Nicholas Hastings 8277f10f35 Update to SteamKit v1.8.1. 2017-02-23 06:49:12 -05:00
Nicholas Hastings 8659e77adc Cleanup. 2017-02-21 20:40:50 -05:00
Nicholas Hastings ab86a7d6ac If account doesn't own app, attempt to obtain FreeOnDemand license for it. 2017-02-21 20:37:17 -05:00
Nicholas Hastings 01d87d6102 Output branch being used. 2017-02-20 20:02:12 -05:00
Nicholas Hastings 891ebd13a2 Fix crash when downloading from passworded branches. 2017-02-20 08:09:22 -05:00
Nicholas Hastings 3d1764889f Fix unused var warning. 2017-02-20 07:45:01 -05:00
Ryan Kistner 251b4010ee Use ConcurrentDictionary and flatten keys for CDNAuthTokens 2017-02-09 16:25:42 -07:00
Ryan Kistner 7f5ca92659 Report when we aren't able to retrieve a CDN auth token 2017-02-09 10:37:01 -07:00
Ryan Kistner 6278fc2b94 Added CheckAppBetaPassword to retrieve encryption keys for encrypted_gid_2 depots 2017-01-21 22:40:30 -07:00
Ryan Kistner 97b8716c86 Pass appId all the way through for correctness 2017-01-08 14:27:56 -07:00