Can't get enough SRCDS.com? Follow us on Twitter! Join us on IRC!


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compress Maps to .bz2 with bzip.zip
Author Message
Mooga Offline
Super Awesome Admin

Posts: 3,266
Joined: Oct 2007
Reputation: 19
Post: #1
Compress Maps to .bz2 with bzip.zip
This package will convert any maps in the compress folder and turn them into .bz2 files for faster downloads.

I've updated and tweaked the original bzip.zip that has been here since the dark ages. If you're using the old version, don't panic. However the new version of bzip2 I am using removes some security flaws. I also made the batch script more pretty.

Original credit and special thanks go to sKeletor


Attached File(s)
.zip  bzip.zip (Size: 31.17 KB / Downloads: 221)

~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: Mooga.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected.
that's the 2 sentence explanation.
01-31-2009 05:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
realchamp Away
I didn't make this post -->

Posts: 5,546
Joined: May 2008
Reputation: 54
Post: #2
RE: Compress Maps to .bz2 with bzip.zip
I've also translated this to danish:

http://realchamp.sserver.eu/Mooga/bzip.zip

Code:
::====================================::
::             Bzip.zip               ::
::             Srcds.com              ::
::                                    ::
:: Opdateret til version bzip2 1.0.5  ::
:: Redigeret af Mooga                 ::
:: Original kredit gaar til sKeletor  ::
:: Oversat til dansk af realchamp     ::
::====================================::

:: Dette vil holde vinduet paent og raent! Og nemt at laese!
@echo off

:: Giver vinduet en titel.
title srcds.com's bzip

::Viser ting til brugeren
echo            --==srcds.com's bzip.zip==--
echo Alle filer i /compress vil blive Komprimeret til en .bz2
echo.
echo Specielt tak til sKeletor
echo Oversat til dansk af realchamp
echo.
echo Mangler du hjealp med Source Dedicated Servers,
echo Besoeg vores forum på http://forums.srcds.com
echo                     --==##==--
echo.
echo Komprimerer fil(er)...

:: Komprimerer alle filer i /compress ved at bruge bzip2
bzip2.exe -z compress/*.*

echo.
echo Komprimering afsluttet!
pause

myself Wrote:Haunt me.. if you want me, but I warn you if you ever step to me!
02-14-2009 07:00 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: