ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

steamcmd ignores beta branch #2688

Open massl opened 11 years ago

massl commented 11 years ago

SteamCMD seems to ignore beta branches for me while trying to update ArmA3 Dedicated Server to the latest development build.

Steps to reproduce:

  1. Install ArmA3 Beta Dedicated Server (appID 107410)
  2. Delete all steamcmd hash directories in the install directory
  3. Try to install ArmA 3 DS development beta branch with the command +app_update 107410 -beta development validate

ArmA 3 still stays at the normal beta version (currently 0.72 instead of 0.73).

And here is the manual fix for it:

  1. Keep the steamcmd "hash directory"
  2. Edit appmanifest_107410.acf
  3. Add "betakey" "development" into UserConfig.
  4. Run SteamCMD again

After manually adding the betaKey to the acf file it works.

yaakov-h commented 11 years ago

Try to install ArmA 3 DS development beta branch with the command +app_update 107410 -beta development validate

Isn't it +app_update "107410 -beta development validate"? Note the quotation marks.

massl commented 11 years ago

It doesn't matter if there are quotation marks or not. I have tried both.

massl commented 11 years ago

Oh. I've just noticed that I might be wrong here. Actually this happens on the windows steamcmd.exe because on linux you can't even update due to this totally stupid and dump "wrong platform" error. What would be the correct place to report steamcmd bugs?

gdrewb-valve commented 11 years ago

For Windows issues you'll get better results posting in the regular Steam forums. From a quick discussion steamcmd does understand betas, so something more complicated is going on.

Steam in general doesn't support cross-platform updates, which it sounds like you're trying to do with the Linux steamcmd. It's expected that you'll get a wrong-platform when using a Linux steamcmd to try and update Windows binaries.

massl commented 11 years ago

I'll post that on the steam forums. Thanks.

What exactly is the reason not allowing to cross-plattform update/download contents?

For server hosters it is way more comfortable to use just one server/platform that handles the file distribution. I guess in 99% of the cases this is linux. It would make lifes so much easier if you can implement an option like "+forcePlatform (linux|windows|osx)"

gdrewb-valve commented 11 years ago

There's complexity in a number of ways. For example if you need to run prep steps as the prep binaries might be platform-specific. There might be platform restrictions that can only easily be checked on the platform. There's also history, plus I think the final issue is that it's just not common for people to need to do it.

I'll leave this open as a feature request.

massl commented 11 years ago

Thank you!

I think the steamcmd tool is targeted to people that have a little bit more knowledge than the normal steam user. For me as a server hoster I don't need and I don't want any prep binaries run before updating my file repository or game image file. I just want to get the updates files for my dedicated servers to a directory - nothing more and nothing less.

Maybe an option in addition to forcePlatform would be "+ignoreAllOtherStuffIJustNeedTheFiles" :-)

Thanks for keeping that open. I (and many other serveradmins) would appreciate this "feature".