123456abcdef
123456abcdef
Should be fixed at least for COC, CR and HD. Please verify. Use Python < 3.10 in case of LZHAM
> yes, please fix coc and cr Like I said, it should be working fine for CoC and CR. Did you encounter any problems?
SC added new file types 45 and 47. Those files have the file format [KTX](https://registry.khronos.org/KTX/specs/1.0/ktxspec.v1.html). For handling I had to add an additional dependency called [texture2ddecoder](https://pypi.org/project/texture2ddecoder/). Tested with BS, COC...
@Stallion77RepoOfficial Please open a new issue [here](https://github.com/Galaxy1036/pylzham). Please provide info about your environment and the exact error you get. I don't think a Windows dependency is the problem.
Checkout @clugh. He worked out the encryption for the latest Supercell games. He made a proxy which does what you want I guess ([python version](https://github.com/clugh/coc-proxy), [c# version](https://github.com/clugh/coc-proxy-csharp)). The proxy is...
Yeah test that command it should print `ba105f0d3a099414d154046f41d80cf122b49902eab03b78a912f3c66dba2c39` otherwise I messed up the arm offset.
Mhhh I tested it with my own proxy and can try it with @clugh's python proxy, if we are missing something. 5min.
You have to replace `ba105f0d3a099414d154046f41d80cf122b49902eab03b78a912f3c66dba2c39` with `72f1a4a4c48e44da0c42310f800e96624e6dc6a641a9d41c3b5039d8dfadc27e` and then push it to your device. The command above was just to validate my offset.
Cool! I spend it little bit time on those message structures. It seems like they are not that straight forward as the ones from CoC. Maybe you can make better...
I'm running the patched version on Genymotion emulator and it works fine. Changing values in the packet will most likely result in an out of sync error.