TGA Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="border:solid 1px #AAAAAA; padding:4px; background-color:#F9F9F9;">
{{GRAFPageHeader}}
<i>Format Type:</i> Image<br />
== TGA ==  
<i>Extensions:</i> tga <br />
 
<i>Platforms:</i> <i>PC, PS1</i><br />
* ''' Format Type ''':   Image <br>  
<i>Endian Order:</i> Little Endian
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
</div>
* ''' Signature ''':    TRUEVISION-XFILE <br>  
<br /><br />
 
 
== Format Specifications ==
== Format Specifications ==
<pre>
<pre>
//TGA file format
//TGA file format


//TODO
//header
1 byte - ID Length
1 byte - Color Map Type
1 byte - Image Type
5 bytes - Color Map Specification
10 bytes - Image Specification
 
//image or color map data
x bytes - Image ID
x bytes - Color Map Data
x bytes - Image Data
 
//developer area
x bytes - Developer Data
 
//extension area
2 bytes - Extension Size
41 bytes - Author Name
324 bytes - Author Comments
12 bytes - Date/Time Stamp
41 bytes - Job Name/ID
6 bytes - Job Time
41 bytes - Software ID
3 bytes - Software Version
4 bytes - Key Color
4 bytes - Pixel Aspect Ratio
4 bytes - Gamma Value
4 bytes - Color Correction Offset
4 bytes - Postage Stamp Offset
4 bytes - Scan Line Offset
1 byte - Attributes Type
x bytes - Scan Line Table
x bytes - Postage  Stamp Image
2K bytes - Color Correction Table
 
//tga file footer
4 bytes - Extension Area Offset
4 bytes - Developer Directory Offset
16 bytes - Signature // "TRUEVISION-XFILE"
1 byte - Reserved Character
1 byte - Binary Zero String Terminator
 
</pre>
</pre>


Line 26: Line 68:
== Notes ==
== Notes ==
* TGA is popular file format used in many games.
* TGA is popular file format used in many games.
* Official TGA Format Specification 2.0 can be found [http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf here].


== Games ==
== Games ==
* [[Urban Chaos]]
* Bugatron Worlds (PC) (*.TGA)
* Legendary Hunter VR
* Disney's Stitch: Experiment 626 (PS2) (*.TGA)
* Eldritch (PC) (*.TGA)
* GTA 2 (PC) (*.TGA)
* Quadrilateral Cowboy (PC) (*.TGA)
* [[Urban Chaos]] (PC) (*.TGA)
* Many more...
* Many more...
<br><br>




[[Category:Program_Game_Extractor | Program: Game Extractor]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Image | Type: Image]]
[[Category:Complete Complete | Status: Complete]]
[[Category:Complete Complete | Status: Complete]]
[[Category:Extension_tga | Extension: tga]]
[[Category:Extension_tga | Extension: tga]]
[[Category:CE_None | Compression: None]]
[[Category:CE_None | Compression: None]]
[[Category:File Format]]

Latest revision as of 14:51, 14 August 2022

Back to index | Edit this page

TGA

  • Format Type : Image
  • Endian Order : Little Endian
  • Signature : TRUEVISION-XFILE


Format Specifications

//TGA file format

//header
1 byte - ID Length
1 byte - Color Map Type
1 byte - Image Type
5 bytes - Color Map Specification
10 bytes - Image Specification

//image or color map data
x bytes - Image ID
x bytes - Color Map Data
x bytes - Image Data

//developer area
x bytes - Developer Data

//extension area
2 bytes - Extension Size
41 bytes - Author Name
324 bytes - Author Comments
12 bytes - Date/Time Stamp
41 bytes - Job Name/ID
6 bytes - Job Time
41 bytes - Software ID
3 bytes - Software Version
4 bytes - Key Color
4 bytes - Pixel Aspect Ratio
4 bytes - Gamma Value
4 bytes - Color Correction Offset
4 bytes - Postage Stamp Offset
4 bytes - Scan Line Offset
1 byte - Attributes Type 
x bytes - Scan Line Table
x bytes - Postage  Stamp Image
2K bytes - Color Correction Table

//tga file footer
4 bytes - Extension Area Offset 
4 bytes - Developer Directory Offset 
16 bytes - Signature // "TRUEVISION-XFILE"
1 byte - Reserved Character
1 byte - Binary Zero String Terminator

MultiEx BMS Script

No BMS script.

Supported Programs

Notes

  • TGA is popular file format used in many games.
  • Official TGA Format Specification 2.0 can be found here.

Games

  • Bugatron Worlds (PC) (*.TGA)
  • Disney's Stitch: Experiment 626 (PS2) (*.TGA)
  • Eldritch (PC) (*.TGA)
  • GTA 2 (PC) (*.TGA)
  • Quadrilateral Cowboy (PC) (*.TGA)
  • Urban Chaos (PC) (*.TGA)
  • Many more...