]> granicus.if.org Git - file/commitdiff
PR/434: Update some console audio files
authorChristos Zoulas <christos@zoulas.com>
Sun, 15 Mar 2015 23:21:42 +0000 (23:21 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 15 Mar 2015 23:21:42 +0000 (23:21 +0000)
magic/Magdir/audio
magic/Magdir/console

index 1605d7ae239c1fc9e6aa6b66496f52dc0790ab5c..f20aec431ce5ebc7dc8a65e66c3e06af2046de14 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: audio,v 1.71 2014/05/14 23:30:28 christos Exp $
+# $File: audio,v 1.72 2015/02/14 18:42:48 christos Exp $
 # audio:  file(1) magic for sound formats (see also "iff")
 #
 # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
 >122   byte&0x1        =1              PAL
 >122   byte&0x1        =0              NTSC
 
+# NSFE (Extended NES sound file) magic
+# http://slickproductions.org/docs/NSF/nsfespec.txt 
+# From: David Pflug <david@pflug.email>
+0      string          NSFE            Extended NES Sound File
+>48    search/0x1000   auth
+>>&0   string          >\0             ("%s"
+>>>&1  string          >\0             by %s
+>>>>&1 string          >\0             \b, copyright %s
+>>>>>&1        string          >\0             \b, ripped by %s
+>20    byte            x               \b), %d tracks,
+>18    byte&0x2        =1              dual PAL/NTSC
+>18     byte&0x2       =0
+>>18   byte&0x1        =1              PAL
+>>18   byte&0x1        =0              NTSC
+
 # Type: SNES SPC700 sound files
 # From: Josh Triplett <josh@freedesktop.org>
 0      string  SNES-SPC700\ Sound\ File\ Data\ v       SNES SPC700 sound file
index aaf858a55428656aed9b2fcc3869f54b7c3fc112..fa89f642a9dee5afe35b973c1ca3ff1f14f0868f 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: console,v 1.18 2010/09/20 19:19:17 rrt Exp $
+# $File: console,v 1.19 2013/02/06 14:18:52 christos Exp $
 # Console game magic
 # Toby Deshane <hac@shoelace.digivill.net>
 #    ines:  file(1) magic for Marat's iNES Nintendo Entertainment System
 # From: Serge van den Boom <svdb@stack.nl>
 0      string          \x01ZZZZZ\x01   3DO "Opera" file system
 
-# From Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
+# From: Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
+# From: David Pflug <david@pflug.email>
+# is the offset 12 or the offset 16 correct?
+# GBS (Game Boy Sound) magic
+# ftp://ftp.modland.com/pub/documents/format_documentation/\
+# Gameboy%20Sound%20System%20(.gbs).txt 
 0      string          GBS             Nintendo Gameboy Music/Audio Data
-12     string          GameBoy\ Music\ Module  Nintendo Gameboy Music Module
+#12    string          GameBoy\ Music\ Module  Nintendo Gameboy Music Module
+>16    string          >\0     ("%s" by
+>48    string          >\0     %s, copyright
+>80    string          >\0     %s),
+>3     byte            x       version %d,
+>4     byte            x       %d tracks
 
 # Playstations Patch Files from: From: Thomas Klausner <tk@giga.or.at>
 0      string  PPF30                   Playstation Patch File version 3.0