mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 12:59:28 +08:00
another KiriKiri encryption.
This commit is contained in:
parent
7b7f50f3b9
commit
6e9064bc50
@ -849,4 +849,26 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
Decrypt (entry, offset, values, pos, count);
|
Decrypt (entry, offset, values, pos, count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public class HighRunningCrypt : ICrypt
|
||||||
|
{
|
||||||
|
public override void Decrypt (Xp3Entry entry, long offset, byte[] data, int pos, int count)
|
||||||
|
{
|
||||||
|
byte key = (byte)entry.Hash;
|
||||||
|
if (0 == key)
|
||||||
|
return;
|
||||||
|
for (int i = 0; i < count; ++i)
|
||||||
|
{
|
||||||
|
if ((offset + i) % key != 0)
|
||||||
|
data[pos+i] ^= key;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override byte Decrypt (Xp3Entry entry, long offset, byte value)
|
||||||
|
{
|
||||||
|
byte key = (byte)entry.Hash;
|
||||||
|
return key != 0 && offset % key != 0 ? (byte)(value ^ key) : value;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -271,11 +271,13 @@ Imouto Style<br/>
|
|||||||
Inaho no Mirai<br/>
|
Inaho no Mirai<br/>
|
||||||
Karakara<br/>
|
Karakara<br/>
|
||||||
Kourin no Machi, Lavender no Shoujo<br/>
|
Kourin no Machi, Lavender no Shoujo<br/>
|
||||||
|
Kozukuri Onsen ~Ippai Tsukutte Ichizoku Hanei~<br/>
|
||||||
Kurenai no Tsuki<br/>
|
Kurenai no Tsuki<br/>
|
||||||
LOVELY x CATION<br/>
|
LOVELY x CATION<br/>
|
||||||
Mayoeru Futari to Sekai no Subete<br/>
|
Mayoeru Futari to Sekai no Subete<br/>
|
||||||
Mahoutsukai no Yoru<br/>
|
Mahoutsukai no Yoru<br/>
|
||||||
Mizukoi<br/>
|
Mizukoi<br/>
|
||||||
|
Mizu no Miyako no Patisserie<br/>
|
||||||
Nakadashi Hara Maid series<br/>
|
Nakadashi Hara Maid series<br/>
|
||||||
Natsupochi<br/>
|
Natsupochi<br/>
|
||||||
Natsuzora Kanata<br/>
|
Natsuzora Kanata<br/>
|
||||||
@ -369,11 +371,13 @@ Momoiro Guardian<br/>
|
|||||||
Pastel Chime 3 Bind Seeker<br/>
|
Pastel Chime 3 Bind Seeker<br/>
|
||||||
Rance 03<br/>
|
Rance 03<br/>
|
||||||
Shaman's Sanctuary -Miko no Seiiki-<br/>
|
Shaman's Sanctuary -Miko no Seiiki-<br/>
|
||||||
|
Toushin Toshi 3<br/>
|
||||||
Tsuma Shibori<br/>
|
Tsuma Shibori<br/>
|
||||||
Tsumamigui 3<br/>
|
Tsumamigui 3<br/>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
<tr class="odd"><td>*.afa</td><td><tt>AFAH</tt></td><td>No</td></tr>
|
<tr class="odd"><td>*.afa</td><td><tt>AFAH</tt></td><td>No</td></tr>
|
||||||
<tr class="odd"><td>*.alk</td><td><tt>ALK0</tt></td><td>No</td></tr>
|
<tr class="odd"><td>*.alk</td><td><tt>ALK0</tt></td><td>No</td></tr>
|
||||||
|
<tr class="odd"><td>*.red</td><td><tt>AAR</tt></td><td>No</td></tr>
|
||||||
<tr class="odd"><td>*.qnt</td><td><tt>QNT</tt></td><td>No</td></tr>
|
<tr class="odd"><td>*.qnt</td><td><tt>QNT</tt></td><td>No</td></tr>
|
||||||
<tr class="odd"><td>*.dcf</td><td><tt>dcf</tt></td><td>No</td></tr>
|
<tr class="odd"><td>*.dcf</td><td><tt>dcf</tt></td><td>No</td></tr>
|
||||||
<tr class="odd last"><td>*.ajp</td><td><tt>AJP</tt></td><td>No</td></tr>
|
<tr class="odd last"><td>*.ajp</td><td><tt>AJP</tt></td><td>No</td></tr>
|
||||||
@ -913,6 +917,7 @@ Otto no Mae de Okasarete...<br/>
|
|||||||
<tr class="last"><td>*.gec</td><td>-</td><td>No</td></tr>
|
<tr class="last"><td>*.gec</td><td>-</td><td>No</td></tr>
|
||||||
<tr class="odd"><td>*.arc</td><td>-</td><td>No</td><td rowspan="2">AI6WIN</td><td rowspan="2">
|
<tr class="odd"><td>*.arc</td><td>-</td><td>No</td><td rowspan="2">AI6WIN</td><td rowspan="2">
|
||||||
Gakuen Saimin Reido<br/>
|
Gakuen Saimin Reido<br/>
|
||||||
|
Jokei Kazoku 3<br/>
|
||||||
Shinsou Noise<br/>
|
Shinsou Noise<br/>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
<tr class="odd last"><td>*.akb</td><td><tt>AKB</tt></td><td>No</td></tr>
|
<tr class="odd last"><td>*.akb</td><td><tt>AKB</tt></td><td>No</td></tr>
|
||||||
@ -1132,6 +1137,7 @@ Eijin-sou<br/>
|
|||||||
Etsuraku no Tane<br/>
|
Etsuraku no Tane<br/>
|
||||||
Fuka no Jugoku<br/>
|
Fuka no Jugoku<br/>
|
||||||
Gakkou Yarashii Kaidan<br/>
|
Gakkou Yarashii Kaidan<br/>
|
||||||
|
Gibo no Toiki ~Haitoku Kokoro ni tadayou Haha no Iroka~<br/>
|
||||||
Gokkun♪ Vampire ☆ Princess<br/>
|
Gokkun♪ Vampire ☆ Princess<br/>
|
||||||
Hanamaru! 2<br/>
|
Hanamaru! 2<br/>
|
||||||
Hare Kano ~Futari no Osananajimi to Harem na Kankei~<br/>
|
Hare Kano ~Futari no Osananajimi to Harem na Kankei~<br/>
|
||||||
@ -1253,6 +1259,7 @@ Tiara<br/>
|
|||||||
<tr class="odd last"><td>*.gbc</td><td><tt>GBCF</tt></td><td>No</td></tr>
|
<tr class="odd last"><td>*.gbc</td><td><tt>GBCF</tt></td><td>No</td></tr>
|
||||||
<tr><td>*.paz</td><td>-</td><td>No</td><td>Musica</td><td>
|
<tr><td>*.paz</td><td>-</td><td>No</td><td>Musica</td><td>
|
||||||
Haru no Ashioto<br/>
|
Haru no Ashioto<br/>
|
||||||
|
Sakura no Sakukoro<br/>
|
||||||
Tsumi no Hikari Rendezvous<br/>
|
Tsumi no Hikari Rendezvous<br/>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
<tr class="odd"><td>arc.dat</td><td>-</td><td>No</td><td rowspan="2">AdvSys3</td><td rowspan="2">
|
<tr class="odd"><td>arc.dat</td><td>-</td><td>No</td><td rowspan="2">AdvSys3</td><td rowspan="2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user