I have tried to put a uncompressed texture for modding, but the game expects it compressed.
Here's the specs I could get from the header format, which will include info from the uncompressed TIM equivalents:
Code: Select all
An element is composed of a 0x20 byte header followed by its contents.
--------------------
ELEMENT HEADER
--------------------
0x04 bytes = Element's Magic word
0x04 bytes = File size
0x04 bytes = Possible file format flag:
- 0x00 = models, anims
- 0x01 = compressed TIM
- 0x02 = uncompressed TIM
0x04 bytes = Possible file content flag
- 0x01 = anims
- 0x02 = TIM (both compressed and uncompressed)
- 0x0D = models
0x04 bytes = File size
0x0C bytes = File name (Windows 3.1 method)
TIMs may have a sequence of pointers that contain a list of subTIMs within a TIM.
- 0x04 bytes = amount of pointers
- 0x04 bytes = size of this mini block
If the first value is higher than 1, will mean that there is more than one TIM and that the pointer list will extend, 0x04 bytes per pointer, all of them relative to the beginning of the file.