This is the specifications for the image file which is handled by the
Game Extractor plugin
Viewer_TXD_2_TXDTEX.
Endian Order: | Little Endian |
Compression: | none |
Encryption: | None |
This format is used by the following Games:
This is the format specification information:
| 4 - Chunk Type (21 = Raster)
4 - Chunk Data Length
4 - Version
4 - Chunk Type (1 = Struct)
4 - Chunk Data Length
4 - Version
4 - Platform ID
1 - Filter Mode
1 - Addressing
2 - Padding
32 - Raster Name (null terminated, filled with nulls)
32 - Mask Name (null terminated, filled with nulls)
4 - Alpha Flags
4 - DirectX Image Format (or null)
2 - Image Width
2 - Image Height
1 - Bits Per Pixel
1 - Number of Mipmaps
1 - Raster Type
1 - Flags
// for each mipmap
if (bitsPerPixel <= 8){
4 - Mipmap Pixel Data Length
1024 - Mipmap Color Palette (256*BGRA)
X - Mipmap Pixel Data (palette indexes)
}
else {
4 - Mipmap Pixel Data Length
X - Mipmap Pixel Data
}
4 - Chunk Type (3 = Extension)
4 - Chunk Size
4 - Version
X - Chunk Extension Data |
These are the accompanying notes and further information:
| The Image Data is Swizzled |
Game Extractor is able to read files of this type, as well as files from thousands of other games. To give it a try, download
Game Extractor (Basic Version) for
free, and see what it can do.
Game Extractor (Full Version) is also able to modify and save files of this type. Visit the
Game Extractor website for more information on this, and the other great features that come with Game Extractor (Full Version).
For further information on this format, refer to the source code on our
GitHub repository.