Skip to content

Repository files navigation

Decode Clash Royale sprite files

This is a tool that, when downloaded, can play animations of various clash royale characters or emotes.

demo

Installation

pip install pillow pygame numpy zstandard
git clone https://github.com/Jason-XII/sc-decoder.git
cd sc-decoder

Usage

Before 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_giant

Then call

python sc_viewer.py chr_giant

and the pygame screen will show up.

Feature request

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.

About

A library that can decodes supercell sc files and render them in pygame.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages