Skip to content

Instantly share code, notes, and snippets.

@FiddyFive
FiddyFive / TEX_file_format.txt
Last active July 18, 2024 20:05 — forked from sigsegv-mvm/TEX_file_format.txt
Reverse-engineered Zachtronics Solitaire Collection ".TEX" texture file format details
TEX FILE FORMAT
Reverse engineering by sigsegv, 20180914.
Updated to version 3ED by Fiddy, 20240229.
All values are little-endian.
0x00 int: TEX file version / magic number [1005 = 0x000003ED]
0x04 int: length of image array (for single images this is 1)
0x08 int: data resolution [x]
0x0C int: data resolution [y]