imported>Ikskoks |
imported>Ikskoks |
| (3 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| == DAT (TYPE 2 - SOME COMPRESSION USED) ==
| | #REDIRECT [[EA DAT TERF]] |
| | |
| * ''' Format Type ''': Archive <br>
| |
| * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
| |
| | |
| | |
| === Format Specifications ===
| |
| | |
| <tt><b>
| |
| char {4} - Header <font color="purple">(TERF)</font> <br>
| |
| uint32 {4} - Directory Offset <font color="purple">(16)</font> <br>
| |
| uint32 {4} - <font color="red"> '' Unknown <font color="purple">(83886594)</font> '' </font> <br>
| |
| uint16 {2} - File Padding Size <font color="purple">(4)</font> <br>
| |
| uint16 {2} - Number Of Files <br>
| |
| char {4} - Directory Header <font color="purple">(DIR1)</font> <br>
| |
| uint32 {4} - Directory Length <font color="purple">(including these 2 fields)</font> <br>
| |
| <br>
| |
| <font color="blue"> ''' // for each file ''' </font> <br>
| |
| : uint32 {4} - File Offset <font color="purple">(relative to the start of the FileDataHeader)</font> <br>
| |
| : uint32 {4} - File Length <br>
| |
| <br>
| |
| char {4} - Compression Header <font color="purple">(COMP)</font> <br>
| |
| uint32 {4} - Compression Length <font color="purple">(including these 2 fields)</font> <br>
| |
| <br>
| |
| <font color="blue"> ''' // for each file ''' </font> <br>
| |
| : uint32 {4} - Compression Tag <font color="purple">(0=uncompressed, 5=compressed)</font> <br>
| |
| : uint32 {4} - Decompressed Size <font color="purple">(0=uncompressed)</font> <br>
| |
| <br>
| |
| char {4} - File Data Header <font color="purple">(DATA)</font> <br>
| |
| uint32 {4} - File Data Length <font color="purple">(including these 3 fields)</font> <br>
| |
| uint32 {4} - null <br>
| |
| <br>
| |
| <font color="blue"> ''' // for each file ''' </font> <br>
| |
| : byte {X} - File Data <br>
| |
| : byte {0-3} - null Padding to a multiple of 4 bytes <br>
| |
| <br>
| |
| </b></tt>
| |
| | |
| === MultiEx BMS Script ===
| |
| | |
| Not written yet<br><br>
| |
| | |
| === Notes and Comments ===
| |
| | |
| NOTE: Files with length=0 still incur padding, so are actually 4 null bytes<br><br>
| |
| | |
| === Compatible Programs ===
| |
| | |
| * [[Game Extractor|Game Extractor]]<br><br>
| |
| | |
| === Other Games ===
| |
| | |
| These games also use this file format<br>
| |
| * Madden 2004 *.dat
| |
| * Madden 2005 *.dat
| |
| | |
| | |
| [[Category:File Format]]
| |