This is a tool that, when downloaded, can play animations of various clash royale characters or emotes.
pip install pillow pygame numpy zstandard
git clone https://github.com/Jason-XII/sc-decoder.git
cd sc-decoderBefore a character's animation is shown on the screen, it has to be preprocessed from the sc files to a series of files in the sprite folder.
Preprocessing can be done through
python sc_pipeline.py chr_giantThen call
python sc_viewer.py chr_giantand the pygame screen will show up.
This repo's code is written by an agent but this README is written by human. If you want me to add features or give a more detailed usage of these files, submit an issue or pull request.
