Need for Speed: Underground Audio file

application/octet-stream

Safe

Magic Bytes

Offset: 0
53 43 4D 49

The AST file format is a proprietary audio container developed by Electronic Arts for the Need for Speed: Underground video game. It functions as an archive for background music, voice acting, and sound effects to facilitate rapid data retrieval during software execution. This legacy format is inherently safe for users but remains largely obsolete, requiring specialized third-party tools or dedicated plugins for access outside the original game environment.

Extension

.ast

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .ast files in Python

Python
def is_ast(file_path: str) -> bool:
    """Check if file is a valid AST by magic bytes."""
    signature = bytes([0x53, 0x43, 0x4D, 0x49])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .ast files in Node.js

Node.js
function isAST(buffer: Buffer): boolean {
  const signature = Buffer.from([0x53, 0x43, 0x4D, 0x49]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsAST(data []byte) bool {
    signature := []byte{0x53, 0x43, 0x4D, 0x49}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

GET /api/v1/ast
curl https://filesignature.org/api/v1/ast

Related Formats