PCX2WAL.EXE tool to create .wal textures for Quake2 (Mip-map bug fixed)
by Iikka Keranen (c) 1997-1998
ikeranen@raita.oulu.fi

NO TECH SUPPORT PROVIDED!

Supports all features of .wal files, including default flags, contents and
values for QE4. Included is the source code for DOS GCC (DJGPP). It should
be easy to do any unix port with GCC. The included binary runs fine in DOS
and NT4. In case you want to mess around with it, I have included the source
code. It's very bad coding, but it works fine (though a bit ASM to the mip-
mapping could be nice...)

(Ooops! There was a bug in mip-mapping routines... So it didn't quite work
actually. Should work now)

Usage:
PCX2WAD <texture.pcx> <texture.wal> <texture>

Options:
-n <animation>   : set next animation frame... like anim0, anim1, anim2..
-f <flags>       : set default flags for texture (see qe4 for flags)
-c <contents>    : default contents (solid/water etc... again see qe4)
-v <value>       : default value (for lights .. flags&1 is light)

Place the resulting .wal files in quake2/baseq2/textures/mytex/ or something
similar. Please use an UNIQUE dir name instead of "mytex" if you are going
to distribute the textures, to avoid texture name collisions.

For more information about the flags and contents, read the q2spec.txt
included. It is what this program is based on. I wrote this in about 30 
minutes, and it's really only a BASE for a good texture utility. That's why
I included the source code.

You may use this program and source code for anything you want, if you give
me the credit for doing it first. If you're a coder and doing another texture
utility based on this, I might answer code-related questions if I find time.
