Files should be named exactly as they were extracted, else game wouldn't be able to find it.
Download: http://www.mediafire.com/download/55exk ... ecksum.zip
HED file format
Code: Select all
until end of file
{
4 bytes - file checksum
4 bytes - offset in WAD file
4 bytes - file size
}

----------
now the question. is there any way to know the original string, used to be filename. currently I get file extension by reading header, but this doesnt work for pre and fnt files (cause no unique header) and prolly some other. if there's no way to get it, then it's probably final verison.
the answer is here: https://thmods.com/forum/viewtopic.php?f=5&p=4326#p4326
the tool is here: https://github.com/DCxDemo/WAD-Tool/releases