diff --git a/Legacy/WestGate/ArcUCA.cs b/Legacy/WestGate/ArcUCA.cs index c0a05006..b2993972 100644 --- a/Legacy/WestGate/ArcUCA.cs +++ b/Legacy/WestGate/ArcUCA.cs @@ -29,9 +29,7 @@ using System.IO; namespace GameRes.Formats.WestGate { -#if DEBUG [Export(typeof(ArchiveFormat))] -#endif public class UcaOpener : ArchiveFormat { public override string Tag { get { return "UCA"; } } @@ -40,6 +38,11 @@ namespace GameRes.Formats.WestGate public override bool IsHierarchic { get { return false; } } public override bool CanWrite { get { return false; } } + public UcaOpener () + { + Extensions = new[] { "uca", "arc" }; + } + public override ArcFile TryOpen (ArcView file) { if (file.View.ReadUInt32 (0) != 0) diff --git a/Legacy/WestGate/ArcUSF.cs b/Legacy/WestGate/ArcUSF.cs index 1f76ac57..73578987 100644 --- a/Legacy/WestGate/ArcUSF.cs +++ b/Legacy/WestGate/ArcUSF.cs @@ -28,9 +28,7 @@ using System.ComponentModel.Composition; namespace GameRes.Formats.WestGate { -#if DEBUG [Export(typeof(ArchiveFormat))] -#endif public class UsfOpener : ArchiveFormat { public override string Tag { get { return "USF"; } } diff --git a/Legacy/WestGate/ArcUWF.cs b/Legacy/WestGate/ArcUWF.cs index 41a5a2f9..facaa866 100644 --- a/Legacy/WestGate/ArcUWF.cs +++ b/Legacy/WestGate/ArcUWF.cs @@ -29,9 +29,7 @@ using System.IO; namespace GameRes.Formats.WestGate { -#if DEBUG [Export(typeof(ArchiveFormat))] -#endif public class UwfOpener : ArchiveFormat { public override string Tag { get { return "UWF"; } } @@ -40,6 +38,11 @@ namespace GameRes.Formats.WestGate public override bool IsHierarchic { get { return false; } } public override bool CanWrite { get { return false; } } + public UwfOpener () + { + Extensions = new[] { "uwf", "arc" }; + } + public override ArcFile TryOpen (ArcView file) { if (file.MaxOffset <= 0x1500)