DXR
application/octet-stream
Magic Bytes
Offset: 0
52 49 46 58 4D 56 39 33
The DXR format is a protected multimedia movie file developed by Macromedia and later maintained by Adobe Systems for the Director authoring environment. It serves as a distribution container for compiled, non-editable animations and interactive applications used in legacy software suites and CD-ROM media. Following the official discontinuation of the product line by Adobe in 2017, this obsolete format is considered safe but requires specific historical players or emulation tools for access.
Validation Code
How to validate .dxr files in Python
Python
def is_dxr(file_path: str) -> bool:
"""Check if file is a valid DXR by magic bytes."""
signature = bytes([0x52, 0x49, 0x46, 0x58, 0x4D, 0x56, 0x39, 0x33])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .dxr files in Node.js
Node.js
function isDXR(buffer: Buffer): boolean {
const signature = Buffer.from([0x52, 0x49, 0x46, 0x58, 0x4D, 0x56, 0x39, 0x33]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsDXR(data []byte) bool {
signature := []byte{0x52, 0x49, 0x46, 0x58, 0x4D, 0x56, 0x39, 0x33}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/dxr
curl https://filesignature.org/api/v1/dxr