Difference between revisions of "Spooky Sprites file format"

From AtariForumWiki2018
Jump to: navigation, search
(New page)
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
  
  
−
TRE - Run length encoded True Color Picture
+
TRE - Run Length Encoded True Color Picture
  
 
1 long    file id ['tre1']
 
1 long    file id ['tre1']
Line 26: Line 26:
 
           be the following word+255
 
           be the following word+255
 
Number of pixels words of raw data.
 
Number of pixels words of raw data.
−
This chunk is followed by a rle chunk.
+
This chunk is followed by an RLE chunk.
  
 
rle chunk:
 
rle chunk:

Latest revision as of 01:13, 4 June 2018

Spooky Sprites    *.TRE (RLE compressed)
                  *.TRP (uncompressed)

Falcon high-color images. 

TRP - True Color Picture

1 long    file id ['tru?']
1 word    picture width in pixels
1 word    picture height in pixels
width*height words of picture data


TRE - Run Length Encoded True Color Picture

1 long    file id ['tre1']
1 word    picture width in pixels
1 word    picture height in pixels
1 long    number of chunks
This is followed by all the data chunks. The first chunk is a raw data chunk.

raw data chunk:

1 byte    Number of raw data pixels. If this byte is 255 the number of pixels will
          be the following word+255
Number of pixels words of raw data.
This chunk is followed by an RLE chunk.

rle chunk:

1 byte    Number of rle pixels. If this byte is 255 the number of rle pixels will
          be the following word+255. This is the number of times you should draw the
          previous color again.
This chunk is followed by a raw data chunk.

Back to ST Picture Formats