Giter Club home page Giter Club logo

depotdownloader's People

Contributors

asherkin avatar azuisleet avatar dependabot-preview[bot] avatar dependabot[bot] avatar eroen avatar gbps avatar gibbed avatar js6pak avatar lifeismana avatar margen67 avatar nickninetheeagle avatar prodigysim avatar psychonic avatar sunnjek avatar tcnoco avatar theds avatar voided avatar xpaw avatar yaakov-h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

depotdownloader's Issues

Mono DepotDownloader failed to connect "Unable to get steam3 credentials"

When i enter following command mono DepotDownloader.exe -app 730 i get the message "Connecting to Steam3..." and then about 20 times "Reconnecting" after the "Reconnecting" messages i get "Timeout connecting to Steam3." "Unable to get steam3 credentials.".

I tried to monitor the connecting via wireshark. Wireshark Dump hosted on Google Drive
I just get a Server Hello Done from steam.
I tried the same thing on my windows machine there i got a Client Key Exchange, Server Hello Done from steam.

I added the mozilla certificate to the mono certificate pool so it should trust it.

If you have any question or need more information please ask.
And please excuse my bad english.

[Feature Request] Force Region

I want download a region locked game, but looks like the DepotDownloader singin in the steam as a US user, then I can't download the depot.

Lock violation on path ...

I'm using DepotDownloader with
SteamKit 1.8.3
mono 5.2.0.2
on a Raspberry Pi 3 with newest Raspbian installed

pi@testpi:~ $ uname -a
Linux testpi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

I am getting irregular crashes of the program itself, but also irregular errors like this:

