Open kuromiii opened 7 years ago
File names and xor keys in "smil" blocks.
Base xor keys: MasterKey = 0x00DE447B; FirstZeroKey = 0x7B; NextZeroKey = 0x5E;
From my C# code:
xorKey = FileKey ^ MasterKey;
firstKey = (byte)xorKey;
byteKey = (byte)((xorKey >> 24) ^ (xorKey >> 16) ^ (xorKey >> 8) ^ xorKey);
if (firstKey == 0) firstKey = FirstZeroKey;
if (byteKey == 0) byteKey = NextZeroKey;
while (inStream.Position < inStream.Length)
{
bt = (byte)inStream.ReadByte();
if (first) { bt ^= firstKey; first = false; }
bt ^= byteKey;
outStream.WriteByte(bt);
}
I hope this helps.
Game info
VNDB link: https://vndb.org/v17515 Developer: S-MI-LE (or SMILE ? I don't know) Release date: 2015-09-25 Original title: Boku to Koi Suru Ponkotsu Akuma // 僕と恋するポンコツアクマ English title (if available): N/A
Details
I tried unpacking it without success, I tried looking around if there was any other argument needed and I didn't find anything. If I missed it then my bad... It uses xp3 files so I assume it's the KiriKiri engine.