The Genius of Sappheiros: Weekend PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 40: Line 40:
=== Notes and Comments ===  
=== Notes and Comments ===  


* Whole archive is havily encrypted.
* TOC is encrypted with [https://en.wikipedia.org/wiki/Mersenne_Twister Mersenne Twister algorithm].
* Some files can be compressed with ZLIB.
* Some files can be compressed with ZLIB.



Revision as of 23:19, 15 December 2021

Back to index | Edit this page

PAK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : None


Format Specifications

// The Genius of Sappheiros: Weekend PAK file format

4 bytes (uint32) - TOC length

// whole TOC is encrypted
4 bytes (uint32) - CRC check value (for TOC data)
num_of_files *
{
   x bytes (char) - file path + null
   4 bytes (uint32) - file size
   4 bytes (uint32) - VAR2
   4 bytes (uint32) - file relative offset
   1 byte (bool) - compression flag?
   4 bytes (uint32) - VAR5
} 

num_of_files *
{
   x bytes - file data   // encrypted
}

QuickBMS Script

Notes and Comments

Games

List of games using this file format:

  • Monsters Card
  • The Genius of Sappheiros: Weekend (*.PAK)

Compatible Programs