diff --git a/ArcFormats/BellDa/ArcDAT.cs b/ArcFormats/BellDa/ArcDAT.cs index 70bc0b5f..4034bb9d 100644 --- a/ArcFormats/BellDa/ArcDAT.cs +++ b/ArcFormats/BellDa/ArcDAT.cs @@ -68,6 +68,7 @@ namespace GameRes.Formats.BellDa public override IImageDecoder OpenImage (ArcFile arc, Entry entry) { + // XXX compression method identical to Maika.Mk2Opener var id_str = arc.File.View.ReadString (entry.Offset, 2); if (id_str != "B1" && id_str != "D1" && id_str != "E1") return base.OpenImage (arc, entry); diff --git a/ArcFormats/Maika/ArcMK2.cs b/ArcFormats/Maika/ArcMK2.cs index ce19b44f..e18e3ce2 100644 --- a/ArcFormats/Maika/ArcMK2.cs +++ b/ArcFormats/Maika/ArcMK2.cs @@ -41,6 +41,11 @@ namespace GameRes.Formats.Maika public override bool IsHierarchic { get { return false; } } public override bool CanWrite { get { return false; } } + public Mk2Opener () + { + Signatures = new uint[] { 0x2E324B4D, 0x2E324C42 }; // 'BL2.0' + } + public override ArcFile TryOpen (ArcView file) { if (!file.View.AsciiEqual (4, "0\0"))