[xdg] rom-properties.xml: Split Godot STEX into .stex (v3) and .ctex (v4) types.

These should be considered two separate types instead of a single type.
This commit is contained in:
David Korth 2023-08-20 13:45:39 -04:00
parent 8aa26e93f4
commit ed6606c48c
2 changed files with 11 additions and 5 deletions

View File

@ -112,8 +112,8 @@ image/astc # ASTC
image/x-didj-texture # DidjTex
image/vnd.ms-dds # DirectDrawSurface
image/x-dds # DirectDrawSurface
image/x-godot-stex # Godot STEX
image/x-godot-ctex # Godot STEX (new extension for Godot 4)
image/x-godot-stex # Godot STEX (v3)
image/x-godot-ctex # Godot CTEX (v4)
image/ktx # KhronosKTX
image/ktx2 # KhronosKTX2
image/x-pvr # PowerVR3

View File

@ -975,14 +975,20 @@
<!-- GodotSTEX -->
<mime-type type="image/x-godot-stex">
<comment>Godot STEX texture image</comment>
<comment>Godot STEX (v3) texture image</comment>
<sub-class-of type="image/x-generic"/>
<glob pattern="*.stex"/>
<glob pattern="*.ctex"/>
<generic-icon name="image-x-generic"/>
<alias type="application/x-godot-ctex"/>
<magic priority="80">
<match value="GDST" type="string" offset="0"/>
</magic>
</mime-type>
<mime-type type="image/x-godot-ctex">
<comment>Godot CTEX (v4) texture image</comment>
<sub-class-of type="image/x-generic"/>
<glob pattern="*.ctex"/>
<generic-icon name="image-x-generic"/>
<magic priority="80">
<match value="GST2" type="string" offset="0"/>
</magic>
</mime-type>