Half-Life 2: Deathmatch

Half-Life 2: Deathmatch

Downloader for materials,map,models,sound
I need to know how to have or make a fastdownloader for my home server, anyone know what i can do?
Originally posted by Xeogin:
Originally posted by Xeogin:
Sorry for the delay, went the nginx route and it was fairly straight forward. The tutorial on Linode is decent: https://www.linode.com/docs/web-servers/nginx/nginx-installation-and-basic-setup/

Only extra steps/issues were enabling autoindex (so you can list all the files in a web browser) and changing folder permissions so the nginx user could read the directories I wanted it to. (This proved helpful when troubleshooting: https://vexxhost.com/resources/tutorials/fixing-403-forbidden-nginx-errors/)

All that's left now is compressing some of the larger files. :) (Though I'm going to experiment with on the fly compression with gzip first, then seen if adding bz2 on top if necessary)

Also, as an FYI, the "sv_consistency" cvar doesn't do anything anymore, but when it did, it was recommended to keep as 1.

Turns out Source is pretty dumb now, so it doesn't care about communication with the server to figure out compression. It just runs GET requests for "filename with bz2" if fail, filename without bz2" if that game supports decompression. So leave gzip disabled and bzip2 larger files. Not sure where the cut-off is, but I can at least assure you compressing everything bzip2 isn't the answer.
< >
Showing 1-12 of 12 comments
Xeogin Dec 24, 2019 @ 10:58am 
It's basically just making a webserver. I plan on setting one up on Linux today, so if I run into any hurdles I'll let you know.
Originally posted by Xeogin:
It's basically just making a webserver. I plan on setting one up on Linux today, so if I run into any hurdles I'll let you know.
ok thanks
Biahwtrooper Dec 24, 2019 @ 2:29pm 
Give me a buzz Exhile , I can help you
Originally posted by Biahwtrooper:
Give me a buzz Exhile , I can help you
ok
Allower Dec 25, 2019 @ 2:11pm 
Originally posted by Xeogin:
It's basically just making a webserver. I plan on setting one up on Linux today, so if I run into any hurdles I'll let you know.
No! He don't need a full web server.



Originally posted by {EXILE}™GuitarSlayer:
I need to know how to have or make a fastdownloader for my home server, anyone know what i can do?
Just use HFS (HTTP File Server) by rejetto - it's very easly and usable

https://www.rejetto.com/hfs/?f=dl - current version is 2.3m
http://www.rejetto.com/hfsfiles/hfs24rc2.exe - beta version is 2.4 rc2

You not need to install this, just download, run and use, create virtual folder, choose opened port, change ip if you need.

in server.cfg (or something like this) put this cvar: sv_downloadurl "ip_or_hostname/path to files/"
ex:
pack your custom files in BZ2 archive, you can use somehting like CSSbzip2v2.5, winrar, winzip, 7zip. Fast-DL servers downloads bz2 files more faster, cuz this file are compressed, and clients game (SourceEngine) unpack this in automatic mode, so create copies of your custom files with bz2 archives.

P.S. i used HFS a large time on my Home Servers and didn't get any issues.

CSS Bzip is here: https://hd9.at.ua/load/0-0-1-9-20

You can use alternate versions of FTP and BZ2 pack programs. That you can find here:
https://gamebanana.com/tuts/6093

Some cvars for downloads/uploads from/to your server:
sv_allowdownload "1"// "0" off sv_allowupload "1"// "0" off sv_consistency "0"// i recmmend off this, cuz this cvar working only for SMAC plugin, and sometimes this is a bugy, Valve created this cvar for file consistency: sv_pure net_maxfilesize "64.000000"// Max file size for downloadable content, but this only for direct downloads, as i know this cvar not used if you use the sv_downloadurl cvar
Last edited by Allower; Dec 25, 2019 @ 3:29pm
Originally posted by Allower:
Originally posted by Xeogin:
It's basically just making a webserver. I plan on setting one up on Linux today, so if I run into any hurdles I'll let you know.
No! He don't need a full web server.



Originally posted by {EXILE}™GuitarSlayer:
I need to know how to have or make a fastdownloader for my home server, anyone know what i can do?
Just use HFS (HTTP File Server) by rejetto - it's very easly and usable

https://www.rejetto.com/hfs/?f=dl - current version is 2.3m
http://www.rejetto.com/hfsfiles/hfs24rc2.exe - beta version is 2.4 rc2

You not need to install this, just download, run and use, create virtual folder, choose opened port, change ip if you need.

in server.cfg (or something like this) put this cvar: sv_downloadurl "ip_or_hostname/path to files/"
ex:
pack your custom files in BZ2 archive, you can use somehting like CSSbzip2v2.5, winrar, winzip, 7zip. Fast-DL servers downloads bz2 files more faster, cuz this file are compressed, and clients game (SourceEngine) unpack this in automatic mode, so create copies of your custom files with bz2 archives.

