KFServer Stats | KF411 | Killing Floor
KFCacheExtractor
UTCOMPRESS

UTCOMPRESS

Download the zip

Instructions:
extract and drop it into your Killing Floor's main folder:
I made this for use with my Tripwire Killing Floor server and decided to extend
it to handle other UT game types, I haven't tested it on the other types but all should
work. The UT3 mode is experimental though because I don't have it installed and it uses a
different folder structure for storing it's extra content. -Jaek

----------------------------------------------------------------------------
GAME FILE COMPRESSION SCRIPT  v1.0,  Copyright 2009-2012 Jaek
You can find me at www.killingfloor411.com's forum and TWI's forum
By using this script you agree that you are using it at your own risk
You may copy/share/edit this file but in doing so you agree to keep this credit/disclaimer.
----------------------------------------------------------------------------

If you open the script in a text editor you can see more options available to customize it:
  • The default mode to run ut_mode=kf2
  • Prompt the user to press a key when script is complete ut_pause_when_done=0
  • Recompress files if an uncompressed copy is found ut_recompress=0
  • Delete uncompressed copies after compressing ut_remove_uncompressed=1
  • The extension to use for the list files ut_filelist_extension=.txt
  • Output process to the user ut_show_work=1
  • Log process to file ut_log_to_file=1
  • File to log process to ut_log_file=compressionLog.txt
  • Skip auto creating lists ut_skip_listcreate=0
  • Append to log = 0 , or Overwrite log each run = 1 ut_log_overwrite=1
  • The location of the game's root fold from script's current folder ut_folders_root=.
  • The path to the ucc file from the script's current folder ut_ucc_command=system\ucc
  • where game dir is relative to ucc command ut_rel_game_dir=..\
  • The compression extension made by ucc (do not change this unless ur UT uses other extension) ut_compress_extension=uz2
---------------------------------------------------------------------------- Here is the help file, this can also be accessed by running UTCOMPRESS /? ---------------------------------------------------------------------------- Compresses UT package files UTCOMPRESS [/D folderpath] [/UCC uccpath ][/UT | /UT2 | /UT3 | /RBS | /KF2] /D Specifies that the UT game folders are in a different folder. folderpath The path to where the game folders exist. /UCC Specifies the path to the UCC executable uccpath The path to where the UCC executable is /UT Sets the files used to Unreal Tournament mode (.unr) /UT2 Sets the files used to UT2003/UT2004 mode (.ut2) /UT3 Sets the files used / compression command to UT3 mode (.ut3) /RBS Sets the files used to Rainbow Six mode (.rbm .sb0 .tpt .tph) /KF2 Sets the files used to Killing Floor Retail mode (.rom) Specifying the path is completely optional and is only useful if you are running this from outside the game folder. Here is an examples of specifying an alternate folder: UTCOMPRESS /D "..\games\UT Server" Here is an examples of specifying an alternate and ucc.exe path: UTCOMPRESS /D c:\games\KillingFloor /UCC c:\games\system\ucc.exe On first run, the script checks which files you have and generates base file lists. These lists contain files which are not to be compressed or handled. This is because clients should already have these base files. If you are running this script the first time on an existing server then you can manually edit the list files and remove files you want to be handled. The list files are important because they tell the script which folders and file types to monitor and also which files in these folders to ignore. The naming of a list file is "Folder=Extension.txt", such as: "Maps=rom.txt" On first run you should not see any files get compressed. This is because it is creating the initial list files using the currently installed game files. Place this file in your main game folder. The main folder is the folder which contains the maps, system, textures and other game folders. UT3 mode is experimental. I wrote it blindly.

It is 120% clean of viruses. A shout out to Alex_KF, the mod group and Tripwire for the awesome work.

I am not in any way affiliated with Tripwire.
By downloading or using this software you agree that it is at your own risk and I don't warrant or imply anything with this software. -Jaek