mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +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);
|
||||
}
|
||||
}
|
||||
|
||||
[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/>
|
||||
Karakara<br/>
|
||||
Kourin no Machi, Lavender no Shoujo<br/>
|
||||
Kozukuri Onsen ~Ippai Tsukutte Ichizoku Hanei~<br/>
|
||||
Kurenai no Tsuki<br/>
|
||||
LOVELY x CATION<br/>
|
||||
Mayoeru Futari to Sekai no Subete<br/>
|
||||
Mahoutsukai no Yoru<br/>
|
||||
Mizukoi<br/>
|
||||
Mizu no Miyako no Patisserie<br/>
|
||||
Nakadashi Hara Maid series<br/>
|
||||
Natsupochi<br/>
|
||||
Natsuzora Kanata<br/>
|
||||
@ -369,11 +371,13 @@ Momoiro Guardian<br/>
|
||||
Pastel Chime 3 Bind Seeker<br/>
|
||||
Rance 03<br/>
|
||||
Shaman's Sanctuary -Miko no Seiiki-<br/>
|
||||
Toushin Toshi 3<br/>
|
||||
Tsuma Shibori<br/>
|
||||
Tsumamigui 3<br/>
|
||||
</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>*.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>*.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>
|
||||
@ -913,6 +917,7 @@ Otto no Mae de Okasarete...<br/>
|
||||
<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">
|
||||
Gakuen Saimin Reido<br/>
|
||||
Jokei Kazoku 3<br/>
|
||||
Shinsou Noise<br/>
|
||||
</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/>
|
||||
Fuka no Jugoku<br/>
|
||||
Gakkou Yarashii Kaidan<br/>
|
||||
Gibo no Toiki ~Haitoku Kokoro ni tadayou Haha no Iroka~<br/>
|
||||
Gokkun♪ Vampire ☆ Princess<br/>
|
||||
Hanamaru! 2<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><td>*.paz</td><td>-</td><td>No</td><td>Musica</td><td>
|
||||
Haru no Ashioto<br/>
|
||||
Sakura no Sakukoro<br/>
|
||||
Tsumi no Hikari Rendezvous<br/>
|
||||
</td></tr>
|
||||
<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