psx.wiki

TSQ (Animation Time Sequence)

Time sequence data for sprite animations of the sprite editor.

TSQ (Animation Time Sequence)
Extension.TSQ
ID0x24
Version0x01

Overview

TSQ is a binary file that stores the time sequence data of sprite animations created and edited by the PlayStation sprite editor. It has a short header followed by the sequence data. The sequence entries have the same layout as the SEQUENCE block of an ANM file.12

The header is one word:1

Table 1: TSQ header
Bits Field Contents
0..7 ID 0x24
8..15 VERSION 0x01
16..31 NSEQUENCE Sequence data count

SEQUENCE

Sequence data gives the hot spot coordinates of each frame together with its display time and its sprite group number. Each entry is two words, and version 0 has no ATTR field.1

Table 2: TSQ sequence entry
Word Bits Field Contents
0 0..15 SprGpNo Number of the sprite group to be displayed
0 16..23 TIME Display time
0 24..31 ATTR Attribute (user defined)
1 0..15 X X coordinate of the hot spot
1 16..31 Y Y coordinate of the hot spot

References


  1. ^ a b c Sony Computer Entertainment Inc. File Formats. November 1998. Page 3-22, Figures 181 and 182.

  2. ^ Sony Computer Entertainment Inc. File Formats. November 1998. Page 3-17, Figure 174.

Categories: File formats