Need help with decrypt Unity bundle

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Origa
Posts: 9
Joined: Tue Jul 28, 2020 11:59 pm

Need help with decrypt Unity bundle

Post by Origa »

Hello!
Some files of the game "Prison Princess" are encrypted. I think decryption key in Assembly-CSharp.dll or exe. But my knowledge is not enough to find it
I hope someone can help me !!
Thanks!!
https://drive.google.com/drive/folders/ ... sp=sharing
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Need help with decrypt Unity bundle

Post by Ekey »

Here my tool for decrypt / encrypt bundles.

Result
Image

PS: See below.
Last edited by Ekey on Thu Aug 20, 2020 12:24 pm, edited 1 time in total.
Origa
Posts: 9
Joined: Tue Jul 28, 2020 11:59 pm

Re: Need help with decrypt Unity bundle

Post by Origa »

Thank you @Ekey
Works great. Is it possible to add the ability to encrypt with the same key after inserting the translated text and textures?
P.S. sorry for my eng
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Need help with decrypt Unity bundle

Post by Ekey »

Yeah, sure. The arguments have changed a bit to Source file, Destination file

Examples:

[Decrypt]

Code: Select all

PP.Bundler "D:\bundle_assetbundle" "D:\bundle_assetbundle.dec"


After edit dec file you can encrypt it back.

[Ecnrypt]

Code: Select all

PP.Bundler "D:\bundle_assetbundle.dec" "D:\bundle_assetbundle_mynew_bundle"
Origa
Posts: 9
Joined: Tue Jul 28, 2020 11:59 pm

Re: Need help with decrypt Unity bundle

Post by Origa »

Thank you very much for the help @Ekey. Everything works perfectly.