Garena Contra Return Texture2D Files

Textures, recreate headers, conversions, algorithms and parsing of image files
ByStander23
Posts: 13
Joined: Tue Jun 16, 2015 2:09 am

Garena Contra Return Texture2D Files

Post by ByStander23 »

Hello, i need some help with these unity Texture2D files.
i tried every program available(especially AssetStudio). but most of them(the files) doesn't work, maybe I'm doing something wrong or maybe these files are custom.

Here's all the Texture2D files:
http://www.mediafire.com/file/gjo249f3x ... D.rar/file
(Updated link with the textures form latest Ver.)

This link has just a few files:
https://www.mediafire.com/file/e5qpzwpw ... s.rar/file


Thank you for your time.
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Garena Contra Return Texture2D Files

Post by Allen »

This format looks a bit complicated. I think it is using some custom data compression algorithm. The data is smaller than the size of normal pictures. Perhaps the decompression algorithm can only be obtained by debugging the main program. Or you need to ask for help in the game archive section.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Garena Contra Return Texture2D Files

Post by Acewell »

the header suggests crunch but Noesis decoder chokes on it,
i noticed the data is shorter than the value stored in the crunch header.
AssetStudio says "unsupported image for preview" too.
maybe there is a another layer of compression on the data. :?
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Garena Contra Return Texture2D Files

Post by Allen »

@Acewell

I revisited this topic these days. You're right :) . According to the information you provided, I compiled the program but could not decompress it successfully. I found that these files are in cCRNFmtETC1 format. The program is not supported. Later, I found the crunch unity version, which can decompress the data after compilation.
Image
ByStander23
Posts: 13
Joined: Tue Jun 16, 2015 2:09 am

Re: Garena Contra Return Texture2D Files

Post by ByStander23 »

Thank you very much Allen, the tool works perfectly for what i need.
Again, thank you very much, your efforts are really appreciated.