100 Commits
Author SHA1 Message Date
Nicholas Hastings 77f9067eaa Add basic support for downloading Workshop collections (#661) (#664)
* Add basic support for downloading Workshop collections (#661)

* Refactor published file processing logic

* Add messaging for unsupported Workshop file types
2025-11-02 15:50:36 +00:00
Nicholas Hastings 19df5910c3 Fix getting manifest code for freetodownload apps that use depotfromapp 2025-03-22 15:29:54 -04:00
Nicholas Hastings 196e99b30d Add support for appinfo depots section with expanded branch info. 2023-04-25 10:33:19 -04:00
Nicholas Hastings 5e414bc48b Remove printing of depot name. It's no longer sent. 2023-03-19 23:10:40 -04:00
Nicholas Hastings 2177746a50 Update README usage info to match usage print output. 2019-04-02 16:38:34 -04: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
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
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
Nicholas Hastings 63569977ec Bump version number. 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
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. 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
Nicholas Hastings b93473aa3b Increase default MaxServers. 2016-06-23 08:01:42 -04: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
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
Nicholas Hastings 077a3a1610 Fix error message about no servers for chunk. 2014-10-21 15:00:30 -04: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
Nicholas Hastings d9b6efaf84 Merge branch 'master' of github.com:SteamRE/DepotDownloader 2014-03-15 22:34:46 -04: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. 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. 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
Nicholas Hastings 6f6eb5f48a Fix protobuf-net reference. 2013-11-08 09:33:00 -05:00
Nicholas Hastings 07c77ae2be Update SteamKit nuget package to 1.5.0. 2013-11-08 08:08:57 -05:00
Nicholas Hastings 7c9e2c2264 Connect to eight servers instead of six as very often first few will not be usable. 2013-11-08 08:08:01 -05:00
Nicholas Hastings bf92eb63e5 Ignore "depotfromapp" depots for now. 2013-11-08 08:06:52 -05:00
Nicholas Hastings e45a4e03b3 Misc cleanup. 2013-11-08 08:06:22 -05:00
Nicholas Hastings a65804781a Revert "Use console instance when possible. (now caches user sentry data and steam id to config.vdf)."
This reverts commit e96e8bae51.
2013-10-24 13:15:15 -04:00
Nicholas Hastings 7ac650d4ec Update protobuf-net to 2.0.0.668 to match SteamKit2 update. 2013-10-24 13:14:11 -04:00
Nicholas Hastings bb1724746b Hack in support for multiple servers and retry logic with concurrent downloading. 2013-10-24 13:13:00 -04:00
Nicholas Hastings 197f16b838 Create README.md 2013-10-08 13:39:32 -04:00
Nicholas Hastings 798e66d055 Fix downloading depots for an app that share an app id with another app. 2013-10-08 13:21:05 -04:00
Nicholas Hastings e96e8bae51 Use console instance when possible. (now caches user sentry data and steam id to config.vdf). 2013-09-18 22:28:16 -04:00
Nicholas Hastings 709ef3f398 Remove no-long-used AppInfoOverridesCDR var. 2013-09-16 18:45:48 -04:00
Nicholas Hastings 1959262d4b Try other servers if failing to get manifest from one. 2013-09-16 18:44:13 -04: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 43ecfcffc7 Removed unused function. 2013-09-16 15:59:15 -04:00
Nicholas Hastings 581ed16fa6 Fixed exception when not using -dir and build id unknown. 2013-09-16 15:58:50 -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 b8a65a6b13 Adjustments to work with SteamKit CDNClient refactor. 2013-09-08 15:17:35 -04:00
Nicholas Hastings aba445afa3 Fix regressions causing exception in oslist check and permission error where depot id is app id. 2013-09-08 14:08:04 -04:00
Nicholas Hastings 6a81bebd1a Removed non-existent test.sh call from ci config. 2013-08-03 14:57:19 -04:00
Nicholas Hastings 5c75a9d5b3 Hopefully last ci fix. 2013-08-03 14:54:27 -04:00
Nicholas Hastings fa59c818da Added missing Microsoft.Build dll for nuget. 2013-08-03 09:01:25 -04:00
Nicholas Hastings 76753c74c6 Fixed casing of nuget files. 2013-08-03 08:55:48 -04:00
Nicholas Hastings 15ea73f203 Flagged build scripts as executable. 2013-08-03 08:46:06 -04:00
Nicholas Hastings f65d3c8875 Attempting to setup CI. 2013-08-03 08:41:53 -04:00
Nicholas Hastings d073b9ef34 Fixed Steam3 content always downloading depots for all platforms. 2013-08-02 17:59:41 -04:00
Nicholas Hastings c0e55988ea Added .gitignore. 2013-08-02 17:58:15 -04:00
Nicholas Hastings 300d2d90b6 Converted sln to VS2012. Remove SteamKit and readded via Nuget. Updated protobuf-net Nuget req. 2013-08-02 16:57:29 -04:00
Nicholas Hastings adfea2f0cf Moved EncodeHexString to Util class. 2013-08-02 16:53:21 -04:00
Nicholas Hastings 4b381f4b16 Removed more Steam2 crud. 2013-08-02 16:52:08 -04:00
Nicholas Hastings f04f4fe178 Added editor config to keep indentation normalized. 2013-08-02 16:51:05 -04:00
Nicholas Hastings 064fbaea32 Display total size of downloaded data. 2013-08-02 16:50:12 -04:00
Nicholas Hastings 9c2499f866 Removed unused constants. 2013-08-02 16:47:50 -04:00
Nicholas Hastings 45bbbda746 Don't request Steam2 ticket. 2013-08-02 16:46:55 -04:00
Nicholas Hastings aacc40ff5e Removed removed files from project file. 2013-08-02 16:45:44 -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
psychonic 5602f4f79e DepotDownloader: fixed crash on some Steam3 apps when not supplying depot id. 2012-07-07 11:55:54 -04:00
psychonic 43ca82f869 Backed out changeset: 26ba29eb818f 2012-06-05 20:51:28 -04:00
psychonic 8a98c812c2 Ditch P/Invoke for detecting OSX as it's a detected platform since .NET 3.5. 2012-06-05 18:44:39 -04:00
psychonic acdd8bdebc Add support for specifying single depot (+app) for steam3 content. 2012-06-05 16:58:01 -05:00
psychonic 040c3926df Fix crash instead of graceful exit on ServiceUnavailable. 2012-06-05 16:54:45 -05:00
psychonic e33cf18265 Print found licenses. 2012-06-05 16:49:43 -05:00
psychonic 0f2edd0a94 Fix error downloading some depots to current directory (-dir .) 2012-06-05 16:45:41 -05:00
psychonic 25c47e2fbb Missed two lines in last commit. 2012-06-04 16:20:44 -04:00
psychonic cdd9c640d6 Fixed DepotDownloader compile errors from JobID changes. 2012-06-04 16:18:15 -04:00
psychonic 680355e022 Added -filelist support for Steam3 downloading. 2011-12-10 01:21:03 -05:00
psychonic 866e7ff778 Fixed DD crash when specifying -dir without -game. 2011-12-10 01:18:24 -05:00
psychonic b1810c0eb0 Don't keep retrying single, dead server. Try all for cell! 2011-12-08 20:24:38 -05:00