Raised This Month: $51 Target: $400
 12% 

FF2 Bzip2 for windows the easy way - reference.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MaloModo
Veteran Member
Join Date: Aug 2008
Old 02-02-2017 , 14:01   Bzip2 for windows the easy way - reference.
Reply With Quote #1

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.

Last edited by MaloModo; 02-02-2017 at 14:03.
MaloModo is offline
p0008874
Senior Member
Join Date: Jul 2014
Old 02-03-2017 , 00:44   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #2

Say wuuuuuut.
__________________
p0008874 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-03-2017 , 12:04   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #3

You can also drag and drop files and folder directly on the bzip.exe and it will compress them.
Mitchell is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 02-03-2017 , 17:08   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #4

@Mitchell no it will not compress all files within folder/subfolders with D&D. You are mistaken.
MaloModo is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 02-03-2017 , 17:09   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #5

Quote:
Originally Posted by p0008874 View Post
Say wuuuuuut.
What exactly is your point? I can't tell if you trying to be funny and failing or not?

Last edited by MaloModo; 02-03-2017 at 17:16.
MaloModo is offline
Transit Of Venus
Senior Member
Join Date: May 2014
Location: Australia
Old 02-03-2017 , 23:10   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #6

My hosting company does the bz2 files as soon as I upload the normal files
__________________

Click on the banner to explore my servers and more
Transit Of Venus is offline
Send a message via ICQ to Transit Of Venus Send a message via Skype™ to Transit Of Venus
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 02-04-2017 , 03:41   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #7

Quote:
Originally Posted by Transit Of Venus View Post
My hosting company does the bz2 files as soon as I upload the normal files
Was the same
Maximilian_ is offline
Tumbz
Junior Member
Join Date: Jan 2017
Location: Chile
Old 02-04-2017 , 10:26   Re: Bzip2 for windows the easy way - reference.
Reply With Quote #8

I use nope.avi's bzipper, although I had to change the location of the .exe in the .bat.

Drag n' drop.
Tumbz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode