shadoxxhd / steamworkshopdownloader

download steam workshop items via steamcmd
317 stars 50 forks source link

Downloader freeze after adding a single link and starting #21

Closed Big-Iron-Cheems closed 8 months ago

Big-Iron-Cheems commented 2 years ago

image

For some reason, even when downloading only one mod, the window becomes unresponsive and nothing happens. I have read the install guide, and logged into the SteamCMD, as this game requires my account to be connected. I also own the game on Steam, so there should be no issues with getting these files.

Any help would be appreciated.

shadoxxhd commented 2 years ago

Can you try to download something without being logged in (temporarily remove the login entry in the .ini file)? In the case of this game, that should print out an error, but not freeze.

ykyoshi commented 2 years ago

Same issue here with a couple of GMod mods like this one: https://steamcommunity.com/sharedfiles/filedetails/?id=135509255 Downloading anonymously returns a timeout error.

Big-Iron-Cheems commented 2 years ago

image Sorry for the late reply. Downloading in anonymous mode returns an error, with no freeze.

Could this be caused by some login issue I'm not aware of? I know that the 2FA code should work as long as I insert it the first time for login during the SteamCMD setup. Could it be possible it doesn't somehow "remember" that it's logged in?

NOTE: the request made to the mod link I sent is 200 OK, so at least that part is ok.

shadoxxhd commented 2 years ago

That strongly suggests it is some kind of login issue, yes. Try starting steamcmd.exe manually, log in like in the README, but instead of typing quit, type workshop_download_item 281990 2458928927 (or another valid appid/workshopID combination) and check if something freezes.

shadoxxhd commented 2 years ago

The error is expected, since the game forbids anonymous downloads. I was suggesting to try it this way to check whether the freeze only occurs when trying to log in, or always.

shadoxxhd commented 2 years ago

And if the mod link was invalid, the program would simply tell you.

Big-Iron-Cheems commented 2 years ago

Download through the SteamCMD directly works fine, as expected. I would think it really is a 2FA issue. I have used other downloaders, and they usually asked for the 2FA code at each start, since it's valid only once per login.

EDIT: another smarter approach they used was to ask once for the key that generated your 2FA code, and use the generated codes automatically.

shadoxxhd commented 2 years ago

For me, steamcmd seems to remember the 2fa authentication, but I'm using mail based 2FA instead of an offline key generator...

shadoxxhd commented 2 years ago

One possible solution for this problem would be an option to open an interactive console in addition/instead of logging in the right text box, so the user could input their auth token if necessary.

Generating the codes from the master key seems to be out of scope for this project, and I'm not sure if there is a reliable way to detect steamcmd requiring additional input...

Kussh commented 1 year ago

I have the same problem. I'm using anonymous login to download a Stellaris collection since I have the game on GOG, but it's listed for anonymous downloads thankfully. The downloader just freezes after showing me a couple of prompts and stays frozen. I noticed somehow that steamcmd was still working in the background, so I tried again and just decided to leave the program do its thing, and yes, it's downloading and slowly populating the folder with the downloaded mods and doing its thing in the background. It finishes the downloads except for a single mod which is 3.2GB in size, sadly it even times out on steamcmd alone since my internet is not fast enough.

Screenshot (5)

shadoxxhd commented 8 months ago

@Kussh this isn't the same problem. In your case, the download simply seems to be limited by your network speed - nothing anyone can do about that. Timeouts can sometimes be "fixed" simply by trying again, unless your internet is too slow/unreliable for a given file size.

shadoxxhd commented 8 months ago

Better Steam Guard support was added in v0.6.0. That should solve these issues.