[File] [PATCH] Update Nintendo DS ROM to the IANA registered type
Link Mauve
linkmauve at linkmauve.fr
Fri Oct 9 14:15:23 EDT 2026
On 2012-09-04, the application/vnd.nintendo.nitro.rom media type got
registered at the IANA[1] and became the recommended type to use for DS
ROMs, so let’s switch to it.
[1] https://www.iana.org/assignments/media-types/application/vnd.nintendo.nitro.rom
---
magic/Magdir/console | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/magic/Magdir/console b/magic/Magdir/console
index 546b1ff6..0a5bb41a 100644
--- a/magic/Magdir/console
+++ b/magic/Magdir/console
@@ -505,7 +505,7 @@
# Updated version from: David Korth <gerbilsoft at gerbilsoft.com>
#
0xC0 bequad 0x24FFAE51699AA221 Nintendo DS ROM image
-!:mime application/x-nintendo-ds-rom
+!:mime application/vnd.nintendo.nitro.rom
>0x00 string >\0 \b: "%.12s"
>0x0C string x (%.6s
>0x1E byte x \b, Rev.%02u)
@@ -526,7 +526,7 @@
# This is also used for loading .nds files using the MSET exploit on 3DS.
# Reference: https://github.com/devkitPro/ndstool/blob/master/source/ndscreate.cpp
0xC0 bequad 0xC8604FE201708FE2 Nintendo DS Slot-2 ROM image (PassMe)
-!:mime application/x-nintendo-ds-rom
+!:mime application/vnd.nintendo.nitro.rom
#------------------------------------------------------------------------------
# ngp: file(1) magic for the Neo Geo Pocket (Color) raw ROM format.
--
2.56.0
More information about the File
mailing list