MailPin EAW Batch Tools
========================
TEXTURE PROCESSING
------------------------

SUMMARY

This directory contains a set of MS-DOS batch files to automate compression and
extraction of .tpc texture image format files used in EAW.


DISCLAIMER

Use at your own risk - I shall not be responsible for any incidential, consequential
or other sort of damage or inability to use this package.
I grant you the right to copy, modify and redistribute this package for free.


CREDITS

tpc2pcx.exe convertor program written by gpmwapl and distributed
by RedEyes is included in this distribution.


TO USE THIS PACKAGE

1. Place .bat tpc2pcx.exe files to any directory which is listed in MS-DOS path
environment variable.
2. Download free command-line pkzip.exe program from
http://www.pkware.com/products/free_eval.html
and place it to any directory which is listed in MS-DOS path
environment variable.



DESCRIPTION OF PACKAGE CONTENTS BY FILE


-------------------------------------------------------------------------------
tpcbat.bat
----------
PURPOSE:
	Converts multiple .tpc files to .pcx at one shot

DESCRIPTION:
	Converts all .tpc files in current directory to .pcx and places
	these .pcx files under /Image subdirectory.
USAGE:
	Run tpcbat.bat without parameters from directory which contains .tpc
	texture files
SIDE-EFFECTS:
	Make sure you don't have any valuable files in /Image subdirectory
	if such exists, as its contents will be deleted before new decompressed
	.pcx files will be placed there
REQUIRED SOFTWARE:
	tpc2pcx.exe convertor program (included in the package) written by gpmwapl is required






-------------------------------------------------------------------------------
tpczip.bat
----------

PURPOSE:
	Creates EAW distribution patches in form of a .zip file
DESCRIPTION:
	1.Converts all .tpc files in current directory to .pcx and places
	these .pcx files under /Image subdirectory.
	2. Moves all .doc, .txt and .jpg from current directory into /Images
	subdirectory
	3. Compress entire directory tree recursively and places it in .zip
	archive
USAGE:
	Run as: tpczip.bat FNAME, where FNAME is a name of .zip archive
	Don't use .zip extension in FNAME - just a file name
SIDE-EFFECTS:
	Make sure you don't have any valuable files in /Image subdirectory
	if such exists, as its contents will be deleted before new decompressed
	.pcx files will be placed there
REQUIRED SOFTWARE:
	- tpc2pcx.exe convertor program (included in the package) written by gpmwapl is required
	- tpcbat.bat file is required (included in the package)





-------------------------------------------------------------------------------
zipdir.bat
----------

PURPOSE:
	Creates recursive .zip archives
DESCRIPTION:
	This batch file is used by tpczip.bat
USAGE:
	You shouldn't use this batch directly
SIDE-EFFECTS:
	Not known
REQUIRED SOFTWARE:
	- pkzip.exe is required
	- tpc2pcx.exe convertor program (included in the package) written by gpmwapl is required
	- tpcbat.bat file is required (included in the package) pkzip.exe is needed to function





-------------------------------------------------------------------------------
Enjoy,
-MailPin, November 2003
