morkt / GARbro

Visual Novels resource browser
MIT License
2.36k stars 249 forks source link

Yome no Imouto to no In'ai encryption parameters? #552

Closed GeeTwentyFive closed 2 years ago

GeeTwentyFive commented 2 years ago

What are the parameters (hash, values[], pos, and count) used for encrypting and decrypting the .xp3 archive for Yome no Imouto to no In'ai in "ArcFormats/KiriKiri/CryptAlgorithms.cs, line 302 HashCrypt class Decrypt() function"? Thanks!!

Cosetto commented 2 years ago

What are the parameters (hash, values[], pos, and count) used for encrypting and decrypting the .xp3 archive for Yome no Imouto to no In'ai in "ArcFormats/KiriKiri/CryptAlgorithms.cs, line 302 HashCrypt class Decrypt() function"? Thanks!!

It's hashcrypt so it's hard to tell, all encryption scheme are stacked in Formats.dat so you will need a tool to read Formats.dat like this or something Idk

Cosetto commented 2 years ago

Example of hashcript link, delete line 12 and use krkr2packer along with xp3enc.dll to create hashcrypt archive

GeeTwentyFive commented 2 years ago

THANK YOU!!! :D

GeeTwentyFive commented 2 years ago

Uh- one more question: Is the HashCrypt encryption done before creating the .xp3 archive or after?

Cosetto commented 2 years ago

Uh- one more question: Is the HashCrypt encryption done before creating the .xp3 archive or after?

You need xp3enc.dll first to create Hashcrypt for xp3 archive

Cosetto commented 2 years ago

actually you don't need to create encrypted archive, use this one, download xp3pack and version.dll(61kb). Create a patch folder and put all files in there and drag to xp3pack. Finally, move patch.xp3 and version.dll to game folder and version.dll will force the game to read patch.xp3 without encryption

GeeTwentyFive commented 2 years ago

Thanks again!! :D