I hope people don't mind me posting this here even though not exactly related to sourcemod and/or FF2 but seems like handy place to put as anyone who runs a FF2 server with redirect knows this can be a real PITA doing each file manually.
To be sure I didn't come up with this, just found it after a reinstall.
Code:
Here is what I did to make bzip an breeze. It's been tested on Windows 2000 and 2003 Server {and Win7}.
1.
I downloaded bizip to D:\flats\bzip
I put the bzip2-100-x86-win32.exe file into my %systemroot%\system32 folder
2.
I created a batch file called bzip.bat and put it under %systemroot%\system32
Here is the contents of that batch file:
@echo off
for /F %%A in ('dir C:\temp\bzip /A-D /S /B') do bzip2-100-x86-win32.exe -z "%%A"
What this does: For every file the dir command (set to only show files, to display files in specified directory and all subdirectories, and to use bare format) will bzip that file.
Whenever I install new maps, sounds or anything I also copy/install them to a temporary bzipping directory (C:\temp\bzip). For example I installed adminmod with quake sounds. So I copied the C:\Steam\cstrike\sound\admin_plugin and C:\Steam\cstrike\sound\quake folders to C:\temp\bzip.
Then I just run this batch file that bzips every file in the C:\temp\bzip folder.
http://forums.steampowered.com/forum...9&postcount=23
PS If not appropriate or w/e feel free to move/delete. Just posting here for reference.