Open main menu

Difference between revisions of "Parallaction/Formats"

Added graphics formats.
 
(Added graphics formats.)
Line 1: Line 1:
All values are little endian for DOS version.
All values are little endian for DOS version.


Line 29: Line 28:
|- style="background:white"
|- style="background:white"
|0320h||width * height||Uncompressed raw bitmap data.
|0320h||width * height||Uncompressed raw bitmap data.
|}
Graphics file for animations (ANI), dialogues (TAL) and menu items (WIN) contain multiple frames packed with a RLE variant. The first word (2 bytes) in the file holds the number of frames stored. The format of each frame follows:
{| border="1" cellpadding="2" width=100%
|- style="background:silver"
|Offset||Size||Description
|- style="background:white"
|0000h||2||Compressed data size.
|- style="background:white"
|0002h||2||Image X. Used for in game positioning, since frames from the same animation may have different sizes.
|- style="background:white"
|0004h||2||Image Y. Used for in game positioning, since frames from the same animation may have different sizes.
|- style="background:white"
|0006h||2||Image width.
|- style="background:white"
|0008h||2||Image height.
|- style="background:white"
|000Ah||see field at offset 0||Compressed data.
|}
|}
56

edits