set default extension to PAK.

This commit is contained in:
morkt 2015-08-29 19:40:14 +04:00
parent 036a5dd878
commit 5968f6cd24

View File

@ -41,6 +41,11 @@ namespace GameRes.Formats.G2
public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } }
public PakOpener ()
{
Extensions = new string[] { "pak" };
}
public override ArcFile TryOpen (ArcView file)
{
if (0 != file.View.ReadInt32 (4))