Closed E12Dragon closed 1 year ago
Thanks for the response. I've downgraded to python 3.9.1, but it still cannot decompress the chr_ files. I tested with "chr_ram_rider.sc". I also re-downloaded and used sc-compression-0.6.1. Result:
File: ".../examples/decompressor/main.py", line 17, in <module> f.write(decompress(file_data)[0])
TypeError: a bytes-like object is required, not 'NoneType'
This works for me after the update.
Python 3.10. Earlier I uninstalled the pylzham
module.
Hello,
With Clash of Clans v15.83.x characters.sc and characterstex.sc has basically been made redundant as each character's sprites now have their own .sc file beginning with "chr_". These files do not have "_tex" pairs, which may be why the decompressor doesn't work with these. Oddly, the Valkyrie does have a "_tex" pair despite starting in "chr\", and both the .sc and _tex.sc files for the valkyrie do work the decompressor. A fix for this would be greatly appreciated for the rest!
I've added some samples here: https://drive.google.com/drive/folders/1DoI658qO1XSmaPj_sTaVdAR-uULeSdoq