Playboy PICT 1: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
|||
| (21 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== PICT == | == PICT == | ||
* ''' Game ''': [[Playboy: The Mansion]] <br> | |||
* ''' Format Type ''': Image <br> | * ''' Format Type ''': Image <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
| Line 9: | Line 9: | ||
<tt><b> | <tt><b> | ||
: uint32 {4} - Picture Type <font color="purple">(1, 4, 8, etc.)</font> <br> | : uint32 {4} - Picture Type <font color="purple">(1, 4, 8, etc.)</font> <br> | ||
<font color="blue"> ''' // Header (18 Bytes) ''' </font> <br> | <font color="blue"> ''' // Header (18 Bytes) ''' </font> <br> <br> | ||
: uint8 {1}&nsbsp; - <font color="red"> '' ID Length <font color="purple">(0)</font> '' </font> <br> This field identifies the number of bytes contained in Field 6, the Image ID Field. The maximum | : uint8 {1}&nsbsp; - <font color="red"> '' ID Length <font color="purple">(0)</font> '' </font> <br> This field identifies the number of bytes contained in Field 6, the Image ID Field. The maximum number of characters is 255. A value of zero indicates that no Image ID field is included with the image.<br><br> | ||
number of characters is 255. A value of zero indicates that no Image ID field is included with the | : uint8 {1}&nsbsp; - <font color="red"> '' Color Map Type <font color="purple">(1)</font> '' </font> <br> This field indicates the type of color map (if any) included with the image. There are currently 2 defined values for this field:<br> | ||
image.<br> | : 0 - indicates that no color-map data is included with this image.<br> | ||
: uint8 {1}&nsbsp; - <font color="red"> '' Color Map Type <font color="purple">(1)</font> '' </font> <br> This field indicates the type of color map (if any) included with the image. There are currently 2 | : 1 - indicates that a color-map is included with this image.<br><br> | ||
defined values for this field:<br> | : uint8 {1}&nsbsp; - <font color="red"> '' Image Type <font color="purple">(1)</font> '' </font> <br> The TGA File Format can be used to store Pseudo-Color, True-Color and Direct-Color images of various pixel depths. Truevision has currently defined seven image types:<br> | ||
0 - indicates that no color-map data is included with this image.<br> | : 0 No Image Data Included<br> | ||
1 - indicates that a color-map is included with this image.<br> | : 1 Uncompressed, Color-mapped Image<br> | ||
: uint8 {1}&nsbsp; - <font color="red"> '' Image Type <font color="purple">(1)</font> '' </font> <br> The TGA File Format can be used to store Pseudo-Color, True-Color and Direct-Color images of | : 2 Uncompressed, True-color Image<br> | ||
various pixel depths. Truevision has currently defined seven image types:<br> | : 3 Uncompressed, Black-and-white Image<br> | ||
0 No Image Data Included<br> | : 9 Run-length encoded, Color-mapped Image<br> | ||
1 Uncompressed, Color-mapped Image<br> | : 10 Run-length encoded, True-color Image<br> | ||
2 Uncompressed, True-color Image<br> | : 11 Run-length encoded, Black-and-white Image<br><br> | ||
3 Uncompressed, Black-and-white Image<br> | : uint16 {2} - <font color="red"> '' Color Map, First Entry Index <font color="purple">(0)</font> '' </font> <br> Index of the first color map entry. Index refers to the starting entry in loading the color map.<br><br> | ||
9 Run-length encoded, Color-mapped Image<br> | : uint16 {2} - <font color="red"> '' Color Map, Length<font color="purple">(256)</font> '' </font> <br> Total number of color map entries included.<br><br> | ||
10 Run-length encoded, True-color Image<br> | : uint8 {1} - <font color="red"> '' Color Map, Entry Size<font color="purple">(32)</font> '' </font> <br> Establishes the number of bits per entry. Typically 15, 16, 24 or 32-bit values are used.<br><br> | ||
11 Run-length encoded, Black-and-white Image<br> | : uint16 {2} - <font color="red"> '' X-Origin of Image <font color="purple">(0)</font> '' </font> <br> <br> | ||
: uint16 {2} - <font color="red"> '' Color Map, First Entry Index <font color="purple">(0)</font> '' </font> <br> Index of the first color map entry. Index refers to the starting entry in | : uint16 {2} - <font color="red"> '' Y-Origin of Image<font color="purple">(0)</font> '' </font> <br> <br> | ||
loading the color map.<br> | : uint16 {2} - <font color="red"> '' Width <font color="purple">(512)</font> '' </font> <br> <br> | ||
: uint16 {2} - <font color="red"> '' Color Map, Length<font color="purple">(256)</font> '' </font> <br> Total number of color map entries included.<br> | : uint16 {2} - <font color="red"> '' Height<font color="purple">(256)</font> '' </font> <br> <br> | ||
: uint8 {1} - <font color="red"> '' Color Map, Entry Size<font color="purple">(32)</font> '' </font> <br> Establishes the number of bits per entry. Typically 15, 16, 24 or 32-bit values are used.<br> | : uint8 {1} - <font color="red"> '' Pixel Depth<font color="purple">(0)</font> '' </font> <br> <br> | ||
: uint16 {2} - <font color="red"> '' X-Origin of Image <font color="purple">(0)</font> '' </font> <br> | |||
: uint16 {2} - <font color="red"> '' Y-Origin of Image<font color="purple">(0)</font> '' </font> <br> | |||
: uint16 {2} - <font color="red"> '' Width <font color="purple">(512)</font> '' </font> <br> | |||
: uint16 {2} - <font color="red"> '' Height<font color="purple">(256)</font> '' </font> <br> | |||
: uint8 {1} - <font color="red"> '' Pixel Depth<font color="purple">(0)</font> '' </font> <br> | |||
: uint8 {1} - <font color="red"> '' Image Descriptor, Direction of data storage, see TGA spec for more info<font color="purple">(0)</font> '' </font> <br> | : uint8 {1} - <font color="red"> '' Image Descriptor, Direction of data storage, see TGA spec for more info<font color="purple">(0)</font> '' </font> <br> | ||
<br> | <br> | ||
| Line 56: | Line 51: | ||
* [[PICT2BMP]] | * [[PICT2BMP]] | ||
=== See Also === | |||
[[Playboy_CAM_2]]<br> | |||
[[Playboy_PICT_8]] | |||
[[Category:Complete Complete|Playboy PICT 1]] | |||
[[Category:Platform PC|Playboy PICT 1]] | |||
[[Category:CE None|Playboy PICT 1]] | |||
[[Category:Format_Image | Type: Image]] | |||
[[Category:BMS_None | BMS: None]] | |||
[[Category:File Format]] | |||
Latest revision as of 23:34, 14 November 2020
PICT
- Game : Playboy: The Mansion
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
Pict format 1 is probably a TGA file. The first four bytes are the picture type. The following 18 bytes would be consistent with TGA.
- uint32 {4} - Picture Type (1, 4, 8, etc.)
// Header (18 Bytes)
- uint8 {1}&nsbsp; - ID Length (0)
This field identifies the number of bytes contained in Field 6, the Image ID Field. The maximum number of characters is 255. A value of zero indicates that no Image ID field is included with the image. - uint8 {1}&nsbsp; - Color Map Type (1)
This field indicates the type of color map (if any) included with the image. There are currently 2 defined values for this field: - 0 - indicates that no color-map data is included with this image.
- 1 - indicates that a color-map is included with this image.
- uint8 {1}&nsbsp; - Image Type (1)
The TGA File Format can be used to store Pseudo-Color, True-Color and Direct-Color images of various pixel depths. Truevision has currently defined seven image types: - 0 No Image Data Included
- 1 Uncompressed, Color-mapped Image
- 2 Uncompressed, True-color Image
- 3 Uncompressed, Black-and-white Image
- 9 Run-length encoded, Color-mapped Image
- 10 Run-length encoded, True-color Image
- 11 Run-length encoded, Black-and-white Image
- uint16 {2} - Color Map, First Entry Index (0)
Index of the first color map entry. Index refers to the starting entry in loading the color map. - uint16 {2} - Color Map, Length(256)
Total number of color map entries included. - uint8 {1} - Color Map, Entry Size(32)
Establishes the number of bits per entry. Typically 15, 16, 24 or 32-bit values are used. - uint16 {2} - X-Origin of Image (0)
- uint16 {2} - Y-Origin of Image(0)
- uint16 {2} - Width (512)
- uint16 {2} - Height(256)
- uint8 {1} - Pixel Depth(0)
- uint8 {1} - Image Descriptor, Direction of data storage, see TGA spec for more info(0)
// Color Palette (256 Colors)
- // for each color
- byte {1} - Red
- byte {1} - Green
- byte {1} - Blue
- byte {1} - Alpha
- byte {1} - Red
// Image Data
- // for each pixel
- byte {1} - Palette Index
- byte {1} - Palette Index
MultiEx BMS
Not written yet