XAR Archive

From XentaxWiki
Revision as of 22:02, 10 February 2022 by imported>Ikskoks (→‎Compatible Programs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to index | Edit this page

XAR

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : xar!


Format Specifications

//header
4 bytes (char) - signature // "xar!"
2 bytes (uint16) - header size
2 bytes (uint16) - version  // 1
8 bytes (uint64) - length of the TOC compressed data
8 bytes (uint64) - length of the TOC uncompressed data
4 bytes (uin32) - checksum algorithm   // 0 - none
                                       // 1 - SHA1
                                       // 2 - MD5
                                       // 3 - SHA-256
                                       // 4 - SHA-512
x bytes - padding


// TOC
x bytes - TOC data  // compressed with zlib


// data
x bytes - data  // can be compressed with GZIP, BZIP2, XZ or LZMA

Notes and Comments

None.

Games

List of games using this file format:

  • TODO

QuickBMS Script

Not written yet.

Compatible Programs

See Also