ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
629 stars 73 forks source link

[SteamCMD] Update does not perform update when switching between beta streams. #3200

Open PhonicUK opened 4 years ago

PhonicUK commented 4 years ago

Once an application has been initially downloaded, it is not possible to update it to a different beta from its initial installation without completely wiping it. The -beta flag essentially gets ignored.

Steps to reproduce:

Expected behaviour:

Actual behaviour:

Example (based on Factorio, app ID 427520):

steamcmd.exe +login "USERNAME" "PASSWORD" +force_install_dir 427520 +app_update 427520 validate +quit
steamcmd.exe +login "USERNAME" "PASSWORD" +force_install_dir 427520 +app_update 427520 -beta 0.18.x validate +quit

Regardless of what you do, the version you choose in the first instance is what you're stuck with.

Hedrauta commented 4 years ago

Especially Games which needs a login, will succeed the Beta-upgrade, if logged in as anonymous that's the one missing thing on the opening ;)

Clean/First install as anonymous

D:\GUI\SteamCMD>steamcmd.exe +login "anonymous" +force_install_dir D:\test_install +app_update 427520 validate +quit
Redirecting stderr to 'D:\GUI\SteamCMD\logs\stderr.txt'
[  0%] Suche nach verfügbaren Updates...
[----] Installation wird überprüft...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
ERROR! Failed to install app '427520' (No subscription)

Clean/First install as User

D:\GUI\SteamCMD>steamcmd.exe +login ( ̄ ‘i  ̄;) ≡(▔﹏▔)≡ +force_install_dir D:\test_install +app_update 427520 validate +quit
Redirecting stderr to 'D:\GUI\SteamCMD\logs\stderr.txt'
[  0%] Suche nach verfügbaren Updates...
[----] Installation wird überprüft...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user ' ( ̄ ‘i  ̄;)' to Steam Public ...

Enter the current code from your Steam Guard Mobile Authenticator app
Two-factor code:இ௰இ
Logged in OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 0.00 (0 / 1609374726)
.
.
.
 Update state (0x61) downloading, progress: 99.54 (1602015680 / 1609374726)
 Update state (0x101) committing, progress: 16.04 (258130213 / 1609374726)
 Update state (0x101) committing, progress: 100.00 (1310014992 / 1310014992)
Success! App '427520' fully installed.

Upgrade to Beta-Branch as anonymous <--- this shouldn't "Succeed"

D:\GUI\SteamCMD>steamcmd.exe +login "anonymous" +force_install_dir D:\test_install +app_update 427520 -beta 0.18.x validate +quit
Redirecting stderr to 'D:\GUI\SteamCMD\logs\stderr.txt'
[  0%] Suche nach verfügbaren Updates...
[----] Installation wird überprüft...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
 Update state (0x5) validating, progress: 0.00 (0 / 0)
Success! App '427520' fully installed.

Upgrade to Beta-Branch as User

D:\GUI\SteamCMD>steamcmd.exe +login  ╯︿╰  ┗( T﹏T )┛ +force_install_dir D:\test_install +app_update 427520 -beta 0.18.x validate +quit
Redirecting stderr to 'D:\GUI\SteamCMD\logs\stderr.txt'
[  0%] Suche nach verfügbaren Updates...
[----] Installation wird überprüft...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user '╯︿╰ ' to Steam Public ...

Enter the current code from your Steam Guard Mobile Authenticator app
Two-factor code:≧ ﹏ ≦
Logged in OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x5) validating, progress: 8.64 (139025235 / 1609374726)
.
.
.
 Update state (0x5) validating, progress: 99.15 (1595627729 / 1609374726)
Success! App '427520' fully installed.