diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-10-14 16:16:27 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2024-04-20 08:28:14 +0000 |
commit | d6f08b743faa1ee37660355c54ac93365412f2dc (patch) | |
tree | f965a50738f81924fa3ede7c98a3f748ab1b1777 /data | |
parent | cda12f215bf810f195e8f4cff10a35840480c015 (diff) |
Add Nintendo Switch encrypted ROMs
Game card format adapted from:
https://switchbrew.org/wiki/XCI
Diffstat (limited to 'data')
-rw-r--r-- | data/freedesktop.org.xml.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 617f7f3..326c623 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -2220,6 +2220,21 @@ command to generate the output files. <match offset="0" type="string" value="3DSX"/> </magic> </mime-type> + <mime-type type="application/x-nintendo-switch-xci"> + <comment>Nintendo Switch encrypted ROM</comment> + <alias type="application/x-nx-xci"/> + <magic> + <match offset="256" type="string" value="HEAD"> + <match offset="269" type="byte" value="0xFA"/> + <match offset="269" type="byte" value="0xF8"/> + <match offset="269" type="byte" value="0xF0"/> + <match offset="269" type="byte" value="0xE0"/> + <match offset="269" type="byte" value="0xE1"/> + <match offset="269" type="byte" value="0xE2"/> + </match> + </magic> + <glob pattern="*.xci"/> + </mime-type> <mime-type type="application/x-pc-engine-rom"> <comment>PC Engine ROM</comment> <generic-icon name="application-x-executable"/> |