DAT Format (California Games II)
The California Games II DAT Format is used to store data for each sub-game. Each file appears to be compressed but the algorithm is currently unknown.
The header indicates how many files are in the archive.
|UINT16LE||fileCount||Number of files|
The header is followed immediately by a file entry structure, repeated fileCount times.
A file entry consists of the filename and its size, both before and after decompression.
|char||filename||The part of the filename before the dot, not null-terminated but padded with 0x00 bytes if less than eight characters|
|char||extension||The part of the filename after the dot, null-padded if under three characters but not null-terminated|
|UINT32LE||offset||Offset of the file's data, relative to the start of the archive file|
|UINT32LE||decompressedSize||File size in bytes after decompression|
|UINT32LE||compressedSize||File size in bytes before decompression (how much space it actually takes up in the archive file)|
After the last file entry the offset of the first file is typically reached, and the data for each file begins.
There are currently no known tools that work with this format.