add CHD support.
[pcsx_rearmed.git] / deps / lzma-16.04 / DOC / Methods.txt
CommitLineData
ce188d4d 17-Zip method IDs for 7z and xz archives\r
2---------------------------------------\r
3\r
4Version: 16.03\r
5Date: 2016-09-27\r
6\r
7Each compression or crypto method in 7z is associated with unique binary value (ID).\r
8The length of ID in bytes is arbitrary but it can not exceed 63 bits (8 bytes).\r
9\r
10xz and 7z formats use same ID map.\r
11\r
12If you want to add some new ID, you have two ways:\r
13 1) Write request for allocating IDs to 7-Zip developers.\r
14 2) Generate 8-bytes ID:\r
15\r
16 3F ZZ ZZ ZZ ZZ ZZ MM MM \r
17\r
18 3F - Prefix for random IDs (1 byte)\r
19 ZZ ZZ ZZ ZZ ZZ - Developer ID (5 bytes). Use real random bytes. \r
20 \r
21 MM MM - Method ID (2 bytes)\r
22\r
23 You can notify 7-Zip developers about your Developer ID / Method ID.\r
24\r
25 Note: Use new ID, if old codec can not decode data encoded with new version.\r
26\r
27\r
28List of defined IDs\r
29-------------------\r
30 \r
3100 - Copy\r
32\r
3303 - Delta\r
3404 - BCJ (x86)\r
3505 - PPC (big-endian)\r
3606 - IA64\r
3707 - ARM (little-endian)\r
3808 - ARMT (little-endian)\r
3909 - SPARC\r
40\r
4121 - LZMA2\r
42 \r
4302.. - Common\r
44 03 [Swap]\r
45 - 2 Swap2\r
46 - 4 Swap4\r
47\r
4803.. - 7z\r
49 01 - \r
50 01 - LZMA\r
51 \r
52 03 - [Branch Codecs]\r
53 01 - [x86 Codecs]\r
54 03 - BCJ\r
55 1B - BCJ2 (4 packed streams)\r
56 02 - \r
57 05 - PPC (big-endian)\r
58 03 - \r
59 01 - Alpha\r
60 04 - \r
61 01 - IA64\r
62 05 - \r
63 01 - ARM (little-endian)\r
64 06 - \r
65 05 - M68 (big-endian)\r
66 07 - \r
67 01 - ARMT (little-endian)\r
68 08 - \r
69 05 - SPARC\r
70\r
71 04 - \r
72 01 - PPMD\r
73\r
74 7F -\r
75 01 - experimental method.\r
76\r
77\r
7804.. - Misc codecs\r
79\r
80 00 - Reserved\r
81\r
82 01 - [Zip]\r
83 00 - Copy (not used. Use {00} instead)\r
84 01 - Shrink\r
85 06 - Implode\r
86 08 - Deflate\r
87 09 - Deflate64\r
88 0A - Imploding\r
89 0C - BZip2 (not used. Use {040202} instead)\r
90 0E - LZMA (LZMA-zip)\r
91 5F - xz\r
92 60 - Jpeg\r
93 61 - WavPack\r
94 62 - PPMd (PPMd-zip)\r
95 63 - wzAES\r
96\r
97 02 - \r
98 02 - BZip2\r
99\r
100 03 - [Rar]\r
101 01 - Rar1\r
102 02 - Rar2\r
103 03 - Rar3\r
104 05 - Rar5\r
105\r
106 04 - [Arj]\r
107 01 - Arj(1,2,3)\r
108 02 - Arj4\r
109\r
110 05 - [Z]\r
111\r
112 06 - [Lzh]\r
113\r
114 07 - Reserved for 7z\r
115\r
116 08 - [Cab]\r
117\r
118 09 - [NSIS]\r
119 01 - DeflateNSIS\r
120 02 - BZip2NSIS\r
121\r
122 F7 - External codecs (that are not included to 7-Zip)\r
123\r
124 0x xx - reserved\r
125 10 xx - reserved (LZHAM)\r
126 11 xx - reserved (Zstd)\r
127\r
128\r
12906.. - Crypto \r
130\r
131 F0 - Ciphers without hashing algo\r
132\r
133 01 - [AES]\r
134 0x - AES-128\r
135 4x - AES-192\r
136 8x - AES-256\r
137 Cx - AES\r
138\r
139 x0 - ECB\r
140 x1 - CBC\r
141 x2 - CFB\r
142 x3 - OFB\r
143 x4 - CTR\r
144\r
145 F1 - Combine Ciphers\r
146\r
147 01 - [Zip]\r
148 01 - ZipCrypto (Main Zip crypto algo)\r
149\r
150 03 - [RAR]\r
151 02 - \r
152 03 - Rar29AES (AES-128 + modified SHA-1)\r
153\r
154 07 - [7z]\r
155 01 - 7zAES (AES-256 + SHA-256)\r
156\r
157\r
158---\r
159End of document\r