ValveSoftware / steam-for-linux

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

"force_install_dir" command not installing anything #8709

Closed Elaina525 closed 2 years ago

Elaina525 commented 2 years ago

I wanted to download csgg and open a dedicated server, but the code "force_install_dir ./csgo_Server" didn't work. After pressing enter, steamCMD immediately start a new line. Nothing happens after I login.

Output after "force_install_dir ./csgo_Server" image

Output after login image

And if I type the code again, it says "Please use force_install_dir before logon!", which I know, is normal.

Output after another "force_install_dir ./csgo_Server" image

So is this a bug? What should I do to install csgo? Is this because I did all the steps under root user instead of creating a new user?

Steps for reproducing this issue:

  1. Run steamCMD.
  2. Run "force_install_dir ./csgo_Server"
  3. Nothing happens after the code above.
kisak-valve commented 2 years ago

Hello @Elaina525, force_install_dir should tell SteamCMD what local folder you want it to use for the dedicated server. You're looking for app_update <appid> (https://developer.valvesoftware.com/wiki/Command_Line_Options#Commands_2) to tell it to start a download, in this case 740 for Counter-Strike: Global Offensive's dedicated server. (app_update 740)

Elaina525 commented 2 years ago

Hello @Elaina525, force_install_dir should tell SteamCMD what local folder you want it to use for the dedicated server. You're looking for app_update <appid> (https://developer.valvesoftware.com/wiki/Command_Line_Options#Commands_2) to tell it to start a download, in this case 740 for Counter-Strike: Global Offensive's dedicated server. (app_update 740)

It works! Thank you so much!

1sm23 commented 11 months ago

指定的这个./csgo_Server文件夹是不是要自己先建?如果不建,应用会下载到哪里