Python script to batch extract png image sprite sheets from *tex.sc
files present inside the clash of clans game apk. You can also find all the pre-extracted images of coc apk v14.2 here
This script uses a library called pylzham which require the Visual C++ build tools
to install it through pip. To avoid complications, I recommend using Replit instead which is a free to use online IDE. Make an account on Replit and then click here. Select the language as Python, enter python3 main.py
in configure the run button
field, and click done!
- Download the Clash of Clans apk file
- Use WinRAR or any similar tool to extract the apk.
- Open
\assets\sc
- Upload the desired
...tex.sc
files into thesc
folder on Replit. - Click
Run
You will find the extracted images inside the
png
folder.