Graham,

I've found the easiest way to do zip all files in BZIP2 format .. is like
Rick said ... Put the Bzip2 executable program in your path somewhere
(C:\windows).  Then, put all the map files under one folder set (like
fy_iceworld_adv) which might include fy_iceworld_adv.bsp and
fy_iceworld_adv.nav.  Other materials can be here too if they are used by
the map .. But just make sure to upload them to the correct folders on your
web server and CS server (like materials/etc instead of the map/ folder).

Once you have all files in the folder, I've been using the following
command-line with great success:

bzip2 -k -9 *.*

The -k option will KEEP the original files ... because otherwise, it removes
them.  The reason you need this is ... you will still have to upload the
original unzipped file to your CS:S server - and of course, the bzipped file
to your web server .. so you need BOTH sets of files (compressed and
uncompressed).  The -9 switch tells it to use maximum compression.  I've
seen maps cut to 1/5th of their original size and more.  Truly great.

Once you've zipped all files, then I ftp to both my web server and CS server
.. and upload the BZIP'd to the web server ... and uncompressed to the CS
server.  Works like a champ.

That 7-zip GUI program looks great ... but the only thing I noticed is that
even though it adds RIGHT-CLICK ability in Windows Explorer .. you still
have to zip EACH file individually .. and go through the GUI interface to do
so.  It seems that the command-line would still be quicker in this case ..
unless someone comes up with a right-click ability that zips EACH file
INDIVIDUALLY .. like they have to be on the web server.

The only thing I've wondered about is ... I bzipped my SOUNDS that people
download (like headshot.mp3 etc.) ... and each time someone connects ... it
'goes through' them like they are going to download them .. but just seems
to be checking to see if they have the files.  I'm thinking this may be
because it can't immediately check to see if they have the file .. without
parsing the bzipped file first (since the sounds are already uncompressed on
their computer) .. and then it realizes they already have the file.  Just a
minor annoyance but I'm thinking of un-bzipping my sound files for this
reason.  Just wanted to give you a heads up on that.

Good luck.

Kevin

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

Reply via email to