1. yes DoD servers (HLDS.EXE) and HL1 clients do support fast http downloads

2. no, HL1 clients can't download .bz2 files (.ztmp local files will be
automatically generated though which are a little faster)

3. sv_downloadurl  must be set to "" (not zero) to disable the fast http
download

4. clients must connect from steam directly (not via "connect
xxx.xxx.xxx.xxx" in console) for the fast d/l to work (connected +
changelevel is ok too).

Most items in maps like sprites, models and sounds are automatically
requested w/o a .res file, but the .res file itself, map .txt, overview
files, .wad files and skybox files are not automatically downloaded from
either http or the server unless they are specifically referenced in the
.res file.

One other gotcha with using sv_downloadurl with linux-based  web servers is
that you must run the map on the server and have the files referenced in the
.res file be exactly the same case as the files as they are stored on the
webserver.

IE (will work):

on server console:
   map dod_custommap

bsp stored on webserver:
   dod/maps/dod_custommap.bsp

However, if you have "DOD_custommap.bsp" on the webserver, or have it like
that in your mapcycle it won't be http downloaded by the client.

I usually make all the stored content on my linux-based webserver all
lower-case as this greatly simplifies making things work predictably.



----- Original Message -----
From: "Dan Sorenson"
To: <[email protected]>
Sent: Tuesday, May 01, 2007 12:25 AM
Subject: [hlds] DoD Steam sv_downloadurl questions


Kind of a giggles and grins assignment, dust off a DoD Steam server
after 2 years for nostalgia night.  sv_downloadurl seems to be there, but
I'm having difficulty getting the test client to download from the webserver
and
the grey matter doesn't remember how things were done in The Old Days.

Documentation is getting difficult to find too.  So, some questions:

1) DoD Steam does allow web download via sv_downloadurl, right?

2) Does DoD Steam allow download of bzip2 compressed files?

3) If web download is available the server should still operate properly
with sv_allowdownload set to zero -- that won't prohibit download from a
webserver but will prevent the slow download from the server, right?

I've been building the .res files manually, first adding entities until a
map loads on the server then joining with a bare client and noting and
adding any resources it requests.  I'm pretty certain that will provide all
items a map does need.  Now my problem is with the webserver, which the
client doesn't seem to want to request files from.  Obviously, I'm missing
something simple in my assumptions here.

- Dan

* Dan Sorenson      DoD #1066      A.H.M.C. #35


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to