Compare commits

...

32 Commits

Author SHA1 Message Date
crskycode
836afd036d Merge branch 'master' of https://github.com/crskycode/GARbro 2021-08-09 15:19:28 +08:00
crskycode
c5ed1cda41 Add support "Parquet" 2021-08-09 15:19:13 +08:00
crsky
2746d3697b Merge pull request #1 from chitao1234/master
Make console version buildable
2021-08-07 19:28:46 +08:00
chitaotao
6e2adb4134 Make console version buildable 2021-07-25 19:00:43 +08:00
crskycode
01d52314d5 Add support "Riddle Joker [Steam]" 2021-07-20 23:57:21 +08:00
crskycode
c656fb676a Add support "Tasogare no Sinsemilla" 2021-07-14 23:56:24 +08:00
crskycode
a2e6bd97db Add support "Rui wa Tomo o Yobu Fan Disc -Asu no Mukou ni Mieru Kaze-" 2021-07-14 23:54:08 +08:00
crskycode
0e1296c3e5 Add support "Kakenuke★Seishun Sparking!" 2021-07-10 17:22:19 +08:00
crskycode
9f6e917751 Add support "Ichizu na Kanojo to Koi Shitai" 2021-07-07 06:48:51 +08:00
crskycode
9293739704 Add support "Maitetsu - Last Run!!" 2021-07-07 00:54:28 +08:00
crskycode
635f1b4d1c Add support "Role Player: Okayu Shimai no Nenmaku Portrait - Gurigucha Live!" 2021-06-26 01:51:02 +08:00
crskycode
d37a33c7f5 Add support "海と雪のシアンブルー" 2021-05-01 22:57:46 +08:00
crskycode
8d8f9021bc Add support "Imouto no Katachi" 2021-04-13 11:03:29 +08:00
crskycode
6f3bc6d069 Add support "Pretty x Cation 2" 2021-04-13 11:00:09 +08:00
crskycode
0ec607a49f Add support "Toki o Tsumugu Yakusoku" 2021-04-13 10:56:32 +08:00
crskycode
cfdcf8b8f2 Add support "Hana no No ni Saku Utakata no" 2021-04-13 10:49:42 +08:00
crskycode
c0202a568b Add support "Berry's" 2021-04-13 10:43:37 +08:00
crskycode
00812cd024 Add support "Lovesick Puppies -Bokura wa Koi Suru Tame ni Umaretekita-" 2021-04-13 09:11:46 +08:00
crskycode
538e865146 Add support "Dekinai Watashi ga, Kurikaesu." 2021-04-13 08:53:43 +08:00
crskycode
d5ae2bb780 Add support "Onigokko!" 2021-04-13 07:48:08 +08:00
crskycode
7045f0c502 Add support "Aete Mushi Suru Kimi to no Mirai ~Relay Broadcast~" 2021-04-13 07:08:58 +08:00
crskycode
207e223e47 Add support "Real Imouto ga Iru Ooizumi-kun no Baai" 2021-04-13 06:33:27 +08:00
crskycode
ac940f8906 Add support "Natsu Uso -Ahead of the Reminiscence-" 2021-04-13 04:47:07 +08:00
crskycode
c5b5e97938 Fix root dir name 2021-04-13 04:46:32 +08:00
crskycode
5c1b07f27a Add support "Omokage ~Ecchi na Happening!? Nandemo Dontokoi!~" 2021-04-13 02:20:02 +08:00
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
4 changed files with 19 additions and 1 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

@@ -287,6 +287,8 @@ namespace GameRes.Formats.Malie
int offset = LittleEndian.ToInt32 (m_index, current_offset+0x18);
uint size = LittleEndian.ToUInt32 (m_index, current_offset+0x1c);
current_offset += 0x20;
if (name.StartsWith("/"))
name = name.Substring(1);
name = Path.Combine (root, name);
if (0 == (flags & 0x30000))
{

View File

Binary file not shown.

View File

@@ -67,6 +67,12 @@ namespace GARbro
*/
}
ImageFormat FindFormat(string format)
{
var range = FormatCatalog.Instance.LookupExtension<ImageFormat>(format);
return range.FirstOrDefault();
}
void Run (string[] args)
{
int argn = 0;
@@ -131,7 +137,7 @@ namespace GARbro
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);
continue;
}
var arc = (ArchiveFileSystem)VFS.Top;
var arc = ((ArchiveFileSystem)VFS.Top).Source;
if (args.Length > argn+1)
{
for (int i = argn+1; i < args.Length; ++i)