Compare commits

..

7 Commits

Author SHA1 Message Date
crskycode
da8d1f3d0a Add support "Ren'ai x Royale - Nonoka & Renna & Yuna Mini After Story" 2021-04-12 01:59:11 +08:00
crskycode
06f6215c04 Add support "Island Diary" 2021-04-12 01:48:58 +08:00
crskycode
6a1bab2a70 Add support "Re:birth Colony -Lost Azurite-" 2021-04-08 13:31:17 +08:00
crskycode
c70a5fdba9 Add support "Tamayura Mirai" 2021-04-08 13:18:12 +08:00
crskycode
6855967b04 Add kirikiri XPK uncompress support 2021-04-08 11:51:13 +08:00
crskycode
4fad98038f Add support "Suiren to Shion" 2021-04-08 10:39:13 +08:00
crskycode
142f0b53be Add support "Onaji Class no Idol-san. Around me is full by a celebrity." 2021-03-16 23:49:12 +08:00
2 changed files with 10 additions and 0 deletions

View File

@@ -25,7 +25,9 @@
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Text;
using GameRes.Compression;
using GameRes.Utility;
namespace GameRes.Formats.KiriKiri
@@ -85,5 +87,13 @@ namespace GameRes.Formats.KiriKiri
throw new InvalidFormatException();
return Binary.BigEndian (input.ReadUInt32());
}
public override Stream OpenEntry(ArcFile arc, Entry entry)
{
PackedEntry packed_entry = entry as PackedEntry;
if (null == packed_entry || packed_entry.Size == packed_entry.UnpackedSize)
return arc.File.CreateStream(entry.Offset, entry.Size);
return new ZLibStream(arc.File.CreateStream(entry.Offset, entry.Size), CompressionMode.Decompress);
}
}
}

View File

Binary file not shown.