DAX Compressed CD image
application/octet-stream
Magic Bytes
Offset: 0
44 42 46 48
The DAX Compressed CD image is a file format developed by Dark_AleX for the Sony PlayStation Portable platform. It is primarily used to archive Universal Media Disc content, enabling users to conserve storage space while running software via custom firmware or hardware emulation. This legacy format has mostly been replaced by the CSO standard but retains relevance within preservation and retro gaming communities due to its compression efficiency.
Validation Code
How to validate .dax files in Python
Python
def is_dax(file_path: str) -> bool:
"""Check if file is a valid DAX by magic bytes."""
signature = bytes([0x44, 0x42, 0x46, 0x48])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .dax files in Node.js
Node.js
function isDAX(buffer: Buffer): boolean {
const signature = Buffer.from([0x44, 0x42, 0x46, 0x48]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsDAX(data []byte) bool {
signature := []byte{0x44, 0x42, 0x46, 0x48}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/dax
curl https://filesignature.org/api/v1/dax