ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.7k stars 624 forks source link

[ GoldSrc ] Allow to download compressed files (.ztmp) from webhost (sv_downloadurl) #1945

Open Sylwester opened 11 years ago

Sylwester commented 11 years ago

Adding this feature would reduce download times and used webhost bandwidth and space by about half.

alfred-valve commented 11 years ago

You should be able to add gzip as your default web host encoding and get the same gains.

anupx73 commented 11 years ago

Well, gzip file format download and uncompression is supported by Source engine. Does the same support for Goldsource (hl.exe) now ?

alfred-valve commented 11 years ago

Yes, GoldSource supports gzip compression now.

GuskiS commented 11 years ago

Actually, it is not what I suggested.

powerlord commented 11 years ago

alfred: gzip or bzip2? Because Source only supports bzip2.

alfred-valve commented 11 years ago

gzip downloads, not bzip2.

Freeman-AM commented 11 years ago

Well i tried and failed. Then i added maps/de_mirage.bsp.gz in de_mirage.res and here is what i get :

BUILD 5956 SERVER (0 CRC) Server # 1 Couldn't find map maps/de_mirage.bsp, server will download the map Invalid file type...skipping download of maps/de_mirage.bsp.gz

Mar 5 2013 steam version.