XAR Archive: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == XAR == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...")
imported>Ikskoks
Line 13: Line 13:
//header
//header
4 bytes (char) - signature // "xar!"
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


</pre>
</pre>

Revision as of 21:29, 10 February 2022

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

Notes and Comments

None.

Games

List of games using this file format:

  • TODO

QuickBMS Script

Not written yet.

Compatible Programs