Tool to decode and encode sc files from supercell games (works only on Windows)
If you want more beautiful version with interface download it
If you use android download it and if you dont know how to use it check pc gui version it is same in usage
Put Xcoder.exe and cv2 dll in one folder and run exe
OR
Just DOWNLOAD Instaler and run it
- Select _tex.sc file
- Wait some time while textures are decoding
- Select folder where the pngs will be saved or close select dialog to create folder automatically
- Done! now you can edit pngs
- Select folder with pngs, folder must contain only those png files that will be in the final sc, and should preferably have a data.json file
- Wait some time while textures are encoding it is quet long, but you can put false in data.json file in "UseKronos" then it'll be a lot faster
- Select out file path or close select dialog to save file in pngs folder
- Done! you can put your sc in game files
Below is information about the data.json file
- Select folder with tex.sc files
- Select folder where pngs will be saved or close select dialog to Select same folder as folder with tex.sc files
- In folder with pngs folders with names of sc will be crated and pngs will be there
- Select folder with folders with pngs
- Select folder where tex.sc will be saved or close select dialog to Select same folder as with folders with tex.sc files
- In this folder sc with names of folder wil be sved
Just editor of config.json file
This file stores texture information, it is recommended not to change anything except "IsKronos", but note that "IsKronos: true" only works with 50+ version of Brawl Stars. Example of data.json file:
[
{
"Downscaling": true,
"Filter": 0,
"IsKhronos": true,
"Linear": true,
"PixelFormat": 0
},
{
"Downscaling": true,
"Filter": 0,
"IsKhronos": true,
"Linear": true,
"PixelFormat": 0
}
]
Just a bool that says whether to use the new texture type. If used, the output file weighs much less and has a positive effect on game optimization. But encode will take many times longer. In fact it's just ktx in sc
Example with ui_highres_tex and ZSTD compresion :
IsKhronos | encode time(seconds) | save time(seconds) | file size |
---|---|---|---|
true | 137.5 | 7.798 | 13.8 MB |
false | 1.112 | 19.605 | 22,8 MB |
I recomend you not to use it while testing your mod and use it in release version
The file is created when the script is run for the first time and stores the settings. Default config.json file:
{
"Default Compresion": 3,
"Skip Folder Select": false,
"Skip Save Select": false
}
Allows you to change the compression used during encode.
Index | Compression | Description |
---|---|---|
1 | LZMA | Compresses large files, like ui well enough |
2 | LZHAM | IDK Just dont use it |
3 | ZSTD | Used by default, best for most of sc, used by supercell |
If true, when decoding, skip folder select and do same as if you just close it
Same but for encoding and for out path selection
My nickname evrywhere is lilmuff1, i mostly check discord and telegram so write there.