EA DAT TERF: Difference between revisions
imported>Ikskoks No edit summary |
imported>Ikskoks m (Ikskoks moved page Madden NFL 2004 DAT to EA DAT TERF) |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 32: | Line 32: | ||
</b></tt> | </b></tt> | ||
=== | === Notes and Comments === | ||
NOTE: Files with length=0 still incur padding, so are actually 64 null bytes<br><br> | |||
== DAT (TYPE 2 - SOME COMPRESSION USED) == | |||
* ''' 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> | |||
=== Notes and Comments === | === Notes and Comments === | ||
NOTE: Files with length=0 still incur padding, so are actually | NOTE: Files with length=0 still incur padding, so are actually 4 null bytes<br><br> | ||
== DAT (TYPE 3 - SOME COMPRESSION USED) == | |||
* ''' 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">(128)</font> <br> | |||
uint32 {4} - <font color="red"> '' Unknown <font color="purple">(83886594)</font> '' </font> <br> | |||
uint16 {2} - File Padding Size <font color="purple">(128)</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> | |||
byte {0-127} - Padding to a multiple of 128 bytes <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> | |||
byte {0-127} - Padding to a multiple of 128 bytes <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-127} - null Padding to a multiple of 128 bytes <br> | |||
<br> | |||
</b></tt> | |||
=== Notes and Comments === | |||
NOTE: Files with length=0 still incur padding, so are actually 128 null bytes<br> | |||
<br> | |||
== COMMON INFO == | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
=== QuickBMS Script === | |||
* [https://aluigi.altervista.org/bms/madden_terf.bms madden_terf.bms] | |||
=== Games === | |||
List of games using this file format: | |||
* Madden NFL 2004 (*.DAT) | |||
* Madden NFL 2005 (*.DAT) | |||
* NASCAR 2005: Chase for the Cup (*.DAT) | |||
* NASCAR Kart (*.DAT) | |||
<br><br> | |||
[[Category:Complete Almost Done|Madden NFL 2004 DAT]] | |||
[[Category:Platform PC|Madden NFL 2004 DAT]] | |||
[[Category:CE None|Madden NFL 2004 DAT]] | |||
[[Category:CE Compressed|Madden NFL 2004 DAT]] | |||
[[Category:Format_Archive | Type: Archive]] | |||
[[Category:Extension_dat | Extension: dat]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
Latest revision as of 10:10, 18 July 2021
DAT (TYPE 1 - NO COMPRESSION USED)
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (TERF)
uint32 {4} - Directory Offset (64)
uint32 {4} - Unknown (83886594)
uint16 {2} - File Padding Size (64)
uint16 {2} - Number Of Files
byte {48} - null
char {4} - Directory Header (DIR1)
uint32 {4} - Directory Length (including these 2 fields)
// for each file
- uint32 {4} - File Offset (relative to the start of the FileDataHeader)
- uint32 {4} - File Length
byte {0-63} - null Padding to a multiple of 64 bytes
char {4} - File Data Header (DATA)
uint32 {4} - File Data Length (including these 3 fields)
byte {56} - null
// for each file
- byte {X} - File Data
- byte {0-63} - null Padding to a multiple of 64 bytes
Notes and Comments
NOTE: Files with length=0 still incur padding, so are actually 64 null bytes
DAT (TYPE 2 - SOME COMPRESSION USED)
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (TERF)
uint32 {4} - Directory Offset (16)
uint32 {4} - Unknown (83886594)
uint16 {2} - File Padding Size (4)
uint16 {2} - Number Of Files
char {4} - Directory Header (DIR1)
uint32 {4} - Directory Length (including these 2 fields)
// for each file
- uint32 {4} - File Offset (relative to the start of the FileDataHeader)
- uint32 {4} - File Length
char {4} - Compression Header (COMP)
uint32 {4} - Compression Length (including these 2 fields)
// for each file
- uint32 {4} - Compression Tag (0=uncompressed, 5=compressed)
- uint32 {4} - Decompressed Size (0=uncompressed)
char {4} - File Data Header (DATA)
uint32 {4} - File Data Length (including these 3 fields)
uint32 {4} - null
// for each file
- byte {X} - File Data
- byte {0-3} - null Padding to a multiple of 4 bytes
Notes and Comments
NOTE: Files with length=0 still incur padding, so are actually 4 null bytes
DAT (TYPE 3 - SOME COMPRESSION USED)
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (TERF)
uint32 {4} - Directory Offset (128)
uint32 {4} - Unknown (83886594)
uint16 {2} - File Padding Size (128)
uint16 {2} - Number Of Files
char {4} - Directory Header (DIR1)
uint32 {4} - Directory Length (including these 2 fields)
// for each file
- uint32 {4} - File Offset (relative to the start of the FileDataHeader)
- uint32 {4} - File Length
byte {0-127} - Padding to a multiple of 128 bytes
char {4} - Compression Header (COMP)
uint32 {4} - Compression Length (including these 2 fields)
// for each file
- uint32 {4} - Compression Tag (0=uncompressed, 5=compressed)
- uint32 {4} - Decompressed Size (0=uncompressed)
byte {0-127} - Padding to a multiple of 128 bytes
char {4} - File Data Header (DATA)
uint32 {4} - File Data Length (including these 3 fields)
uint32 {4} - null
// for each file
- byte {X} - File Data
- byte {0-127} - null Padding to a multiple of 128 bytes
Notes and Comments
NOTE: Files with length=0 still incur padding, so are actually 128 null bytes
COMMON INFO
Compatible Programs
QuickBMS Script
Games
List of games using this file format:
- Madden NFL 2004 (*.DAT)
- Madden NFL 2005 (*.DAT)
- NASCAR 2005: Chase for the Cup (*.DAT)
- NASCAR Kart (*.DAT)