Raptor Animated Graphics
Files in Raptor Animated Graphics format are single frames which collectively make up a short animated sequence. Each AGX entry in the FAT table makes up a single frame. Each frame in an AGX sequence is drawn on top of the previous frame. The frames are found sequentially in the FAT table, with the same filename, but at different offsets.
Each file consists of several blocks of data, which are drawn into a 64000-byte (320x200) all-black buffer to create the final frame image.
Note: The very first frame of a sequence has an extra byte at the beginning.
Each block entry consists of the following values:
|UINT32LE||moreBlocks||0 or 1, indicating if there are more blocks left in the frame|
|UINT16LE||destOffset||The offset in the destination buffer to write the block bytes|
|UINT16LE||srcBytes||Number of bytes in the block|
|UINT8||data[srcBytes]||Block bytes as 8bpp raw VGA data|