Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Texture Formats

KOTOR handles graphics via multiple tailored texture formats. It uses hardware-accelerated DXT compression techniques natively supported by its OpenGL backend.


Implementation Blueprints

This section details the primary texture architectures parsed natively by rakata-formats.

FormatNameLayout & Purpose
TPCTexture Pack CompressedA proprietary BioWare wrapper around native DXT-compressed OpenGL texture data. This is the primary format used for all base-game environment and character textures.
DDSDirectDraw SurfaceA proprietary BioWare variation of the standard Microsoft DDS format. Rather than utilizing standard headers, the legacy engine requires a bespoke 20-byte magic wrapper.
TGATruevision TargaAn uncompressed, lossless visual format. Used for rendering crisp UI elements, visual effects (VFX), etc.
TXITexture ExtensionsPlaintext routing files that accompany primary textures. They direct the engine how to apply advanced rendering hints, such as procedural animations or bump-mapping.