Counter-Strike: Source FastDL Config Helper

Generate the sv_downloadurl settings and bzip2 compression commands for your CS:S FastDL web server.

FastDL Settings

No trailing slash. This is set as sv_downloadurl.

Resource Types to Host

server.cfg Lines

// FastDL configuration — add to server.cfg
sv_downloadurl "https://fastdl.yourserver.com/css"
sv_allowdownload 1
sv_allowupload 0

bzip2 Compression

FastDL serves .bz2-compressed files for faster downloads. Run these on your web server after uploading files:

Maps (maps/):

find maps/ -type f ! -name "*.bz2" -exec bzip2 -k {} \;

Sounds (sound/):

find sound/ -type f ! -name "*.bz2" -exec bzip2 -k {} \;

Materials (materials/):

find materials/ -type f ! -name "*.bz2" -exec bzip2 -k {} \;

Models (models/):

find models/ -type f ! -name "*.bz2" -exec bzip2 -k {} \;

Web Server File Structure

Your FastDL web root should mirror the CS:S directory layout:

https://fastdl.yourserver.com/css/
  maps/
    example_file.ext
    example_file.ext.bz2
  sound/
    example_file.ext
    example_file.ext.bz2
  materials/
    example_file.ext
    example_file.ext.bz2
  models/
    example_file.ext
    example_file.ext.bz2

• Each file needs both the original and a .bz2 compressed version.

• CS:S checks for the .bz2 first; if not found, it downloads the uncompressed file.

• Make sure your web server allows directory listing or use a file manifest (not required for basic FastDL).

• Workshop maps require the maps/workshop/ subdirectory.