Python script to extract pngs from Supercell’s *.sc, *_dl.sc, *_tex.sc, *.csv, *.ktx, and *.sctx files.
pip install -r requirements.txtOptional: If you want to use dumpsc.py inside a container
docker build --pull -t dumpsc .Download Clash Royale APK, unzip and navigate to path/to/assets/sc/.
Works the same for any other Supercell game.
Or pull /data/data/com.supercell.clashroyale/update/ from your rooted Android device.
To extract pngs from files ending with _tex.sc try
python dumpsc.py path/to/filename_tex.scTo extract pngs from files ending with .sc or _dl.sc try
python dumpsc.py path/to/filename_dl.sc --oldTo decompress files ending with .csv try
python dumpsc.py path/to/filename.csvHere an example on how to use the contianer
docker run --rm -it --volume "$PWD":/data --user="$(id -u):$(id -g)" dumpsc <*_tex.sc>