{"success":true,"data":{"ext":"minipsf1","name":"MINIPSF1","description":"MINIPSF1 is a compact PlayStation Sound Format variant maintained by the PSF community for preserving music data derived from original game software. It is used to archive and play back console game audio, especially in preservation projects, media players, and emulation tools that support PSF playback. The format is generally safe, though as a legacy audio container it may depend on external emulator components and should be opened with current software.","mime":["audio/x-psf"],"risk_level":"Safe","signatures":[{"hex":"50 53 46","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["gslib","minigsf","minipsf","psf1","psflib"],"usage":{"python":"def is_minipsf1(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MINIPSF1 by magic bytes.\"\"\"\n    signature = bytes([0x50, 0x53, 0x46])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isMINIPSF1(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x53, 0x46]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsMINIPSF1(data []byte) bool {\n    signature := []byte{0x50, 0x53, 0x46}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"},"category":"Audio"}}