arma:file_formats:paa
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arma:file_formats:paa [2015/08/22 01:42] – removed obsolete links. snakeman | arma:file_formats:paa [2024/08/01 08:04] (current) – links added. snakeman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== PAA / PAC file format | + | ====== |
| + | |||
| + | [[https:// | ||
| + | |||
| + | **ArmA 1** aka Armed Assault (ArmA) | ||
| ====== Introduction ====== | ====== Introduction ====== | ||
| - | Of the many image file formats 'out there', | + | Of the many image file formats 'out there', |
| Line 24: | Line 28: | ||
| Every PAA file starts with a **TypeOfPaa** | Every PAA file starts with a **TypeOfPaa** | ||
| <code cpp> | <code cpp> | ||
| - | ushort TypeOfPaa; | + | ushort TypeOfPaa; |
| // 0xFF01 DXT1 compressed texture (may have 1 bit alpha map, check MSDN documentation for details) | // 0xFF01 DXT1 compressed texture (may have 1 bit alpha map, check MSDN documentation for details) | ||
| // 0x1555 Uncompressed RGBA 5:5:5:1 texture | // 0x1555 Uncompressed RGBA 5:5:5:1 texture | ||
| Line 42: | Line 46: | ||
| <code cpp> | <code cpp> | ||
| struct PAA_Tag { | struct PAA_Tag { | ||
| - | byte name[8]; // name of tag is actually reversed when written in file, | + | byte name[8]; // name of tag is actually reversed when written in file, |
| // so OFFSTAGG would be written as GGATSFFO. See below for known tags. | // so OFFSTAGG would be written as GGATSFFO. See below for known tags. | ||
| ULONG tag_size; | ULONG tag_size; | ||
| Line 53: | Line 57: | ||
| **Special Case** | **Special Case** | ||
| - | TypeOfPaa 0x4747 Uncompressed Index Palette texture | + | TypeOfPaa 0x4747 Uncompressed Index Palette texture |
| - | This is a corrupt entry in the sense that it does not have a TypeOfPaa! It is the lead in bytes to a standard AVCGTAGG. The next block of data is, the palette. Followed by ' | + | This is a corrupt entry in the sense that it does not have a TypeOfPaa! It is the lead in bytes to a standard AVCGTAGG. The next block of data is, the palette. Followed by ' |
| Indecipherable commentary from Feersum:\\ | Indecipherable commentary from Feersum:\\ | ||
| Line 63: | Line 67: | ||
| ====== HexDump ====== | ====== HexDump ====== | ||
| - | {{http://tactical.nekromantix.com/images/wiki/ | + | {{https://pmc.editing.wiki/ |
| Line 136: | Line 140: | ||
| UWORD width; | UWORD width; | ||
| UWORD height; | UWORD height; | ||
| - | UCHAR size[3]; | + | UCHAR size[3]; |
| - | UCHAR data[size]; | + | UCHAR data[size]; |
| }; | }; | ||
| </ | </ | ||
| Line 204: | Line 208: | ||
| **FLAGTAGG = 1, interpolated alpha channel (default behaviour)** | **FLAGTAGG = 1, interpolated alpha channel (default behaviour)** | ||
| - | {{http://tactical.nekromantix.com/images/wiki/ | + | {{https://pmc.editing.wiki/ |
| **FLAGTAGG = 2, alpha channel interpolation disabled** | **FLAGTAGG = 2, alpha channel interpolation disabled** | ||
| - | {{http://tactical.nekromantix.com/images/wiki/ | + | {{https://pmc.editing.wiki/ |
| Line 215: | Line 219: | ||
| MSDN documentation on DXT1 textures: [[http:// | MSDN documentation on DXT1 textures: [[http:// | ||
| Squish Compression [[http:// | Squish Compression [[http:// | ||
| + | |||
arma/file_formats/paa.1440207773.txt.gz · Last modified: 2015/08/22 01:42 (external edit)
