Editing CXML Containers

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 270: Line 270:


*Notes
*Notes
**The first 2 bytes of the compressed QRCF is the ZLIB header, being the default/max level 9.
**The first 2 bytes of the compressed QRCF is the ZLIB header, in this example: 0x78DA (b: 0111 1000  1101 1010 / 30938) is using the default/max level 9.
**source: http://tools.ietf.org/html/rfc1950#section-2.2
<small>
{| class="wikitable" style="text-align: center;"
|-
!width="100"|byte index
!width="60"|bit 7
!width="60"|bit 6
!width="60"|bit 5
!width="60"|bit 4
!width="60"|bit 3
!width="60"|bit 2
!width="60"|bit 1
!width="60"|bit 0
|-
|[0] '''CMF'''
|colspan="4"|'''Compression info'''
*7 = indicates a 32K window size
|colspan="4"|'''Compression method'''
*8 = denotes the "deflate" compression
|-
|[1] '''FLG'''
|colspan="2"|'''FLEVEL'''
* 0 - compressor used fastest algorithm
* 1 - compressor used fast algorithm
* 2 - compressor used default algorithm
* 3 - compressor used maximum compression, slowest algorithm
|colspan="1"|'''FDICT'''
(Preset dictionary)
If set, a DICT dictionary identifier is present
immediately after the FLG byte. The dictionary is a sequence of
bytes which are initially fed to the compressor without
producing any compressed output. DICT is the Adler-32 checksum
of this sequence of bytes (see the definition of ADLER32
below).  The decompressor can use this identifier to determine
which dictionary has been used by the compressor.
|colspan="5"|'''FCHECK'''
value must be such that CMF and FLG, when viewed as
a 16-bit unsigned integer stored in MSB order (CMF *256 + FLG),
is a multiple of 31.
|-
|}
</small>


<small>
<small>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)