Just to clarify on the .res files; they are not needed on the webserver, but 
are required to be on the gameserver.

I've had no issues either with using bzip2, infact my tool SourceRSC uses bzip2 
to compress the files and I've had no complaints.  I do know that some users 
were having a problem similar to you, and if they didn't switch to binary 
transfer mode before uploading the bz2 to their redirects via ftp it wouldn't 
work.  Re-transfering the files with binary mode solved the problem.

----- Original Message ----- 
  From: Kevin Ottalini 
  To: Half-Life dedicated Win32 server mailing list 
  Sent: Wednesday, September 10, 2008 10:06 AM
  Subject: Re: [hlds] Fast DL server zipping


  I found using Bzip2  to compress maps and related content to not be 
  compatible with Source games,  the clients just never saw them.

  This was both Win32 and Linux servers referring to both Win32 and linux 
  based webservers.
  I tested this extensively (but was a year or so ago).

  The only thing that worked was to let the Game Server compress the files to 
  .ztmp, move the .ztmp files over to the web server and then rename the .ztmp 
  extensions to .bz2 - make sure the extension is lower case on a linux based 
  webserver.

  Step by step:
  -------------------
  1. run the map,
  2. disable http downloading (sv_downloadurl "")
  3. connect a client with none of the custom content
  4. let it download and enter the map
  5. copy everything that was compressed into .ztmp to the web server
  6. rename all the .ztmp extensions on the web server to .bz2

  7. then re-enable sv_downloadurl with your url and test again with a clean 
  client to verify all the .bz2 files are downloaded from the web server

  .res file are never compressed by the server and only .res is accessed on 
  the web server, but they are small.

  qUiCkSiLvEr




  ----- Original Message ----- 
  From: "JDoc0512"
  To: "Half-Life dedicated Win32 server mailing list" 
  <[email protected]>
  Sent: Tuesday, September 09, 2008 3:28 PM
  Subject: Re: [hlds] Fast DL server zipping


  you can use bz2 to compress any file as long as you maintain the directory 
  structure and I don't think you can use zip but why would you use it anyway 
  when bz2 does the same thing by the way, you don't really have to compress 
  sound files. bz2 reduces sizes of sound files only little bit


  --- On Tue, 9/9/08, Patrick Shelley  wrote:
  From: Patrick Shelley Subject: [hlds] Fast DL server zipping
  To: "HLDS Mail List" <[email protected]>
  Date: Tuesday, September 9, 2008, 3:55 PM

  Can i bz2 everything in my fast dl server or just maps? can i zip models and 
  sounds up and the client will get them ok?


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

Reply via email to