<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=CrackArt_file_format</id>
	<title>CrackArt file format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=CrackArt_file_format"/>
	<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=CrackArt_file_format&amp;action=history"/>
	<updated>2026-05-06T18:13:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://www.temlib.org/AtariForumWiki/index.php?title=CrackArt_file_format&amp;diff=12191&amp;oldid=prev</id>
		<title>&gt;Lp: New page</title>
		<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=CrackArt_file_format&amp;diff=12191&amp;oldid=prev"/>
		<updated>2017-01-02T23:47:05Z</updated>

		<summary type="html">&lt;p&gt;New page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
CarckArt        *.CA1 (low resolution)&lt;br /&gt;
                *.CA2 (medium resolution)&lt;br /&gt;
                *.CA3 (high resolution)&lt;br /&gt;
 &lt;br /&gt;
1 word          'CA' crackart magic&lt;br /&gt;
1 byte          compression: 00 = uncompressed, 01 = compressed&lt;br /&gt;
1 byte          resolution: 00 = low res, 01 = medium res, 02 = high res&lt;br /&gt;
?? words        palette&lt;br /&gt;
                For low res pictures there are 16 palette entries&lt;br /&gt;
                For med res pictures there are 4 palette entries&lt;br /&gt;
                For high res pictures there are 0 palette entries&lt;br /&gt;
?? bytes        Picture data:&lt;br /&gt;
                For uncompressed pictures 32000 bytes follow&lt;br /&gt;
                For compressed pictures the compressed data follows&lt;br /&gt;
&lt;br /&gt;
-----------&lt;br /&gt;
&amp;lt; 32057 bytes   total&lt;br /&gt;
&lt;br /&gt;
CrackArt data compression:&lt;br /&gt;
1 byte          Escape character&lt;br /&gt;
1 byte          Delta: initially the 32000 screen memory are &lt;br /&gt;
                filled with the delta byte&lt;br /&gt;
1 word          Offset: offset between two packed bytes;&lt;br /&gt;
                Offset is added to the current byte position&lt;br /&gt;
                to calculate the next byte position. When the &lt;br /&gt;
                next byte position is greater 32000, the next &lt;br /&gt;
                byte position is the first position of screen &lt;br /&gt;
                memory not written to&lt;br /&gt;
                if Offset = 0, the whole screen if filled with &lt;br /&gt;
                the delta byte, no packed bytes follow&lt;br /&gt;
&lt;br /&gt;
1 byte          Cmd: Command byte&lt;br /&gt;
                Cmd &amp;lt;&amp;gt; Escape character: Cmd = one literal byte&lt;br /&gt;
                Cmd = Escape charater:&lt;br /&gt;
                  read 1 control byte&lt;br /&gt;
                    0: read one byte, n, and one byte, b;&lt;br /&gt;
                       repeat b (n+1) times&lt;br /&gt;
                    1: read one word, n, and one byte, b;&lt;br /&gt;
                       repeat b (n+1) times&lt;br /&gt;
                    2: read one byte, if zero: stop else read &lt;br /&gt;
                       one extra byte and to make word n:&lt;br /&gt;
                       repeat Delta (n+1) times&lt;br /&gt;
                    Escape character: output one escape charater&lt;br /&gt;
                    else: read one byte, b;&lt;br /&gt;
                       repeat b cmd times&lt;br /&gt;
Decompression stops when Escape 2,0 is found or 32000 bytes have been written&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Back to [[ST Picture Formats]]&lt;/div&gt;</summary>
		<author><name>&gt;Lp</name></author>
	</entry>
</feed>