Graphic Tools GuideFormat list

SGTX file format

1996-07-12

■ File layout

[header]
[Texture] (0)
[Texture] (1)
[texture]...
	.............

■ IFF format

See SG3D format

■ Format

[header]
 Contents
 : File identification information
 chunk
 : "SGTX"
 size
 : 256
 data
 : Type content
 DWORD
 Version (0x00010000)
 DWORD
 Number of textures
 DWORD [62]
 Reserve

[texture]
 Contents
 : Texture data
 chunk
 : "SSTx"
 size
 : 8 + texture data size
 data
 : Type content
 DWORD
 ID (0 to n)
 WORD
 H size of texture
 WORD
 V size of texture
 WORD [V] [H]
 texture

remarks:
The texture data does not have to be continuous 1bR5G5B5 ID.

Graphic Tools GuideFormat list
Copyright SEGA ENTERPRISES, LTD ,. 1997