<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.swganh.org/index.php?action=history&amp;feed=atom&amp;title=Packet%3ACompression</id>
		<title>Packet:Compression - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.swganh.org/index.php?action=history&amp;feed=atom&amp;title=Packet%3ACompression"/>
		<link rel="alternate" type="text/html" href="https://wiki.swganh.org/index.php?title=Packet:Compression&amp;action=history"/>
		<updated>2026-04-07T02:14:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>https://wiki.swganh.org/index.php?title=Packet:Compression&amp;diff=1669&amp;oldid=prev</id>
		<title>Snow at 00:42, 9 December 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.swganh.org/index.php?title=Packet:Compression&amp;diff=1669&amp;oldid=prev"/>
				<updated>2006-12-09T00:42:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The compression algorithm used on SWG packets is a standard ZLIB algorithm.&lt;br /&gt;
&lt;br /&gt;
Please refer to ZLIB documentation on how the algorithm functions, for the sake of  simplicity, we use the &lt;br /&gt;
ZLIB's Compress/Decompress functions on the data at a standard level of compression.&lt;br /&gt;
&lt;br /&gt;
The data that is compressed is between the SOE Opcode and the footer. So far no stand-alone SWG Packets have &lt;br /&gt;
been recorded that are compressed.&lt;br /&gt;
&lt;br /&gt;
If data is compressed, the first byte of the footer (which is a compression byteflag) is 1. If it is not compressed, it is a 0.&lt;br /&gt;
&lt;br /&gt;
Compression will occur BEFORE encryption, and BEFORE a CRC value is appended.&lt;br /&gt;
&lt;br /&gt;
Compression is applied on all network status updates (both client and server), and on packets that are generally &amp;gt; 100 bytes.&lt;br /&gt;
The largest any packet can be uncompressed is 496 bytes, which includes the footer. If it is larger it must be fragmented first.&lt;/div&gt;</summary>
		<author><name>Snow</name></author>	</entry>

	</feed>