P.S. i used HFS a large time on my Home Servers and didn't get any issues.

CSS Bzip is here: https://hd9.at.ua/load/0-0-1-9-20

You can use alternate versions of FTP and BZ2 pack programs. That you can find here:
https://gamebanana.com/tuts/6093

Some cvars for downloads/uploads from/to your server:
sv_allowdownlad "1"// "0" off sv_allowupload "1"// "0" off sv_consistency "0"// i recmmend off this, cuz this cvar working only for SMAC plugin, and sometimes this is a bugy, Valve created this cvar for file consistency: sv_pure net_maxfilesize "64.000000"// Max file size for downloadable content, but this only for direct downloads, as i know this cvar not used if you use the sv_downloadurl cvar
ok ill look it over and give it a try,,ty.
Allower Dec 25, 2019 @ 3:23pm 
Hope it helps for you. Also you can see your hfs server via internet browser and check if that works and try to test file downloading. This supports local domain ip and public.
Originally posted by Allower:
Hope it helps for you. Also you can see your hfs server via internet browser and check if that works and try to test file downloading. This supports local domain ip and public.
ok
Allower Dec 25, 2019 @ 3:31pm 
sv_allowdownlad >>> sv_allowdownload

my mistake :)))
Xeogin Dec 27, 2019 @ 7:18am 
Sorry for the delay, went the nginx route and it was fairly straight forward. The tutorial on Linode is decent: https://www.linode.com/docs/web-servers/nginx/nginx-installation-and-basic-setup/

Only extra steps/issues were enabling autoindex (so you can list all the files in a web browser) and changing folder permissions so the nginx user could read the directories I wanted it to. (This proved helpful when troubleshooting: https://vexxhost.com/resources/tutorials/fixing-403-forbidden-nginx-errors/)

All that's left now is compressing some of the larger files. :) (Though I'm going to experiment with on the fly compression with gzip first, then seen if adding bz2 on top if necessary)

Also, as an FYI, the "sv_consistency" cvar doesn't do anything anymore, but when it did, it was recommended to keep as 1.
The author of this thread has indicated that this post answers the original topic.
Xeogin Dec 27, 2019 @ 7:45am 
Originally posted by Xeogin:
Sorry for the delay, went the nginx route and it was fairly straight forward. The tutorial on Linode is decent: https://www.linode.com/docs/web-servers/nginx/nginx-installation-and-basic-setup/

Only extra steps/issues were enabling autoindex (so you can list all the files in a web browser) and changing folder permissions so the nginx user could read the directories I wanted it to. (This proved helpful when troubleshooting: https://vexxhost.com/resources/tutorials/fixing-403-forbidden-nginx-errors/)

All that's left now is compressing some of the larger files. :) (Though I'm going to experiment with on the fly compression with gzip first, then seen if adding bz2 on top if necessary)

Also, as an FYI, the "sv_consistency" cvar doesn't do anything anymore, but when it did, it was recommended to keep as 1.

Turns out Source is pretty dumb now, so it doesn't care about communication with the server to figure out compression. It just runs GET requests for "filename with bz2" if fail, filename without bz2" if that game supports decompression. So leave gzip disabled and bzip2 larger files. Not sure where the cut-off is, but I can at least assure you compressing everything bzip2 isn't the answer.
Last edited by Xeogin; Dec 27, 2019 @ 7:46am
Originally posted by Xeogin:
Originally posted by Xeogin:
Sorry for the delay, went the nginx route and it was fairly straight forward. The tutorial on Linode is decent: https://www.linode.com/docs/web-servers/nginx/nginx-installation-and-basic-setup/

Only extra steps/issues were enabling autoindex (so you can list all the files in a web browser) and changing folder permissions so the nginx user could read the directories I wanted it to. (This proved helpful when troubleshooting: https://vexxhost.com/resources/tutorials/fixing-403-forbidden-nginx-errors/)

All that's left now is compressing some of the larger files. :) (Though I'm going to experiment with on the fly compression with gzip first, then seen if adding bz2 on top if necessary)

Also, as an FYI, the "sv_consistency" cvar doesn't do anything anymore, but when it did, it was recommended to keep as 1.

Turns out Source is pretty dumb now, so it doesn't care about communication with the server to figure out compression. It just runs GET requests for "filename with bz2" if fail, filename without bz2" if that game supports decompression. So leave gzip disabled and bzip2 larger files. Not sure where the cut-off is, but I can at least assure you compressing everything bzip2 isn't the answer.
Ok,,thank you for your help,,i got it working,,thanks.
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Dec 24, 2019 @ 9:05am
Posts: 12