Crush compressed archive
application/octet-stream
Magic Bytes
Offset: 0
43 57 53
Crush compressed archive (CRU) is a legacy file format developed by M.W. Stevens for the Crush utility on MS-DOS systems. It was primarily used to bundle and compress multiple files into single containers to maximize storage efficiency on low-capacity media such as floppy disks. While the format is now obsolete, specialized retro-computing tools or universal extractors are still capable of processing these archives for data recovery on modern operating systems.
Validation Code
How to validate .cru files in Python
Python
def is_cru(file_path: str) -> bool:
"""Check if file is a valid CRU by magic bytes."""
signature = bytes([0x43, 0x57, 0x53])
with open(file_path, "rb") as f:
return f.read(3) == signature
How to validate .cru files in Node.js
Node.js
function isCRU(buffer: Buffer): boolean {
const signature = Buffer.from([0x43, 0x57, 0x53]);
return buffer.subarray(0, 3).equals(signature);
}
Go
func IsCRU(data []byte) bool {
signature := []byte{0x43, 0x57, 0x53}
if len(data) < 3 {
return false
}
return bytes.Equal(data[:3], signature)
}
API Endpoint
GET
/api/v1/cru
curl https://filesignature.org/api/v1/cru