This a DND game

DemonStoneDragon.jpg


The script above will convert "Type 4" textures from the PSW and WAD files
into the PS2 formatted TXD textures which can be opened up
using this free program:
http://www.thegtaplace.com/downloads/f457-ps2-txd-viewer
Be sure you enable the texture filter to view and export the textures correctly.


Format of the textures:
70 62 05 00
4ByteUnknown
2ByteTextureWidth
2ByteTextureHeight
4ByteType

If TYPE equals 0x00000004 (aka Type 4)
Then the texture is a 256 color bitmap type texture
that uses the PS2 Texture Filter.

Format of Type 4 Textures
Palate begins 0x80 bytes after the start of the file.
The bitmap begins right after the last bit of the palate.