{"success":true,"data":{"ext":"minipsf","name":"MINIPSF","description":"MINIPSF is a compact variant of the PlayStation Sound Format, developed and maintained by the PSF community for preserving audio data from PlayStation game music. It is used to store and play back extracted soundtrack content in emulators, music players, and archival collections. The format is largely legacy and is generally safe, though playback depends on compatible software and any embedded data should still be obtained from trusted sources.","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","minipsf1","psf1","psflib"],"usage":{"python":"def is_minipsf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MINIPSF 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 isMINIPSF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x53, 0x46]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsMINIPSF(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"}}