Shrek SuperSlam DIR DAT: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (25 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
4 bytes (uint32) - entry offset | 4 bytes (uint32) - entry offset | ||
} | } | ||
4 bytes - nulls | |||
num_of_files * | 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) - | 4 bytes (uint32) - file compressed size | ||
x bytes (char) - filepath + null // "data\loading\british.dds" | x bytes (char) - filepath + null // "data\loading\british.dds" | ||
} | } | ||
| Line 46: | Line 47: | ||
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 === | ||
* 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 60: | 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:File Format]] | [[Category:File Format]] | ||
[[Category:LZ77]] | |||
[[Category:Custom compression]] | |||
Latest revision as of 08:51, 17 November 2020
DIR, DAT
- Game : Shrek SuperSlam
- Format Type : Archive
- Endian Order : Little Endian
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
- Files are compressed with custom LZ77 compression.
Compatible Programs