halflife icon indicating copy to clipboard operation
halflife copied to clipboard

HLDS incomplete downloading with SteamCMD

Open aduzsardi opened this issue 13 years ago • 12 comments

steamcmd +app_update 90 validate

only downloads 19MB of content , the main engine files and valve/dll/hl.dll

aduzsardi avatar Apr 04 '13 07:04 aduzsardi

Yeah it's a little glitchy, you have to run the command several times for it to fully install the hlds.

edit: Just started happening recently.

zp avatar Apr 04 '13 08:04 zp

yeah I've been having issues with steamcmd also when you do

steamcmd +app_update 90 validate

then check version it says 5956 even thou there has been like 3 or so public updates since the Feb 14th build and everytime a public update came out i tried

steamcmd +app_update 90 validate

but it always gave me 5956 so i been using "90 -beta beta" and even then it doesn't always give me the latest beta build i used "90 -beta beta" the other day to get the latest public build 5998 Protocol version 48 Exe version 1.1.2.7 (cstrike) Exe build: 11:28:47 Mar 27 2013 (5998)

but then used beta beta today as i saw on http://steamcommunity.com/games/10 another beta update since the last pub update to get 6003 but it still gives me 5998 and this happens even if i completly delete everything and download the entire thing again.

if using just app_update 90 you should by right get the latest public build as is advertsed as the latest public build @ http://steamcommunity.com/games/10

and if using beta beta should get the latest beta build as being advertized as a beta update @ http://steamcommunity.com/games/10

B-Mack avatar Apr 05 '13 04:04 B-Mack

We can reproduce this, we are looking into a fix.

alfred-valve avatar Apr 26 '13 00:04 alfred-valve

Any news ? It's getting frustrating...

ROZEUS avatar Nov 20 '13 12:11 ROZEUS

im trying to build a wiki of reproducible absolutely correct information for gentoo, this is driving me nuts. relative paths swapped to absolute paths because relative paths can lead to user errors and is poor taste for future support. this should of been way more well tested before deprecating the original hlds stuff. that stuff ran great!

666threesixes666 avatar May 12 '14 19:05 666threesixes666

They don't care.

di57inct avatar May 12 '14 19:05 di57inct

Is this still an issue? I have not had cause to re-install a new HLDS installation in a long time, and tried (and failed) today - big time.

The installation command I am using (which has worked before, but maybe a long time ago) is:

~/steamcmd/steamcmd.sh +login someloginname +force_install_dir
/home/someusername/somefolder +app_update 90 validate +quit;

It APPEARED to install (i.e. said "App '90' fully installed."). However, when I try to actually RUN what's installed, I get this error:

FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad

If I run the installation again (to "validate"), I get this warning about other AppID's?

Redirecting stderr to '/home/someusername/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'someloginname' to Steam Public...
Using cached credentials. . .
Logged in OK
Waiting for license info...OK
/home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/clientjobupdatedepots.cpp
(112) : Assertion Failed: CAppUpdateDepotsJob::InitPrimaryApp: 90 missing
required app 70
/home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/clientjobupdatedepots.cpp
(112) : Assertion Failed: CAppUpdateDepotsJob::InitPrimaryApp: 90 missing
required app 10
 Update state (0x5) validating, progress: 20.80 (8797216 / 42294745)
Success! App '90' fully installed.

If I keep running that "app_update 90 validate", the numbers keep changing for "validating, progress" - but not necessarily even up-ward. They seem to bounce all over the place.

Mecha-Weasel avatar Jan 12 '15 06:01 Mecha-Weasel

Just a quick update ... I tried again today, and for whatever reason it worked. All the content normally there appears to be there (including the gfx.wad that HLDS was complaining about being missing previously). Go figure.

Steam>login somesteamuser somepassword
Logging in user 'somesteamuser' to Steam Public...Logged in OK
Waiting for license info...OK
Steam>force_install_dir /home/somelinuxuser/somefolder
Steam>app_update 90
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x11) preallocating, progress: 12.52 (97746401 / 780453661)
 Update state (0x11) preallocating, progress: 90.51 (706385361 / 780453661)
 Update state (0x61) downloading, progress: 7.22 (56350521 / 780453661)
 Update state (0x61) downloading, progress: 17.16 (133896855 / 780453661)
 Update state (0x61) downloading, progress: 27.34 (213355716 / 780453661)
 Update state (0x61) downloading, progress: 33.55 (261866613 / 780453661)
 Update state (0x61) downloading, progress: 34.60 (270019922 / 780453661)
 Update state (0x61) downloading, progress: 35.10 (273929430 / 780453661)
 Update state (0x61) downloading, progress: 35.65 (278218758 / 780453661)
 Update state (0x61) downloading, progress: 36.26 (282962404 / 780453661)
 Update state (0x61) downloading, progress: 36.41 (284165307 / 780453661)
 Update state (0x61) downloading, progress: 37.55 (293066560 / 780453661)
 Update state (0x61) downloading, progress: 56.16 (438266802 / 780453661)
 Update state (0x61) downloading, progress: 67.16 (524162266 / 780453661)
 Update state (0x61) downloading, progress: 74.21 (579137418 / 780453661)
 Update state (0x61) downloading, progress: 81.04 (632500428 / 780453661)
 Update state (0x61) downloading, progress: 90.44 (705865447 / 780453661)
 Update state (0x61) downloading, progress: 90.98 (710059751 / 780453661)
 Update state (0x61) downloading, progress: 91.59 (714818443 / 780453661)
 Update state (0x61) downloading, progress: 92.35 (720750683 / 780453661)
 Update state (0x61) downloading, progress: 94.45 (737110340 / 780453661)
 Update state (0x61) downloading, progress: 94.58 (738158916 / 780453661)
 Update state (0x61) downloading, progress: 97.75 (762871707 / 780453661)
 Update state (0x61) downloading, progress: 99.87 (779405085 / 780453661)
 Update state (0x81) committing, progress: 42.50 (313680639 / 738158916)
Success! App '90' fully installed.
Steam>app_update 90 validate
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x5) validating, progress: 81.78 (603679722 / 738158916)
Success! App '90' fully installed.
Steam>

Mecha-Weasel avatar Jan 13 '15 18:01 Mecha-Weasel

Another update, I take that back after tying to run it, it is throwing an error about "gfx.wad" again:

FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad

When running a "validate", it shows this:

Steam>app_update 90 validate
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x5) validating, progress: 62.63 (462322157 / 738158916)
/home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/applicationmanager.cpp (1376) : Assertion Failed: CSteamClientApp::ModifyStateFlags invalid eState = 0x00000504, appID = 90
 Update state (0x81) committing, progress: 0.00 (0 / 0)
Success! App '90' fully installed.

Mecha-Weasel avatar Jan 13 '15 18:01 Mecha-Weasel

Ok, this is wierd. When I run the app_update 90 validate the valve/gfx.wad file (along with tons of other files) is being deleted! I confirmed this by doing an installation, verifying that the file is there. I zip-up the entire installation folder for later reference (so I know that I am not going crazy). Then I run the app_update 90 validate, giving the message noted above (Success! App '90' fully installed), then I check the folders again, and valve/gfx.wad is gone!

Which, explains why when I try to actually run the game it complains about valve/gfx.wad being missing.

Mecha-Weasel avatar Jan 13 '15 19:01 Mecha-Weasel

I have a similar problem. https://forums.alliedmods.net/showthread.php?t=304005

rx1983 avatar Dec 31 '17 16:12 rx1983

is it underway?

wilianmaique avatar Jul 29 '19 23:07 wilianmaique