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