mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
set Extensions property.
This commit is contained in:
parent
fe125a8006
commit
d71dc26329
@ -52,6 +52,11 @@ namespace GameRes.Formats.FVP
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanCreate { get { return false; } }
|
||||
|
||||
public HzcOpener ()
|
||||
{
|
||||
Extensions = new string[] { "hzc" };
|
||||
}
|
||||
|
||||
static readonly Lazy<ImageFormat> Hzc = new Lazy<ImageFormat> (() => ImageFormat.FindByTag ("HZC"));
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
|
@ -31,7 +31,7 @@ using System.IO;
|
||||
namespace GameRes.Formats.Kaguya
|
||||
{
|
||||
[Export(typeof(ArchiveFormat))]
|
||||
public class PakOpener : ArchiveFormat
|
||||
public class LinkOpener : ArchiveFormat
|
||||
{
|
||||
public override string Tag { get { return "LINK/KAGUYA"; } }
|
||||
public override string Description { get { return "KaGuYa script engine resource archive"; } }
|
||||
@ -39,6 +39,11 @@ namespace GameRes.Formats.Kaguya
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanCreate { get { return false; } }
|
||||
|
||||
public LinkOpener ()
|
||||
{
|
||||
Extensions = new string[] { "arc" };
|
||||
}
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
int version = file.View.ReadByte (4) - '0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user