Shrek SuperSlam DIR DAT: Difference between revisions

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


* Some files are compressed with [https://reverseengineering.stackexchange.com/questions/16021/what-compression-algorithm-is-this custom LZ77 compression].
* Files are compressed with [https://reverseengineering.stackexchange.com/questions/16021/what-compression-algorithm-is-this custom LZ77 compression].


=== Compatible Programs ===  
=== Compatible Programs ===  

Revision as of 16:23, 16 November 2020

DIR, DAT


Format Specifications

// Shrek SuperSlam
// DIR file format


num_of_files *
{
   4 bytes (uint32) - entry offset
}
4 bytes - nulls

num_of_files *
{
   // file entry
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file uncompressed size
   4 bytes (uint32) - file compressed size
   x bytes (char) - filepath + null // "data\loading\british.dds"
}


// Shrek SuperSlam
// DAT file format

number_of_files *
{
   x bytes - file data
}

MultiEx BMS Script

Not written yet.

QuickBMS Script

Notes and Comments

Compatible Programs