diff --git a/ArcFormats/elf/ArcAi5Win.cs b/ArcFormats/elf/ArcAi5Win.cs index 5d6a864c..fa6b7cb7 100644 --- a/ArcFormats/elf/ArcAi5Win.cs +++ b/ArcFormats/elf/ArcAi5Win.cs @@ -28,6 +28,7 @@ using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using System.Linq; +using GameRes.Compression; using GameRes.Utility; namespace GameRes.Formats.Elf @@ -90,6 +91,15 @@ namespace GameRes.Formats.Elf return null; } + public override Stream OpenEntry (ArcFile arc, Entry entry) + { + var input = arc.File.CreateStream (entry.Offset, entry.Size); + if (entry.Name.EndsWith (".mes", StringComparison.InvariantCultureIgnoreCase) + || entry.Name.EndsWith (".lib", StringComparison.InvariantCultureIgnoreCase)) + return new LzssStream (input); + return input; + } + internal class IndexReader { ArcView m_file; diff --git a/supported.html b/supported.html index e6fd073f..143d5704 100644 --- a/supported.html +++ b/supported.html @@ -402,6 +402,7 @@ Zettai Meikyuu Grimm
*.mgfMalieGFYes *.arc-NoAI5WIN +Ai no Katachi ~Ecchi na Onna no Ko wa Kirai... Desu ka?~
Ai Shimai ~Docchi ni Suru no!!~
Ai Shimai Tsubomi...
Dorei Kaigo