DAT Format (Dr. Riptide)
|File Allocation Table (FAT)||Beginning|
|Filenames?||Yes, 8.3 chars|
The Dr. Riptide DAT Format is used by Dr. Riptide for storing most of the game data files.
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.
|UINT16LE||fileCount||Number of files in the archive|
The following structure is repeated once for each file entry.
|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||filename||Filename in 8.3 format, all uppercase, null-terminated|
The following tools are able to work with files in this format.
|Name||Platform||Extract files?||Decompress on extract?||Create new?||Modify?||Compress on insert?||Access hidden data?||Edit metadata?||Notes|
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!)