Difference between revisions of "Magic.TXD/Choosing the right Encoding/"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 19: Line 19:
 
|2bpp
 
|2bpp
 
|none
 
|none
|III, VC, SA
+
|{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX, PS2
 
|PC, XBOX, PS2
 
|-
 
|-
Line 28: Line 28:
 
|2bpp
 
|2bpp
 
|none
 
|none
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX, mobile
 
|PC, XBOX, mobile
 
|-
 
|-
Line 37: Line 37:
 
|2bpp
 
|2bpp
 
|none
 
|none
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX, mobile
 
|PC, XBOX, mobile
 
|-
 
|-
Line 46: Line 46:
 
|1bpp
 
|1bpp
 
|none
 
|none
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX
 
|PC, XBOX
 
|-
 
|-
Line 55: Line 55:
 
|4bpp
 
|4bpp
 
|none
 
|none
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX, PS2
 
|PC, XBOX, PS2
 
|-
 
|-
Line 64: Line 64:
 
|4bpp
 
|4bpp
 
|none
 
|none
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX
 
|PC, XBOX
 
|-
 
|-
Line 73: Line 73:
 
|2bpp
 
|2bpp
 
|none
 
|none
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX
 
|PC, XBOX
 
|-
 
|-
Line 82: Line 82:
 
|4bits per pixel
 
|4bits per pixel
 
|multiple of four
 
|multiple of four
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX, mobile
 
|PC, XBOX, mobile
 
|-
 
|-
Line 91: Line 91:
 
|1bpp
 
|1bpp
 
|multiple of four
 
|multiple of four
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC
 
|PC
 
|-
 
|-
Line 100: Line 100:
 
|1bpp
 
|1bpp
 
|multiple of four
 
|multiple of four
|III, VC, SA
+
||{{Icon|3}}, {{Icon|VC}}, {{Icon|SA}}
 
|PC, XBOX, mobile
 
|PC, XBOX, mobile
 
|-
 
|-
Line 109: Line 109:
 
|4bits per pixel
 
|4bits per pixel
 
|none
 
|none
|III, VC
+
||{{Icon|3}}, {{Icon|VC}}
 
|PC, XBOX, PS2
 
|PC, XBOX, PS2
 
|-
 
|-
Line 118: Line 118:
 
|1bpp
 
|1bpp
 
|none
 
|none
|III, VC
+
||{{Icon|3}}, {{Icon|VC}}
 
|PC, XBOX, PS2
 
|PC, XBOX, PS2
 
|-
 
|-
Line 127: Line 127:
 
|2bpp
 
|2bpp
 
|none
 
|none
|SA
+
|{{Icon|SA}}
 
|PC
 
|PC
 
|}
 
|}

Revision as of 12:01, 12 December 2015

The Magic.TXD editor supports many forms of RW texture encodings. Choosing the right encoding in the right situation is important if you want to mind the visual quality and performance of your mods. Encodings differ in size, color storage degradation, performance and limits. This article is meant to give you a quick overview.

General Format Overview
Format Name Storage Form Quality Alpha Byte Size Dimension Constraints Supported Games Supported Platforms
RASTER_1555 16bit raw good yes 2bpp none GTA III, Vice City, San Andreas PC, XBOX, PS2
RASTER_565 16bit raw good no 2bpp none GTA III, Vice City, San Andreas PC, XBOX, mobile
RASTER_4444 16bit raw good yes 2bpp none GTA III, Vice City, San Andreas PC, XBOX, mobile
RASTER_LUM 8bit raw mono high no 1bpp none GTA III, Vice City, San Andreas PC, XBOX
RASTER_8888 32bit raw high yes 4bpp none GTA III, Vice City, San Andreas PC, XBOX, PS2
RASTER_888 32bit raw high no 4bpp none GTA III, Vice City, San Andreas PC, XBOX
RASTER_555 16bit raw good no 2bpp none GTA III, Vice City, San Andreas PC, XBOX
DXT1 4x4 block compression medium yes 4bits per pixel multiple of four GTA III, Vice City, San Andreas PC, XBOX, mobile
DXT2/4 4x4 block compression medium yes 1bpp multiple of four GTA III, Vice City, San Andreas PC
DXT3/5 4x4 block compression medium yes 1bpp multiple of four GTA III, Vice City, San Andreas PC, XBOX, mobile
4bit palette 16 indexed colors medium yes 4bits per pixel none GTA III, Vice City PC, XBOX, PS2
8bit palette 256 indexed colors medium yes 1bpp none GTA III, Vice City PC, XBOX, PS2
RASTER_LUM_ALPHA 16bit raw mono high yes 2bpp none San Andreas PC
Platform specifics
Platform Name Max Dimension Dimension Constraint
PC 4096 none
PlayStation 2 1024 power of two
XBOX 1024 power of two
S3TC mobile 2048 multiple of four
uncompressed mobile 2048 none
AMD TC 2048 multiple of four
PowerVR 2048 power of two

Visual Comparisons

CJ Fist
Original 1555 4444 L8A8 DXT1 DXT2 DXT3 DXT4 DXT5 PAL4 PAL8 AMDTC PowerVR
Mgtxd cjfist orig.png Mgtxd cjfist 1555.png Mgtxd cjfist 4444.png Mgtxd cjfist lum8a8.png Mgtxd cjfist dxt1.png Mgtxd cjfist dxt2.png Mgtxd cjfist dxt3.png Mgtxd cjfist dxt4.png Mgtxd cjfist dxt5.png Mgtxd cjfist pal4.png Mgtxd cjfist pal8.png Mgtxd cjfist amdtc.png Mgtxd cjfist powervr.png

(source: http://gtaforums.com/topic/487753-relsa-new-weapon-style-icons/)

Gradient
Original 1555 565 4444 DXT PAL4 PAL8 AMDTC PowerVR
Mgtxd grad.png Mgtxd grad 1555.png Mgtxd grad 565.png Mgtxd grad 4444.png Mgtxd grad dxt.png Mgtxd grad pal4.png Mgtxd grad pal8.png Mgtxd grad amdtc.png Mgtxd grad powervr.png

(source: http://samthederpyotaku.deviantart.com/art/Rainbow-gradient-vector-501022672)

Lake
Original 1555
Mgtxd lake.png Mgtxd lake 1555.png
565 4444
Mgtxd lake 565.png Mgtxd lake 4444.png
DXT PAL4
Mgtxd lake dxt.png Mgtxd lake pal4.png
PAL8 AMDTC
Mgtxd lake pal8.png Mgtxd lake amdtc.png
PowerVR
Mgtxd lake powervr.png

(source: https://upload.wikimedia.org/wikipedia/commons/2/23/Lake_mapourika_NZ.jpeg)

Palm Tree
Original 1555 4444
Mgtxd palm.png Mgtxd palm 1555.png Mgtxd palm 4444.png
DXT1 DXT2 DXT3
Mgtxd palm dxt1.png Mgtxd palm dxt2.png Mgtxd palm dxt3.png
DXT4 DXT5 PAL4
Mgtxd palm dxt4.png Mgtxd palm dxt5.png Mgtxd palm pal4.png
PAL8 AMDTC PowerVR
Mgtxd palm pal8.png Mgtxd palm amdtc.png Mgtxd palm powervr.png

(source: Ash Rogers)