<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=RLE90</id>
		<title>RLE90 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=RLE90"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=RLE90&amp;action=history"/>
		<updated>2026-06-29T14:35:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=RLE90&amp;diff=33460&amp;oldid=prev</id>
		<title>Jsummers: /* Related formats */</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=RLE90&amp;diff=33460&amp;oldid=prev"/>
				<updated>2019-09-21T14:41:26Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Related formats&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:41, 21 September 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Related formats ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Related formats ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Among the formats that may use RLE90 are [[ARC (compression format)|ARC]] (and [[Spark]] and [[ArcFS]]), [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Stuffit&lt;/del&gt;]], and [[BinHex]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Among the formats that may use RLE90 are [[ARC (compression format)|ARC]] (and [[Spark]] and [[ArcFS]]), [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;StuffIt&lt;/ins&gt;]], and [[BinHex]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Links ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [https://github.com/MacPaw/XADMaster/wiki/Rle90Algorithm Rle90Algorithm] - A brief description&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [https://github.com/MacPaw/XADMaster/wiki/Rle90Algorithm Rle90Algorithm] - A brief description&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* See also the [[BinHex#References|BinHex]] 4.0 specification&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* See also the [[BinHex#References|BinHex]] 4.0 specification&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jsummers</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=RLE90&amp;diff=33250&amp;oldid=prev</id>
		<title>Jsummers: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Compression }} '''RLE90''' is a run-length encoding data compression scheme used in several file formats, either by itself, or ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=RLE90&amp;diff=33250&amp;oldid=prev"/>
				<updated>2019-09-04T17:29:10Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Compression }} &amp;#039;&amp;#039;&amp;#039;RLE90&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/wiki/Run-length_encoding&quot; title=&quot;Run-length encoding&quot;&gt;run-length encoding&lt;/a&gt; data compression scheme used in several file formats, either by itself, or ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Compression&lt;br /&gt;
}}&lt;br /&gt;
'''RLE90''' is a [[run-length encoding]] data compression scheme used in several file formats, either by itself, or as part of a more sophisticated compression scheme. It is only occasionally called RLE90, but its other names, such as &amp;quot;Packed&amp;quot; and &amp;quot;RLE&amp;quot;, are hopelessly vague.&lt;br /&gt;
&lt;br /&gt;
The format is simple, but is more stateful than most RLE schemes, and has edge cases that can lead to problems. It uses byte value 0x90 (decimal 144) as an escape code.&lt;br /&gt;
&lt;br /&gt;
== Format details ==&lt;br /&gt;
&lt;br /&gt;
To decompress:&lt;br /&gt;
&lt;br /&gt;
Read the next byte(s). Follow the instructions in the first row of this table that matches. Repeat.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Byte pattern !! Instructions&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;0x90 0x00&amp;lt;/code&amp;gt; || Emit one byte of value 0x90&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;0x90 N2&amp;lt;/code&amp;gt;   || Emit N2−1 (additional) copies of the &amp;quot;previous byte&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;N1&amp;lt;/code&amp;gt;        || Emit one byte of value N1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The term &amp;quot;previous byte&amp;quot; needs clarification when the previous bytes were the &amp;lt;code&amp;gt;0x90 0x00&amp;lt;/code&amp;gt; escape code, or at the beginning of data where there was no previous byte. Some RLE90 variants handle these cases differently than others, by accident or design.&lt;br /&gt;
&lt;br /&gt;
== Related formats ==&lt;br /&gt;
Among the formats that may use RLE90 are [[ARC (compression format)|ARC]] (and [[Spark]] and [[ArcFS]]), [[Stuffit]], and [[BinHex]].&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://github.com/MacPaw/XADMaster/wiki/Rle90Algorithm Rle90Algorithm] - A brief description&lt;br /&gt;
* See also the [[BinHex#References|BinHex]] 4.0 specification&lt;/div&gt;</summary>
		<author><name>Jsummers</name></author>	</entry>

	</feed>