mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(ArcAI5Opener.OpenEntry): decompress entries.
This commit is contained in:
parent
689b1d48d1
commit
25c584d2ca
@ -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;
|
||||
|
@ -402,6 +402,7 @@ Zettai Meikyuu Grimm<br/>
|
||||
</td></tr>
|
||||
<tr class="odd"><td>*.mgf</td><td><tt>MalieGF</tt></td><td>Yes</td></tr>
|
||||
<tr><td>*.arc</td><td>-</td><td>No</td><td rowspan="2">AI5WIN</td><td rowspan="2">
|
||||
Ai no Katachi ~Ecchi na Onna no Ko wa Kirai... Desu ka?~<br/>
|
||||
Ai Shimai ~Docchi ni Suru no!!~<br/>
|
||||
Ai Shimai Tsubomi...<br/>
|
||||
Dorei Kaigo<br/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user