mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(WRC, ARC0): added extensions and signatures.
This commit is contained in:
parent
27262433fa
commit
baf8decf14
@ -40,6 +40,7 @@ namespace GameRes.Formats.Will
|
||||
public Arc0Opener ()
|
||||
{
|
||||
Extensions = new string[] { "arc" };
|
||||
Signatures = new uint[] { 0x30435241, 0x30414654 };
|
||||
}
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
|
@ -31,12 +31,17 @@ namespace GameRes.Formats.Will
|
||||
[Export(typeof(ArchiveFormat))]
|
||||
public class WrcOpener : ArchiveFormat
|
||||
{
|
||||
public override string Tag { get { return "WRC"; } }
|
||||
public override string Tag { get { return "WVX"; } }
|
||||
public override string Description { get { return "Tanaka Tatsuhiro's engine audio archive"; } }
|
||||
public override uint Signature { get { return 0x30585657; } } // 'WVX0'
|
||||
public override bool IsHierarchic { get { return false; } }
|
||||
public override bool CanWrite { get { return false; } }
|
||||
|
||||
public WrcOpener ()
|
||||
{
|
||||
Extensions = new string[] { "wvx", "wrc" };
|
||||
}
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
uint total_size = file.View.ReadUInt32 (4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user