---> (Inner Exception #1) System.IO.IOException: Lock violation on path /media/nas/Download/Steamapps/201810/base/bink/loading/c03/cs_c03_safepassage_journey_hg.bik
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001d8] in <c109e83bf6b6427c945b56620bfa750d>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <c109e83bf6b6427c945b56620bfa750d>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.Open (System.String path, System.IO.FileMode mode) [0x00000] in <c109e83bf6b6427c945b56620bfa750d>:0
  at DepotDownloader.ContentDownloader+<>c__DisplayClass23_1.<DownloadSteam3>b__4 (DepotDownloader.ProtoManifest+FileData file) [0x00273] in <18606e5be8974135b4072602eba08b16>:0
  at System.Linq.Parallel.ForAllOperator`1+ForAllEnumerator`1[TInput,TKey].MoveNext (TInput& currentElement, System.Int32& currentKey) [0x00029] in <e3fb361e66bb4797b6f56fd88e04971e>:0
  at System.Linq.Parallel.ForAllSpoolingTask`2[TInputOutput,TIgnoreKey].SpoolingWork () [0x00010] in <e3fb361e66bb4797b6f56fd88e04971e>:0
  at System.Linq.Parallel.SpoolingTaskBase.Work () [0x0005d] in <e3fb361e66bb4797b6f56fd88e04971e>:0
  at System.Linq.Parallel.QueryTask.BaseWork (System.Object unused) [0x00015] in <e3fb361e66bb4797b6f56fd88e04971e>:0
  at System.Linq.Parallel.QueryTask+<>c.<.cctor>b__10_0 (System.Object o) [0x00000] in <e3fb361e66bb4797b6f56fd88e04971e>:0
  at System.Threading.Tasks.Task.InnerInvoke () [0x00025] in <c109e83bf6b6427c945b56620bfa750d>:0
  at System.Threading.Tasks.Task.Execute () [0x00010] in <c109e83bf6b6427c945b56620bfa750d>:0 <---
pi@testpi:~/SteamDL $ mono -V
Mono JIT compiler version 5.2.0.215 (tarball Mon Aug 14 16:59:51 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen (concurrent by default)

dotnet.exe has exited with code 0 (0x0)

full log:

'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Markus\Desktop\DepotDownloader\DepotDownloader\bin\Debug\netcoreapp2.0\DepotDownloader.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Markus.nuget\packages\steamkit2\2.0.0\lib\netstandard2.0\SteamKit2.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\netstandard.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.0-rc1\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[13324] dotnet.exe' has exited with code 0 (0x0).

Although it compiled something but no sign of .exe's. only some dlls in the netcoreapp2.0 folder:
image

Crash when downloading from app 346680

Getting this crash when downloading from app 346680 - Black Mesa Dedicated Server. Let me know if you need more info.

Using filelist: './filelist.txt'.
No username given. Using anonymous account with dedicated server subscription.
Connecting to Steam3... Done!
Logging anonymously into Steam3... Done!
Using Steam3 suggested CellID: 41
Got AppInfo for 346680
Got depot key for 346682 result: OK
Got depot key for 346683 result: OK
Got depot key for 346681 result: OK
Insufficient privileges to get access token for app 221140
Got AppInfo for 221140

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
   at DepotDownloader.ContentDownloader.GetSteam3DepotManifest(UInt32 depotId, UInt32 appId, String branch)
   at DepotDownloader.ContentDownloader.GetSteam3DepotManifest(UInt32 depotId, UInt32 appId, String branch)
   at DepotDownloader.ContentDownloader.GetDepotInfo(UInt32 depotId, UInt32 appId, String branch)
   at DepotDownloader.ContentDownloader.DownloadApp(UInt32 appId, UInt32 depotId, String branch)
   at DepotDownloader.Program.Main(String[] args)

add information on copyright and application of the GPL-2.0 license

The GPL recommends the steps outlined below to apply it to software (take from https://github.com/SteamRE/DepotDownloader/blob/master/LICENSE) that are missing from the project at this point. It would be good to add these, esp. to add copyright information, contact information, and to clarify if the redistribution can be only under GPL 2.0, or at one's option any later version of the GPL.

I would be happy to submit a PR that adds this information to the top of all source files to take this load off of you! I would just need to know what authors, contact info, and GPL versions are desired ... :]

I added the project to the OpenBSD ports tree and am very happy with it! (openbsd/ports@746fa66)

How to Apply These Terms to Your New Programs

[...]

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.
[...]

Reconnecting...

I'm trying to download a specific depot, but all it ever says is

"Reconnecting"

and trying to many times caused me to be locked out of my steam account...

Failing to download Dota 2 workshop tools

I am using the latest release (2.1.1), I just asked it to download the depot that contains the workshop tools:

-app 570 -depot 313250

It downloads most of the stuff, but I noticed several errors during the install, aka, it failed to find a server with a given chunk, and is kept saying "aborting", it finished downloading and I was left with all the files, only, most were corrupted, so it was useless.

I'm happy to get the exact error(s) if that will help.

Thanks.

New release

Can you make a new release? Just the old one don't have some new fixes like "Access Denied" fix.

无法下载workshop项目

root@test-ub:~/depotdownloader# dotnet DepotDownloader.dll -pubfile 1710420172 -username ueser -password 123456
Error: -app not specified!

HTTP Status Code 404 for existing Manifest IDs

I'm currently using this tool for a personal project of mine where I index all mods of a games workshop and allow people to scan for reuploads by hashes.

My worker fetches an up-to-date list of all workshop objects, then attempts to download the manifest data and save that information to a database.

However I've recently stumbled upon an error message that I can't really follow: When attempting to download some manifests via appid, depotid and manifestid (in which case appid == depotid), it fails to retrieve the information correctly (or, at all) often printing out "Internal server error" and mostly followed up by "NotFound". However all objects I've checked so far do exist and their manifestid is correct when attempting to download through depotdownloader.

Might it be that some workshop objects aren't accessible via the depot where the depotid is equal to the appid?

Some specific file paths do not work

When working with a few games, I noticed that some paths seem to fail to be found. There doesn't seem to be any reason why these paths would fail, as you can use a more generic path or wildcard and the same, exact path you had originally specified is where it grabs the file from.

Examples:

DedicatedServer64\Sandbox.Game.dll does not work
DedicatedServer(.*)\Sandbox.Game.dll works
Sandbox.Game.dll works

The odd thing is that I can specify other files under that same DedicatedServer64 folder and they are found without issues. I suspect this may be related/the same as #17.

These are from the game server: https://steamdb.info/depot/367971/

I seem to be unable to download previous manifests of depots.

I'm using the command
DepotDownloader -username wertercatt -password [mypasswordhere] -depot 441 -manifest 3605898397490469600 -app 440

Which should get me a previous version of the depot "TF2 Client server shared," however, it still seems to download the latest version of the depot. Is this an intentional change Valve did, or is this a bug with the program?

(Sidenote: Why was the -version parameter removed? Can you no longer get the manifest information for a specific build version from Steam?)

Stops checking depots for branch at first failure to find match

When you try to use a specific branch (ie. itemv2 for Hurtworld) and do not specify a depot, it will fail at the first depot and default to the public branch instead of check the other 4+ depots.

This can be resolved by specifying the depot ID, but ideally that shouldn't be required.

probably a stupid question - no .exe

Hi - I downloaded the files to a folder and tried to use it, but there is no .exe file. I guess I probably just need to do some kind of installation process, but I don't know what I'm doing. Can someone please help? Thanks!

Make batch file work when called from any working directory.

I couldn't figure out where you're pulling depotdownloader.bat from for releases, so instead of forking and sending a PR, have an issue instead.

No executable found matching command "dotnet-DepotDownloader.dll". See https://aka.ms/missing-command for more information.

To fix this nonsense, change the line in depotdownloader.bat from dotnet DepotDownloader.dll %* to dotnet %~dp0DepotDownloader.dll %*.

Newest release don't seem to work.

The newest release fails to connect to any servers for me. I fixed it by updating the two DLLs included. Perhaps you should tell people to do this...

AccessDenied when attempting to download

No sure why this is suddenly an issue, but I can download the same appid using SteamCMD without any issues. This used to work just fine with DepotDownloader, so I'm not sure why it started showing AccessDenied.

Accepted new login key for account USERNAME
Got AppInfo for 304930
Using app branch: 'public'.
Unable to get appticket for 228986: AccessDenied
Disconnected from Steam
No valid depot key for 228986, unable to download.
Depot 304931 (Unturned Windows 32) is not available from this account.
Depot 304935 (Unturned Windows 64) is not available from this account.
Depot 304933 (Unturned Shared) is not available from this account.
Depot 304938 (Unturned Shared_Release) is not available from this account.
Total downloaded: 0 bytes (0 bytes uncompressed) from 0 depots

Port to node.js

Sadly the amazing features offered by your DepotDownloader are not available for node.js applications. Most, if not all, functions needed for DepotDownloader (provided by SteamKit) are available through node-steam-user's CDN component. From what I've checked, it should be possible to convert the logic 1-to-1 to node.js. Please, consider doing this.

Feature Request: download the original .manifest file

As for now, -manifest-only argument only creates a file list. But what if someone need checksums or whatever else from .manifest (like manifest creation date)? So, if we can download manifests, can we also make the original .manifest file by calling -manifest-only?

DepotDownloader crashes

The following exception oocurs using this command-line:

>DepotDownloader -app 240 -username fsdd -password sdfsd -dir "D:\test" -filelist filelist.txt -all-platforms

Exception:

System.NullReferenceException:
   at DepotDownloader.ContentDownloader.AccountHasAccess(UInt32 depotId) in ...\DepotDownloader\ContentDownloader.cs:Zeile 107.
   at DepotDownloader.ContentDownloader.DownloadApp(UInt32 appId, UInt32 depotId, String branch) in ...\DepotDownloader\DepotDownloader\ContentDownloader.cs:Zeile 311.
   at DepotDownloader.Program.Main(String[] args) in ...\DepotDownloader\DepotDownloader\Program.cs:Zeile 10

Tested on multiple systems with multiple accounts. Worked before. I guess a steam update is the cause of this.

Arithmetic operation resulted in an overflow

While downloading:

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.OverflowException: Arithmetic operation resulted in an overflow.
  at System.Linq.Enumerable.Sum(IEnumerable`1 source)
  at DepotDownloader.ContentDownloader.<>c__DisplayClass28.<DownloadSteam3>b__1c(FileData file)
  at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
  at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
  at System.Linq.Parallel.SpoolingTaskBase.Work()
  at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
  at System.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
  at System.Threading.Tasks.Task.InnerInvoke()
  at System.Threading.Tasks.Task.Execute()
  --- End of inner exception stack trace ---
  at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
  at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream`2 partitions, TaskScheduler taskScheduler)
  at System.Linq.Parallel.DefaultMergeHelper`2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
  at System.Linq.Parallel.MergeExecutor`1.Execute()
  at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
  at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
  at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
  at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
  at System.Linq.Parallel.ScanQueryOperator`1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
  at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
  at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
  at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
  at System.Linq.ParallelEnumerable.ForAll[TSource](ParallelQuery`1 source, Action`1 action)
  at DepotDownloader.ContentDownloader.DownloadSteam3(List`1 depots)
  at DepotDownloader.ContentDownloader.DownloadApp(UInt32 appId, UInt32 depotId, String branch, Boolean forceDepot)
  at DepotDownloader.Program.Main(String[] args)

Failed to retrieve content server list

well here it is.

this is my txt setup and bat setup
remastered.txt
HomeworldRM\Data\Homeworld2.big
HomeworldRM\Data\HW2Ships.big
HomeworldRM\Data\HW1Ships.big
HomeworldRM\Data\HW2Campaign.big

and my oldHW.bat
@echo off
cls
set /p user="Steam username: "
set /p pass="Steam password: "
cls
DepotDownloader.exe -app 244160 -all-platforms -depot 244161 -manifest 2705039423460849921 -filelist "remastered.txt" -username "%user%" -password "%pass%" -dir remastered
pause

and the result...

Got session token!
Accepted new login key for account [MY STEAM ACCOUNT NAME]
Got AppInfo for 244160
Using app branch: 'Public'.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Got appticket for 244161!
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Got depot key for 244161 result: OK
Downloading depot 244161 - Hickory HD
Downloading depot manifest...Failed to retrieve content server list: An internal
error occurred while attempting to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.
Failed to retrieve content server list: An internal error occurred while attempt
ing to parse the response from the CS server.

Open source license

Is this code intended to be open source by all 9 contributors? Without a license file or any reference to copyrights, the default in most copyright jurisdictions would be "All rights reserved.".

The SteamKit2 library is LGPL2 or later, would you consider re-licensing DepotDownloader under GPL3 or later? You would need an explicit acknowledgement from all contributors.

Finally, thanks for providing a non-Steam way of downloading the games :)

App XXX is not available from this account.

Hi,
I'm having this problem with multiple games, tried with some I own first, then with an F2P game.
Could this be SteamGuard related?
mono DepotDownloader.exe -app 440 -user $user -pass $pass

Connecting to Steam3... Done!
Logging anonymously into Steam3... Done!
Using Steam3 suggested CellID: 91
Got AppInfo for 440
App 440 (Team Fortress 2) is not available from this account.

Mono DepotDownloader gets 401 on all apps

Running on Linux using Mono. Regardless of what app I try to download, I get a 401 error. Tried a number of different things but not sure what I'm doing incorrectly. I can't even get just the depot manifest.

mono DepotDownloader.exe -app 620 -username []l -password [] -dir ~/Downloads/Temp
Connecting to Steam3... Done!
Logging '[]' into Steam3...This account is protected by Steam Guard.
Please enter your 2 factor auth code from your authenticator app: MFHGQ
Retrying Steam3 connection... Done!
Logging '[]' into Steam3... Done!
Using Steam3 suggested CellID: 63
Got 96 licenses for account!
Licenses: 965, 700, 2206, 1178, 1238, 469, 1679, 663, 1451, 1182, 1181, 1180, 6146, 3083, 7369, 7877, 2916, 12248, 13858, 15409, 11463, 13503, 14839, 15609, 17976, 13054, 11001, 12318, 18976, 13533, 13123, 29136, 13437, 27190, 17110, 26016, 38068, 36614, 14433, 40537, 32335, 43168, 50073, 46867, 53345, 35401, 44712, 41133, 26595, 28521, 40245, 51156, 66010, 62532, 70491, 36425, 59273, 68475, 61326, 75481, 52167, 33775, 50918, 27437, 105051, 108960, 110652, 38647, 103396, 41703, 32132, 1774, 28315, 2832, 17697, 62759, 15953, 17079, 19132, 135914, 56692, 75197, 90859, 132479, 0, 90033, 39187, 50760, 57566, 50980, 15015, 29616, 88801, 50845, 67596, 1259
Got session token!
Got AppInfo for 620
Depot 660 (Portal 2 - Sixense Motion) is not available from this account.
Got appticket for 624!
Got depot key for 624 result: OK
Got appticket for 623!
Got depot key for 623 result: OK
Got appticket for 622!
Got depot key for 622 result: OK
Got appticket for 621!
Got depot key for 621 result: OK
Got appticket for 625!
Got depot key for 625 result: OK
Got appticket for 626!
Got depot key for 626 result: OK
Got appticket for 627!
Got depot key for 627 result: OK
Got appticket for 628!
Got depot key for 628 result: OK
Got appticket for 661!
Got depot key for 661 result: OK
Depot 323180 (Portal 2 Soundtrack (323180) Depot) is not available from this account.
Downloading depot 624 - portal 2 client binaries
Downloading depot manifest...Got CDN auth token for cdn.comcast.cs.steampowered.com result: OK (expires 1/19/2017 1:50:01 AM)
Initialized connection to content server cdn.comcast.cs.steampowered.com:80 (CDN) with depot id 624
Encountered 401 for depot manifest 624 1468736509491635097. Aborting.

Unable to download manifest 1468736509491635097 for depot 624

Any idea what I'm doing wrong? I own a licence for the app. 401 is 'access denied' correct?

ContentDownloader.cs(338,17): error CS0103: The name `_' does not exist in the current context

While trying to compile the DepotDownloader on a RaspberryPi3 using Debian (osmc) I got the following Error:

ContentDownloader.cs(338,17): error CS0103: The name `_' does not exist in the current context
                        Task "Csc" execution -- FAILED
                        Done building target "CoreCompile" in project "/home/osmc/DepotDownloader/DepotDownloader/DepotDownloader.csproj".-- FAILED
                Done building project "/home/osmc/DepotDownloader/DepotDownloader/DepotDownloader.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/home/osmc/DepotDownloader/DepotDownloader.sln".-- FAILED
Done building project "/home/osmc/DepotDownloader/DepotDownloader.sln".-- FAILED

Build FAILED.
Errors:

/home/osmc/DepotDownloader/DepotDownloader.sln (default targets) ->
(Build target) ->
/home/osmc/DepotDownloader/DepotDownloader/DepotDownloader.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

        ContentDownloader.cs(338,17): error CS0103: The name `_' does not exist in the current context

         0 Warning(s)
         1 Error(s)

Sessions / autologin

Please add the ability to keep a login session open so that one doesn't need to log in every time they run a command, or need to do 2FA every time.

If the tool writes some sort of session file that would work but I feel it would be the most flexible if there was a way to return the auth token and pass it as an argument.

Skip OS check if depotid is specified directly

depotdownloader -app 250820 -depot 250832
Depot 250832 not listed for app 250820 or not available on this platform

I feel like this check is useless when depotid is specified directly, which requires specifying OS/all-platforms unnecessarily.

Can't download depots:"NotFound (Not Found)'

Thank you for making this amazing tool.
This is a good dedicated server update solution.

i using for Don't Starve Together dedicated server

command:

dotnet DepotDownloader.dll -pubfile 1839858501 -username test -password test

Error:

Downloading depot manifest...Got CDN auth token for cache3-hkg1.steamcontent.com result: OK (expires 2019/9/14 12:40:54)

Initialized connection to content server cache3-hkg1.steamcontent.com:443 (SteamCache) with depot id 322330

Encountered error downloading manifest for depot 322330 784111807996283035: Response status code does not indicate success: NotFound (Not Found).

Got CDN auth token for cache1-hkg1.steamcontent.com result: OK (expires 2019/9/14 12:40:54)
Initialized connection to content server cache1-hkg1.steamcontent.com:443 (SteamCache) with depot id 322330

Encountered error downloading manifest for depot 322330 784111807996283035: Response status code does not indicate success: NotFound (Not Found).

Unable to get steam3 credentials

Using version 2.1.1 and windows xp.
Yesterday, this command works great:
-app 243730 -depot 243732 -username 1234 -password 1234 -dir G:\sdk
But today i tried:
-app 243730 -depot 243732 -username 1234 -password 1234 -dir G:\sdkbeta -beta upcoming
and also the previous command again and does not work at all.

Connecting to Steam3...Timeout connecting to Steam3.
Unable to get steam3 credentials.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at DepotDownloader.ContentDownloader.AccountHasAccess(UInt32 depotId)
at DepotDownloader.ContentDownloader.DownloadApp(UInt32 appId, UInt32 depotId
, String branch)
at DepotDownloader.Program.Main(String[] args)

Thanks.

Updated SteamPipe protocol

The SteamPipe protocol has been updated. There are no more legacy CS servers. All servers now use the CDN token auth (it should have been checking usetokenauth probably).

GetAppOwnershipTicket errors are ignored. Depot encryption keys and CDN auth tokens are retrieved. Steam seems to request tokens for "steampipe.steamcontent.com" instead of the exact hostname. CDN token requests for comcast are for the full host "edge.steam-dns.top.comcast.net"

http://cs.steamcontent.com/serverlist/49/20/

https://valve1400.steampipe.steamcontent.com/ is still Valve Interserver self-signed (https optional)
https://edge.steam-dns.top.comcast.net/ is a valid cert (https mandatory)

App tickets are only used for legacy CS auth, so simply removing that path should be sufficient.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.