--BMP2MAP-- v0.1b

This one works too!

DISCLAIMER

"THIS MATERIAL IS NOT MADE OR SUPPORTED BY ACTIVISION."

This is a beta version of a freeware utility.
It is guaranteed to work on MY computer.
Make sure you read and understand the instructions before emailing me with 
questions- Otherwise I wont answer them. 
I am not responsible for anything, especially not what YOU do with this program. 



---STUFF YOULL NEED TO KNOW---


The BMPs.

Sizes.
This is optional but STRONGLY ADVISED when you are creating ground textures.

Create your original texture at 256 wide by 256 high.
Save it as, for eg, Custom0.BMP
Resize it to 128 x 128. Save this as Custom1.BMP
Resize it to 64 x 64. Save this as Custom2.BMP
Resize it to 32 x 32. Save this as Custom3.BMP


Colours.
Texture BMPs Must be 256 colours and and should be created in one of the 
standard battlezone palettes. If you are using custom palettes, and I hope you 
are, it's still a good idea to create the BMPs in the standard palette of the 
world you are using. While some textures can be used on different worlds with 
different colour sets, this is not guaranteed to work.
The MAP files contain no colour information.



NAMING CONVENTIONS

Its a good idea to follow a standard, Activisions standard is that the first two
letters of the file are the first two letters of the world the texture is 
designed for. The last letter is 0, 1, 2 or 3. This denotes the MIP level (size)
of the texture as shown above.



DOS4GW:

You must have DOS4GW.EXE somewhere in your PATH for this program to run.
Don't put 4gw in your addons directory, for Eg I keep mine in C:\Windows.
Also Dont try to run this program using the command line DOS4GW bmp2map.exe 
If 4GW is in your path the program will find it.



---USAGE---

There are two ways to use BMP2MAP- 
  1. feed it a directory.
     In Windows: drag and drop a folder onto the executable.
     In DOS: eg. BMP2MAP d:\pics\maps

  2. feed it seperate files. 
     In Windows: drag and drop a file or four onto the executable.


The first way is best. If you do feed it multiple files you could run into the 
problem that only a certain number of characters (64 i think) can be passed to 
a DOS executable. Since the whole path is passed for each file, you can quickly
run out of space. I can get four files at a time out of 'D:\pics\maps' though :)



--WHAT IT DOES--

For each BMP file in a directory, or each file that you feed it manually, a 
similar file in the same directory as the original will be created with the 
extension .map. Its then up to you to move those files into addon or wherever 
you want to keep em.




IDIOT PROOFING:

This program is not Idiot proofed at all. If you dont follow the instructions- 
it will probably crash. This program will try to convert non-bmp and non 8-bit 
bmp files. Do this at your own risk. Feeding this program a .map file will most
likely do bad things. You have been warned.

NOTE: It is safe to feed this program a FOLDER containing map files, bmp2map 
filters out the BMP files for processing when used with directories.





Happy Tanking :)

Slight.