How to create a personal mark for the T-Mod



Part II - Converting tga to m32

Part I - Part II - Part III

The first thing to do is to create a subfolder in your "Heretic II\base\textures" directory.

Copy/extract the files "qdata.exe", "script.qdk" and "qdata.bat" to this directory. (Get the files here: qdata.zip)

Also copy your tga file there.

My subfolder is called "Pentacle" and the tga file is called "teleport.tga".

Open the "script.qdk" with a text editor.

The script is constructed as following:

$mipdir [your subfolder name]

$load "[full path to subfolder]\[your tga file]"

$mip [file without extension] 0 0 128 128

Fill in the brackets [ ] with your setup.

After saving the script, run the "qdata.bat" by double-clicking. If everything went OK, a .m32 file will appear in the subfolder.

If it did not appear, look in the "qdatalog.txt" for an error.

"qdatalog.txt" on successful convert:

Qdata Plus : 16:08:45 Nov 2 1998
--------------- script.qdk ---------------
workingdir='H:\Heretic II\base\'
outputdir='H:\Heretic II\base\'
entering H:\Heretic II\base\textures\Pentacle\script.qdk
loading h:\Heretic II\base\textures\Pentacle\teleport.tga
writing H:\Heretic II\base\textures/Pentacle/teleport.m32 with ALPHA

Total textures processed: 1
Average size: 128 x 128
Time elapsed: 0.000000