Commit Graph
222 Commits
Author SHA1 Message Date
Ryan Kistner 3b3f6e272e Switched to plain console logging 2016-06-24 13:20:56 -06:00
Ryan Kistner 0869f85b93 Added CDN client pooling 2016-06-22 19:46:20 -06: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
Nicholas Hastings 410408cb71 Add support for shared depots (depotfromapp). 2014-10-22 07:58:13 -04:00
Ryan Kistner 40fd3c94d6 Don't download the same chunk forever 2014-10-21 16:02:31 -06:00
Nicholas Hastings 077a3a1610 Fix error message about no servers for chunk. 2014-10-21 15:00:30 -04:00
Ryan Kistner 289af06733 Discard CDNClients instead of looping forever 2014-10-15 19:50:19 -06:00
Ryan Kistner 3b02d4d754 SteamKit 1.6.0 2014-10-11 22:04:24 -06:00
Ryan Kistner cc9e576361 Upgraded Steam3Session to latest SteamKit. Added error handling to CollectCDNClientsForDepot 2014-10-11 04:45:10 -06:00
Ryan Kistner 330902c091 Merge branch 'cdn-client' 2014-10-11 04:12:45 -06:00
Ryan Kistner 81a9057779 Don't attempt cm0 servers 2014-07-21 11:01:36 -06:00
Ryan Kistner a0a1db448a Allow reconnection logic to run for initial connection. Also bail out of AccountHasAccess without a steamid 2014-07-21 10:47:29 -06:00
Ryan Kistner 5f9aa57f91 CDN content server support and thread safety fixes for CDNClient initialization 2014-03-16 22:20:18 -06:00
Ryan Kistner fdba42da77 Revert 'Added support for CDN content servers' DepotDownloader_2.1.1 2014-03-16 20:40:10 -06:00
Nicholas Hastings c1c4ef5910 Merge branch 'master' of github.com:SteamRE/DepotDownloader 2014-03-16 19:27:04 -04:00
Nicholas Hastings 90eb0a52c1 Remove gross hack needed for creating ChunkData objects before SteamKit 1.5.1. 2014-03-16 19:24:26 -04:00
Ryan Kistner ff2f8131a4 Added support for CDN content servers 2014-03-16 01:01:35 -06:00
Nicholas Hastings d9b6efaf84 Merge branch 'master' of github.com:SteamRE/DepotDownloader 2014-03-15 22:34:46 -04:00
Ryan Kistner 46659854cd Updated ContentDownloader.CollectCDNClientsForDepot to reflect modified FetchServerList 2014-03-06 20:23:00 -07: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 e3bc606112 Don't create folders for excluded files. 2014-01-24 11:27:47 -05:00
Nicholas Hastings 27ec24cd8f Remove special depotfromapp handling; no longer necessary. 2014-01-24 11:27:02 -05:00
Nicholas Hastings 9778112f1f Fix crash when a CDN server connection times out. 2014-01-24 10:21:37 -05:00
Nicholas Hastings 0b21b4734c Improve error message when specified depot is not available for current platform. 2014-01-22 11:45:16 -05:00
Nicholas Hastings 933f0b28cf Bumped version number. DepotDownloader_2.1.0 2013-11-19 14:21:40 -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 d59f3524c8 Add support for "depotfromapp". 2013-11-13 12:30:35 -05:00
Nicholas Hastings 47a240c2ac Fix file verification always occurring. 2013-11-12 08:56:48 -05:00
Nicholas Hastings 59e58adc5f Set AssemblyInfo. DepotDownloader_2.0.0 2013-11-08 14:15:59 -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 2d82c9dd5e Fix potential collision when creating directories. Remove staging files from unclean exit. 2013-11-08 10:15:40 -05:00