Skip to content

Python script to extract pngs from Supercell’s *.sc, *_dl.sc, *_tex.sc, *.csv, *.ktx, and *.sctx files.

Notifications You must be signed in to change notification settings

123456abcdef/cr-sc-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cr-sc-dump

Python script to extract pngs from Supercell’s *.sc, *_dl.sc, *_tex.sc, *.csv, *.ktx, and *.sctx files.

Installation

pip install -r requirements.txt

Optional: If you want to use dumpsc.py inside a container

docker build --pull -t dumpsc .

Usage

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.sc

To extract pngs from files ending with .sc or _dl.sc try

python dumpsc.py path/to/filename_dl.sc --old

To decompress files ending with .csv try

python dumpsc.py path/to/filename.csv

Here an example on how to use the contianer

docker run --rm -it --volume "$PWD":/data --user="$(id -u):$(id -g)" dumpsc <*_tex.sc>

Additional Links

Credits

About

Python script to extract pngs from Supercell’s *.sc, *_dl.sc, *_tex.sc, *.csv, *.ktx, and *.sctx files.

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •