This is a tool that converts textures from .m32 to .wal
This should work for both Heretic II and SOF.
run the program passing it the following:
REQ: a directory to process
OPT: a palette file to use for all .wal files _OR_ a name of a palette file to generate
OPT: -s to process all sub directories
OPT: -v to see the directory names as they are processed
example:
m32towal c:\games\h2\base\textures -s
- this will convert the m8/m32 files using a generated a palette file called ravenpal.lmp in the directory you run m32towal.exe from
m32towal c:\games\h2\base\textures -oc:\games\h2\mypalette.lmp -s
- this will convert the m8/m32 files using a generated a palette file called mypalette.lmp in the c:\games\h2\ directory
m32towal c:\games\h2\base\textures -pc:\games\h2\apalette.lmp -s
- this will convert the m8/m32 files using a preexisting palette file called apalette.lmp in the c:\games\h2\ directory
NOTES:
don't forget -s if you want sub directories to be processed
It is recommended that you use the default.lmp palette when converting textures. The palette generation code is broken, and will produce an extremely unbalanced palette.
THIS APP IS VERY SPARSELY TESTED SO,
if -p points to an invalid file or directory one of two things will happen, the program will crash or all the wal files will be black.
if -o points to an invalid directory its likely the app will blow up
your guess is as good as mine