/coc-sc-extract

🛠️ Python script to batch extract png image sprite sheets from *tex.sc files present inside the clash of clans game apk

Primary LanguagePython

COC Extract SC

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

Installation

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!

Usage

  1. Download the Clash of Clans apk file
  2. Use WinRAR or any similar tool to extract the apk.
  3. Open \assets\sc
  4. Upload the desired ...tex.sc files into the sc folder on Replit.
  5. Click Run

You will find the extracted images inside the png folder.