UCAS
application/octet-stream
Magic Bytes
Offset: 0
8C 0A 00
The UCAS format is a proprietary data container developed by Epic Games for use within the Unreal Engine ecosystem. It is primarily utilized for storing compressed game assets, such as textures and audio files, to facilitate optimized data streaming and asset loading during real-time rendering. As part of the Zen Loader system, these files are considered safe and typically require specific game engine tools or specialized extractors to access their underlying data structures.
Validation Code
How to validate .ucas files in Python
Python
def is_ucas(file_path: str) -> bool:
"""Check if file is a valid UCAS by magic bytes."""
signature = bytes([0x8C, 0x0A, 0x00])
with open(file_path, "rb") as f:
return f.read(3) == signature
How to validate .ucas files in Node.js
Node.js
function isUCAS(buffer: Buffer): boolean {
const signature = Buffer.from([0x8C, 0x0A, 0x00]);
return buffer.subarray(0, 3).equals(signature);
}
Go
func IsUCAS(data []byte) bool {
signature := []byte{0x8C, 0x0A, 0x00}
if len(data) < 3 {
return false
}
return bytes.Equal(data[:3], signature)
}
API Endpoint
GET
/api/v1/ucas
curl https://filesignature.org/api/v1/ucas