mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +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
|
namespace GameRes.Formats.WestGate
|
||||||
{
|
{
|
||||||
#if DEBUG
|
|
||||||
[Export(typeof(ArchiveFormat))]
|
[Export(typeof(ArchiveFormat))]
|
||||||
#endif
|
|
||||||
public class UcaOpener : ArchiveFormat
|
public class UcaOpener : ArchiveFormat
|
||||||
{
|
{
|
||||||
public override string Tag { get { return "UCA"; } }
|
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 IsHierarchic { get { return false; } }
|
||||||
public override bool CanWrite { get { return false; } }
|
public override bool CanWrite { get { return false; } }
|
||||||
|
|
||||||
|
public UcaOpener ()
|
||||||
|
{
|
||||||
|
Extensions = new[] { "uca", "arc" };
|
||||||
|
}
|
||||||
|
|
||||||
public override ArcFile TryOpen (ArcView file)
|
public override ArcFile TryOpen (ArcView file)
|
||||||
{
|
{
|
||||||
if (file.View.ReadUInt32 (0) != 0)
|
if (file.View.ReadUInt32 (0) != 0)
|
||||||
|
@ -28,9 +28,7 @@ using System.ComponentModel.Composition;
|
|||||||
|
|
||||||
namespace GameRes.Formats.WestGate
|
namespace GameRes.Formats.WestGate
|
||||||
{
|
{
|
||||||
#if DEBUG
|
|
||||||
[Export(typeof(ArchiveFormat))]
|
[Export(typeof(ArchiveFormat))]
|
||||||
#endif
|
|
||||||
public class UsfOpener : ArchiveFormat
|
public class UsfOpener : ArchiveFormat
|
||||||
{
|
{
|
||||||
public override string Tag { get { return "USF"; } }
|
public override string Tag { get { return "USF"; } }
|
||||||
|
@ -29,9 +29,7 @@ using System.IO;
|
|||||||
|
|
||||||
namespace GameRes.Formats.WestGate
|
namespace GameRes.Formats.WestGate
|
||||||
{
|
{
|
||||||
#if DEBUG
|
|
||||||
[Export(typeof(ArchiveFormat))]
|
[Export(typeof(ArchiveFormat))]
|
||||||
#endif
|
|
||||||
public class UwfOpener : ArchiveFormat
|
public class UwfOpener : ArchiveFormat
|
||||||
{
|
{
|
||||||
public override string Tag { get { return "UWF"; } }
|
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 IsHierarchic { get { return false; } }
|
||||||
public override bool CanWrite { get { return false; } }
|
public override bool CanWrite { get { return false; } }
|
||||||
|
|
||||||
|
public UwfOpener ()
|
||||||
|
{
|
||||||
|
Extensions = new[] { "uwf", "arc" };
|
||||||
|
}
|
||||||
|
|
||||||
public override ArcFile TryOpen (ArcView file)
|
public override ArcFile TryOpen (ArcView file)
|
||||||
{
|
{
|
||||||
if (file.MaxOffset <= 0x1500)
|
if (file.MaxOffset <= 0x1500)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user