Shrek SuperSlam DIR DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== DIR, DAT == * ''' Game ''': Shrek SuperSlam <br> * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little E...")
imported>Ikskoks
 
(31 intermediate revisions by the same user not shown)
Line 13: Line 13:




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


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


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
Line 33: Line 36:
// Shrek SuperSlam
// Shrek SuperSlam
// DAT file format
// DAT file format
number_of_files *
number_of_files *
{
{
Line 39: Line 43:
</pre>
</pre>
</div>
</div>
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet.
Not written yet.
=== 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 ===  


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


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


* [https://github.com/ShrekBoards/shrek-file-extract shrek-file-extract]
* [https://github.com/ShrekBoards/shrek-file-extract shrek-file-extract]
* [https://github.com/ShrekBoards/shrek-file-create shrek-file-create]
* [https://github.com/ShrekBoards/shrek-decompress shrek-decompress]
<br/><br>
<br/><br>


Line 56: Line 68:
[[Category:Platform PC|Shrek SuperSlam DIR DAT]]
[[Category:Platform PC|Shrek SuperSlam DIR DAT]]
[[Category:CE None|Shrek SuperSlam DIR DAT]]
[[Category:CE None|Shrek SuperSlam DIR DAT]]
[[Category:CE Compressed|Shrek SuperSlam DIR DAT]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_dir | Extension: dir]]
[[Category:Extension_dir | Extension: dir]]
[[Category:Extension_dat | Extension: dat]]
[[Category:Extension_dat | Extension: dat]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]
[[Category:File Format]]
[[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