Commit Graph

252 Commits

Author SHA1 Message Date
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
Nicholas Hastings
9a9cf7b57a Fix downloads for shared depots that provide their own manifests.
Before, we could only do shared depots that referred to their parent app,
when parent app access was also available.
2016-11-07 18:58:13 -05:00
Nicholas Hastings
a591632888 Bump version. DepotDownloader_2.2.0 2016-07-10 09:50:34 -04:00
Nicholas Hastings
b599768bd8 Update SteamKit 1.6.4 -> 1.8.0. Change .NET target 4.0 -> 4.5. 2016-07-10 09:47:06 -04:00
Nicholas Hastings
65b6d97fa2 If an included depot doesn't have the requested branch, fall back to "public".
(Mirrors Steam behavior)
2016-07-10 09:41:59 -04:00
Ryan Kistner
06a7d099ba Style fixes for CDNClientPool 2016-07-05 19:31:16 -06:00
Ryan Kistner
9b778c374e Abort main flow if we can't connect after STEAM3_TIMEOUT seconds 2016-07-02 23:00:55 -06:00
Ryan Kistner
bdfd56b482 Merge branch 'cdn-pool' 2016-06-24 13:21:36 -06:00
Ryan Kistner
3b3f6e272e Switched to plain console logging 2016-06-24 13:20:56 -06:00
Nicholas Hastings
b93473aa3b Increase default MaxServers. 2016-06-23 08:01:42 -04:00
Ryan Kistner
0869f85b93 Added CDN client pooling 2016-06-22 19:46:20 -06:00
Nicholas Hastings
8914bc5c67 Fix issues when downloading content in shared depots when shared depot is owned
but app it is from is not.
2016-06-07 21:42:32 -04:00
Ryan Kistner
daa6e0f9ef Merge pull request #8 from xPaw/2fa
Add 2FA support
2015-10-04 16:14:13 -06:00
Pavel Djundik
1ce2a097df Add 2FA support 2015-10-05 01:12:43 +03:00
Netshroud
72c32a618e Remove old nuget restore props and binaries 2015-08-09 14:50:35 +10:00
Netshroud
1a8a892a67 Use csharp Travis container config 2015-08-09 14:47:33 +10:00
Netshroud
c0b4dd03ee Update to SteamKit 1.6.4 2015-08-09 14:41:19 +10:00
Netshroud
ed44169956 Bump SteamKit dependency to 1.6.3 2015-06-20 19:18:00 +10:00
Ryan Kistner
5cf8c66f06 Longer integer for chunk math. Int32 overflow when calculating file diff 2015-06-12 20:52:15 -06:00
Ryan Kistner
52d45da141 Check for access to other app when depotfromapp is specified, otherwise continue with existing depot information 2015-05-06 09:39:46 -06: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
Netshroud
6ae2c37c2a Merge branch 'master' of https://github.com/SteamRE/DepotDownloader 2014-11-30 10:41:00 +11:00
Netshroud
7a3779f4e8 Update to SteamKit2 1.6.1 NuGet package 2014-11-30 10:40:42 +11:00
Ryan Kistner
63ab1b0232 Flush pending Disconnected callback in anticipation of blocking the main thread 2014-11-29 14:06:24 -07:00
Netshroud
6f8fa5a376 Remove unused random variable 2014-11-29 23:55:30 +11:00
Ryan Kistner
155196ec7f Added a missing parameter 2014-11-18 14:31:45 -07:00
Ryan Kistner
eaef1160c3 Added retry logic to steam requests and made downloader "retry forever" where appropriate. 2014-11-18 14:29:14 -07:00
Ryan Kistner
b12c22454b Added persistent content server penalty 2014-11-07 19:37:17 -07:00
Ryan Kistner
663d17834a Parallelize CollectCDNClientsForDepot to ensure minimum amount of servers until exhausting the list
Switched cdnClients to a BlockingQueue to prevent bad cdn clients being dropped from starving other threads
2014-10-29 17:11:33 -06:00
Ryan Kistner
eba7234f91 Perform checksums when copying chunks when an old manifest is present. Fixes -verify-all. 2014-10-22 09:52:30 -06:00
Nicholas Hastings
a0d7163bf7 Handle all incoming appinfo and packageinfo, rather than first callback of each. 2014-10-22 09:06:18 -04:00
Nicholas Hastings
cb2937c971 Fix crash when account doesn't own app. 2014-10-22 08:15:32 -04:00