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
Below is information about the data.json file
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
Config.json file:
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 }
Default Compresion:
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 Skip Folder Select
If true, when decoding, skip folder select and do same as if you just close it
Skip Save Select
Same but for encoding and for out path selection
My nickname evrywhere is lilmuff1, i mostly check discord and telegram so write there.