(name);
+ entry.Offset = index.ReadUInt32() + base_offset;
+ uint size = index.ReadUInt32();
+ index.ReadUInt32();
+ uint flags = index.ReadUInt32();
+ uint packed_size = index.ReadUInt32();
+ entry.IsPacked = flags != 0 && packed_size != 0;
+ if (entry.IsPacked)
+ {
+ entry.Size = packed_size;
+ entry.UnpackedSize = size;
+ }
+ else
+ {
+ entry.Size = size;
+ entry.UnpackedSize = size;
+ }
+ if (!entry.CheckPlacement (file.MaxOffset))
+ return null;
+ dir.Add (entry);
+ }
+ return new ArcFile (file, this, dir);
+ }
+ }
+
+ public override Stream OpenEntry (ArcFile arc, Entry entry)
+ {
+ var input = arc.File.CreateStream (entry.Offset, entry.Size);
+ var pentry = entry as PackedEntry;
+ if (null == pentry || !pentry.IsPacked)
+ return input;
+ try
+ {
+ return new ZLibStream (input, CompressionMode.Decompress);
+ }
+ catch
+ {
+ input.Dispose();
+ throw;
+ }
+ }
+ }
+}
diff --git a/supported.html b/supported.html
index 017bb0bf..0f9da2ce 100644
--- a/supported.html
+++ b/supported.html
@@ -144,10 +144,12 @@ Sweet Pool
Zoku Satsuriku no Django
*.npa | - | Yes | Nitro+ | Steins;Gate |
-*.pak | \002\000\000\000 \003\000\000\000 | No | Nitro+ CoreMoreco |
+ |
*.pak | \002\000\000\000 \003\000\000\000 | No | Nitro+ CoreMoreco MAGI
|
Hanachirasu
Jingai Makyou
Chibi Mama
+Ore to Imouto no Kounai Play
+Ren'ai Jugyou ~Oshiego no Yuuwaku~
|
*.nsa *.sar | - | Yes | NScripter |
Binary Pot
@@ -345,6 +347,7 @@ Zansho Omimai Moushiagemasu
|
*.ogv | OGV | No |
*.pad | PAD | No |
* | ARC2 ARC1 | No | AST |
+Bokura wa Piacere
Jokyoushi wo Kurau
Lovers Collection
Nachtmusik
@@ -830,6 +833,10 @@ Nora to Oujo to Noraneko Heart
Tsujidou-san no Jun'ai Road
Tsujidou-san no Virgin Road
|
+*.pak | - | No | MAGI |
+Ore to Imouto no Kounai Play
+Ren'ai Jugyou ~Oshiego no Yuuwaku~
+ |
Non-encrypted only