summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2015-08-29 19:58:13 +0200
committerBastien Nocera <hadess@hadess.net>2015-08-31 17:39:12 +0200
commitd922ba8e068d8498c6fbf0a2759320bc7813704b (patch)
tree7e96cb9cd0450d99a02ef1e6b10485e92f45f669
parent920d89df864329e013d842020519859ff4e683ff (diff)
downloadshared-mime-info-d922ba8e068d8498c6fbf0a2759320bc7813704b.tar.gz
Add application/x-wii-wad
https://bugs.freedesktop.org/show_bug.cgi?id=91814
-rw-r--r--freedesktop.org.xml.in10
-rw-r--r--tests/list6
-rw-r--r--tests/wii.wadbin0 -> 1024 bytes
3 files changed, 14 insertions, 2 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 140844d1..c93ac55f 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1663,6 +1663,16 @@ command to generate the output files.
<match offset="0" type="string" value="WII\001DISC"/>
</magic>
</mime-type>
+ <mime-type type="application/x-wii-wad">
+ <_comment>WiiWare bundle</_comment>
+ <generic-icon name="application-x-executable"/>
+ <magic priority="50">
+ <match type="string" value="Is\0\0" offset="4"/>
+ <match type="string" value="ib\0\0" offset="4"/>
+ <match type="string" value="Bk\0\0" offset="4"/>
+ </magic>
+ <glob pattern="*.wad"/>
+ </mime-type>
<mime-type type="application/x-gamecube-rom">
<_comment>GameCube disc image</_comment>
<generic-icon name="application-x-executable"/>
diff --git a/tests/list b/tests/list
index bc041f38..6409bcf9 100644
--- a/tests/list
+++ b/tests/list
@@ -437,12 +437,14 @@ genesis2.bin application/x-genesis-rom xox
m64p_test_rom.n64 application/x-n64-rom
m64p_test_rom.v64 application/x-n64-rom
m64p_test_rom.z64 application/x-n64-rom
+# Castlevania: The Adventure Rebirth truncated to 1Ko
+wii.wad application/x-wii-wad
# Video game packages
# DOOM1.WAD trucated to 1Ko
-IWAD.WAD application/x-doom-wad
+IWAD.WAD application/x-doom-wad x
# ICARUS.WAD trucated to 1Ko
-PWAD.WAD application/x-doom-wad
+PWAD.WAD application/x-doom-wad x
# other
text.pdf application/pdf
diff --git a/tests/wii.wad b/tests/wii.wad
new file mode 100644
index 00000000..538fd0b1
--- /dev/null
+++ b/tests/wii.wad
Binary files differ