(AI5WIN): entries with "x" extension are compressed.

This commit is contained in:
morkt 2018-07-06 15:07:35 +04:00
parent 270ecd72a9
commit 33f3d8128f

View File

@ -87,7 +87,7 @@ namespace GameRes.Formats.Elf
public override Stream OpenEntry (ArcFile arc, Entry entry) public override Stream OpenEntry (ArcFile arc, Entry entry)
{ {
var input = arc.File.CreateStream (entry.Offset, entry.Size); var input = arc.File.CreateStream (entry.Offset, entry.Size);
if (entry.Name.HasAnyOfExtensions ("mes", "lib", "a", "a6", "msk")) if (entry.Name.HasAnyOfExtensions ("mes", "lib", "a", "a6", "msk", "x"))
return new LzssStream (input); return new LzssStream (input);
return input; return input;
} }