game: add Discworld Noir BMV demuxer and audio decoder
[nihav.git] / nihav-core / src / detect.rs
index 17b1411df7810fb8be38a9e4a37346206e178d32..caf590036dc43b245dd0d80b6c1e299ec2a464ca 100644 (file)
@@ -211,6 +211,12 @@ const DETECTORS: &[DetectConditions] = &[
         extensions: ".bmv",
         conditions: &[],
     },
+    DetectConditions {
+        demux_name: "bmv3",
+        extensions: ".bmv",
+        conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"BMVi") },
+                      CheckItem{offs: 32, cond: &CC::Str(b"DATA")}],
+    },
     DetectConditions {
         demux_name: "vmd",
         extensions: ".vmd",