mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(WestGate): enabled in release.
This commit is contained in:
parent
a3addf7420
commit
30ad9dbd6a
@ -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)
|
||||
|
@ -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"; } }
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user