DAT Format (Dr. Riptide)

From ModdingWiki
Jump to: navigation, search
DAT Format (Dr. Riptide)
Format typeArchive
Max files65535
File Allocation Table (FAT)Beginning
Filenames?Yes, 8.3 chars
Supports compression?No
Supports encryption?No
Supports subdirectories?No
Hidden data?No

The Dr. Riptide DAT Format is used by Dr. Riptide for storing most of the game data files.

File format


There is no signature, so the only known way of detecting whether a file is in this format or not is to carefully parse the header and FAT and ensure the values make sense, e.g. the FAT length is less than all the file offsets, no file offset goes past the end of the file, all filenames end with a terminating NULL, etc.

File header

Data type Name Description
UINT16LE fileCount Number of files in the archive

File entry

The following structure is repeated once for each file entry.

Data type Name Description
UINT32LE size Size of this file, in bytes
UINT32LE lastModified Time this file was last modified ! in what units? Probably a DOS FAT timestamp
UINT32LE offset Offset of this file, in bytes, relative to the start of the archive
char[13] filename Filename in 8.3 format, all uppercase, null-terminated


The following tools are able to work with files in this format.

Name PlatformExtract files? Decompress on extract? Create new? Modify? Compress on insert? Access hidden data? Edit metadata? Notes
Camoto Linux/WindowsYesN/AYesYesN/AN/AN/A


This file format was documented from the description found at sysmagazine.com. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)