This page describes the .bti format. .bti is used for every 2d image in the game.
See Tockdom for details