Shrek SuperSlam DIR DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(6 intermediate revisions by the same user not shown)
Line 51: Line 51:


* [https://forum.xentax.com/viewtopic.php?p=112276#p112276 Shrek SuperSlam quickbms script]
* [https://forum.xentax.com/viewtopic.php?p=112276#p112276 Shrek SuperSlam quickbms script]
* [http://aluigi.zenhax.com/bms/shrek_superslam.bms shrek_superslam.bms]


=== 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 ===  
Line 73: Line 74:
[[Category:File Format]]
[[Category:File Format]]
[[Category:LZ77]]
[[Category:LZ77]]
[[Category:Custom compression]]

Latest revision as of 08:51, 17 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