Skip to content

xcoder-tool/XCoder

Repository files navigation

XCoder - easy to use modding tool

Multiplatform modding tool for ANY Supercell`s game.

About

Work with Supercell`s files on any os! SC and CSV are supported for all Supercell`s games.

Features:

  • SC compile / decompile;
  • Compression and decompression.

How to install and use

  • On Windows:

    • Download Python 3.7 or newer version from official page;
    • Install Python. While Installing, enable such parameters as "Add Python to PATH", "Install pip", "Install py launcher", "Associate files with Python" and "Add Python to environment variables";
    • Download XCoder from the releases page and extract it;
    • Locate the extracted directory and install required modules: pip install -r requirements.txt;
    • Execute "main.py" file.
  • On Linux:

    • Open Terminal and install Python by executing following command: sudo apt-get update && sudo apt-get install python3 python3-pip;
    • Download XCoder from the releases page and extract it;
    • Locate the extracted directory and install required modules by executing following command: sudo pip3 install -r requirements.txt;
    • Execute "main.py" file.
  • On Android:

    • Download and install PyDroid app from Google Play;
    • Open PyDroid and wait until Python installs;
    • Download XCoder from the releases page and extract it;
    • Install loguru using pip;
    • In PyDroid open and execute "main.py" file.

How to enable KTX section

![KTX section demo](docs/KTX section.png)

Supercell also uses KTX textures in new versions of the games, so it is advisable to perform this step.

To enable the KTX module, you need to get the "PVRTexToolCLI" binary from the official site: https://developer.imaginationtech.com/pvrtextool/.

Then it is necessary to put CLI in "system/bin/" folder in the main script folder.

In the plans:

  • CSV updating.

Credits

This tool is based on Original XCoder, Developer: MasterDevX

Many thanks to spiky_Spike for the provided developments