I had once had a script that ran on a cron, that checked the files in the map folder against the FDL folder on a remote server. Anything it noticed that was not there, would transfer to the FDL, then compress.
Why do it on the fly and use all that CPU everytime the map changes. Do it once in offpeak time, and only use bandwidth going forward. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ics Sent: Thursday, January 21, 2010 9:13 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] BZip2 compression methods Or he could just do bzip2 -v *.bsp etc. -ics kama kirjoitti: > On Thu, 21 Jan 2010, Philipp Reddigau wrote: > > >> Hi, >> we are using a automatic *.bz2 for our content servers (fastdownload) on >> nix/lenny. >> It works fine with bzip2 --compress --keep --force --best "$file" >> But we have one Problem..we have many files to compress and one bzip2 is not >> enough. >> So we have tried pbzip2 after compress join on server "Could not CRC >> blabla". >> So the game cannot decompress the file.. >> I there a way to get it clean with any other compress program? >> (multithreaded) >> Anyone knows witch exact format is required, that the games can decompress >> it? >> I cannot find any information about the decompression. >> > > maybe do a script that does it for you instead... > > This script will keep you at max 10 instances of bzip: > > -- snip-- > #!/usr/local/bin/bash > > max=10 > > for file in $* > do > bzip2 --compress --keep --force --best "$file" & > while [ `ps aux | grep bzip | awk 'END { print NR }'` -ge $max ] > do > sleep 1 > done > done > -- snap -- > > This is just an example. There are probably ways to tune it and make it > better. > > /Bjorn > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

