Henry1887
Member
- Aug 2, 2020
- 494
- 566
Would you mind to share what method you did to decrypt them? I want to learn in case other games encrypt their files.

The game uses this class for AES encryption and decryption inside the SiNiSistar2.dll(generated). I simply wrote a BepInEx Plugin that goes over every File inside the StreamingAssets and decrypted them using the already implemented "Util.OutDeCreateByte" Method and wrote them somewhere else.
Like this:
Code:
string assetBundlePath = System.IO.Path.Combine(Application.dataPath, "StreamingAssets", "game_bin");
string[] assetBundleFiles = System.IO.Directory.GetFiles(assetBundlePath);
foreach (string assetBundleFile in assetBundleFiles)
{
byte[] fileBytes = System.IO.File.ReadAllBytes(assetBundleFile);
byte[] processedBytes = Util.OutDeCreateByte(fileBytes, fileBytes.Length);
string outputFile = System.IO.Path.Combine(Application.dataPath, "dump", System.IO.Path.GetFileName(assetBundleFile));
System.IO.File.WriteAllBytes(outputFile, processedBytes);
}