/SC

Supercell SWF file format.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SC (Deprecated)

This repository is deprecated. See https://github.com/scwmake for newer version of this tool.

Supercell SWF (Flash) file format decompiler and compiler. Supercell's games using .sc files for almost all 2D graphics (UI, VFX, particles, characters facial animations, etc.).

Please follow the Supercell fan content policy - http://supercell.com/fan-content-policy!

Credits

Tool created by Fred-31 and DaniilSV. Inspired by XCoder and Supercell-Extractor.

About

THE RELEASE IS PREMATURE AND THE TOOL IS NOT FULLY COMPLETED (REPOSITORY IS OPEN DUE TO THE CURRENT CIRCUMSTANCES) !!!

This tool is designed to import and export 2D assets (*.sc, *_dl.sc, *_tex.sc files) from Supercell games using Adobe Animate 2019. At the moment, the tool is very slow when working with large files (so we do not advise you to import large files like ui.sc if you have a weak PC, 8Gb RAM and fast CPU is recommended ). Maybe we rewrite it with C++ or C# in future...

There are also a lot of bugs and errors in the tool, if you find them, please let us know in Issues or our Discord server!

Installation and Requirements

  • Python 3.10+ or newer version.
  • Execute pip install -r requirements.txt command in tool directory after installing Python.
  • Adobe Animate 2019 (2019 is recommended because it's more optimized than 2022!).
  • TexturePacker (for getting and saving sprite sheets/texture atlases).

How To Use

Leak... not implemented...

Please WATCH ALL THE VIDEOS BELOW before using this tool!

1. Converting .sc to Adobe Animate project file. 2. Organizing your Adobe Animate project. 3. Saving your Adobe Animate project for converting it to .sc file. 4. Creating sprite sheets/texture atlases in TexturePacker. 5. Converting Adobe Animate project to .sc file.

TODO

  • Add TexturePacker projects support.
  • Refactor some code in lib/sc.
  • Write code in lib/fla.
  • Add sc_export.py functional.
  • Rewrite it with C++ or C# in future...

Hi Garlfin and Vorono4ka!