Parity Volume Set
(Created page with "{{FormatInfo |formattype=electronic |thiscat=Error detection and correction |extensions={{ext|par}}, {{ext|pxx}}, {{ext|par2}}, {{ext|pa3}} }} '''Parity Volume Set''' (also k...") |
Parchivist (Talk | contribs) (→Software) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|formattype=electronic | |formattype=electronic | ||
− | | | + | |subcat=Error detection and correction |
|extensions={{ext|par}}, {{ext|pxx}}, {{ext|par2}}, {{ext|pa3}} | |extensions={{ext|par}}, {{ext|pxx}}, {{ext|par2}}, {{ext|pa3}} | ||
}} | }} | ||
Line 9: | Line 9: | ||
== Identification == | == Identification == | ||
− | A '''Par1''' file starts with the byte sequence <code>50 41 52 00 00 00 00 00</code> | + | A '''Par1''' file starts with the following byte sequence: |
+ | |||
+ | <code>50 41 52 00 00 00 00 00</code> | ||
+ | |||
+ | This corresponds to the ASCII text string <code>PAR</code>, followed by 5 null bytes. | ||
+ | |||
+ | A '''Par2''' file starts with the bytes: | ||
+ | |||
+ | <code>50 41 52 32 00 50 4B 54</code> | ||
+ | |||
+ | This corresponds to ASCII text string <code>PAR2</code>, followed by a null byte and the text string <code>PKT</code>. | ||
+ | |||
+ | Finally, a '''Par3''' file can be identified by the following 4-byte sequence: | ||
+ | |||
+ | <code>50 41 33 00</code> | ||
+ | |||
+ | This corresponds to the text string <code>PA3</code>, followed by a null byte. | ||
== Specifications == | == Specifications == | ||
Line 20: | Line 36: | ||
* [https://github.com/Parchive/par2cmdline par2cmdline] (Linux par2 tool) | * [https://github.com/Parchive/par2cmdline par2cmdline] (Linux par2 tool) | ||
* [http://hp.vector.co.jp/authors/VA021385/ MultiPar] (Windows, GUI) | * [http://hp.vector.co.jp/authors/VA021385/ MultiPar] (Windows, GUI) | ||
+ | * [http://www.quickpar.org.uk/ QuickPar] (Windows, par2, GUI) | ||
== Sample files == | == Sample files == |
Latest revision as of 20:43, 21 August 2023
Parity Volume Set (also known as parity archive or parchive) is a file format for storing redundant data for one or more input files. These data can be used to repair the input files if they get damaged. The error correction is based on the Reed-Solomon algorithm. Three versions of the format exist: Par1, Par2 and Par3. The Par3 format never made it beyond the proposal stage, but it is used by the MultiPar tool.
Contents |
[edit] Identification
A Par1 file starts with the following byte sequence:
50 41 52 00 00 00 00 00
This corresponds to the ASCII text string PAR
, followed by 5 null bytes.
A Par2 file starts with the bytes:
50 41 52 32 00 50 4B 54
This corresponds to ASCII text string PAR2
, followed by a null byte and the text string PKT
.
Finally, a Par3 file can be identified by the following 4-byte sequence:
50 41 33 00
This corresponds to the text string PA3
, followed by a null byte.
[edit] Specifications
- Parity Volume Set Specification v1.0
- Parity Volume Set Specification 2.0
- proposal for Parchive Specification 3.0
[edit] Software
- par2cmdline (Linux par2 tool)
- MultiPar (Windows, GUI)
- QuickPar (Windows, par2, GUI)