Spooky Sprites file format: Difference between revisions
Jump to navigation
Jump to search
>Lp (New page) |
>Lp m (updated info) |
||
| Line 13: | Line 13: | ||
TRE - Run | 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 | This chunk is followed by an RLE chunk. | ||
rle chunk: | rle chunk: | ||
Latest revision as of 13:36, 11 February 2017
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