Clash Royale _tex.sc

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ghost
Posts: 54
Joined: Tue Aug 19, 2014 10:30 am

Clash Royale _tex.sc

Post by ghost »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Clash Royale _tex.sc

Post by aluigi »

ghost
Posts: 54
Joined: Tue Aug 19, 2014 10:30 am

Re: Clash Royale _tex.sc

Post by ghost »

aluigi wrote:http://aluigi.org/bms/clash_royale.bms


Hello aluigi, do you know what the _tex picture format?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Clash Royale _tex.sc

Post by aluigi »

No idea.
Knobse
Posts: 22
Joined: Sat Mar 05, 2016 9:25 am

Re: Clash Royale _tex.sc

Post by Knobse »

how can i save the data received from this script http://aluigi.org/bms/clash_royale.bms
to an image?
how did i know the imagesize (height/width) +pixelformat (rgba8888 , rgba565,...)
Last edited by Knobse on Sun Mar 06, 2016 3:37 pm, edited 1 time in total.
Knobse
Posts: 22
Joined: Sat Mar 05, 2016 9:25 am

Re: Clash Royale _tex.sc

Post by Knobse »

hopefully somebody can write a full decoder to image for the (_tex).sc format
Last edited by Knobse on Thu Apr 07, 2016 2:04 pm, edited 1 time in total.
Knobse
Posts: 22
Joined: Sat Mar 05, 2016 9:25 am

Re: Clash Royale _tex.sc

Post by Knobse »

thanks to update the script !
now hope somebody know how to extract the SCLZ part
Last edited by Knobse on Thu Apr 07, 2016 2:05 pm, edited 2 times in total.
irmankurniawan
Posts: 2
Joined: Tue Mar 15, 2016 7:49 am

Re: Clash Royale _tex.sc

Post by irmankurniawan »

aluigi wrote:http://aluigi.org/bms/clash_royale.bms


Hi Aluigi, how to convert to image file after it? sorry bad english :(
irmankurniawan
Posts: 2
Joined: Tue Mar 15, 2016 7:49 am

Re: Clash Royale _tex.sc

Post by irmankurniawan »

Knobse wrote:pixelformat is in rgba8888
this is a part of the image/texture in arena_training_tex.sc
Image
hopefully somebody can write a full decoder to image for the (_tex).sc format


How it works, Knobse? plz tell me about it. :)
Knobse
Posts: 22
Joined: Sat Mar 05, 2016 9:25 am

Re: Clash Royale _tex.sc

Post by Knobse »

I replied already in pm , I still hope for a bms script to convert the extracted data to simply bmp or png files
minhkhoant
Posts: 5
Joined: Wed May 04, 2016 11:34 pm

Re: Clash Royale _tex.sc

Post by minhkhoant »

How to extract all image in _tex.sc decrypted with rgba8888?
xunxunvn
Posts: 1
Joined: Fri Sep 16, 2016 8:25 am

Re: Clash Royale _tex.sc

Post by xunxunvn »

I did extract all .sc to _tex files.
So now how, can I convert them into .png textures?
Please help! :oops:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Clash Royale _tex.sc

Post by aluigi »

Script 0.2 :D
BlueEffie
Posts: 7
Joined: Mon Nov 07, 2016 1:25 pm

Re: Clash Royale _tex.sc

Post by BlueEffie »

I used Python to write a script, detailed content see my blog
http://blog.csdn.net/blueeffie/article/details/50969244
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Clash Royale _tex.sc

Post by Acewell »



slight modification to aluigi's decompression script to prepare your samples to open with Noesis python script that follows :D

Code: Select all

idstring "SC"
get SIZE asize
goto 0x1a
getdstring LZMA_PROP 5
comtype lzma_0 LZMA_PROP
get XSIZE long
savepos OFFSET
math SIZE - OFFSET
get NAME filename
string NAME + "_decmp"
clog NAME OFFSET SIZE XSIZE

tex_ClashRoyale_sc_decmp.zip
CookieKing24
Posts: 5
Joined: Sun Apr 30, 2017 1:20 pm

Re: Clash Royale _tex.sc

Post by CookieKing24 »

how to reencrypt the file?