The VG Resource
Uncompress/Convert .ETC1 files (Marvel Strike Force) - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: General Ripping (https://www.vg-resource.com/forum-145.html)
+--- Thread: Uncompress/Convert .ETC1 files (Marvel Strike Force) (/thread-40651.html)



Uncompress/Convert .ETC1 files (Marvel Strike Force) - JayG64 - 05-19-2022

Hey folks, 
I'm trying to uncompress/convert .etc1 files without any luck. 
The game I play (Marvel Strike Force) recently started to put .etc1 files in their assets cache folder, before they were only .png files. So I suppose those are compressed png? 
I tried to uncompress or converting them back to .png with different tools but that didn't get me anywhere...
So if anyone can point me in the right direction it would be greatly appreciated. 

The game is made with Unity for iOS/Android if that matters. Thank you!

Samples: 
https://drive.google.com/file/d/11yVuE4q2KpI-Lm1pRroi597a5E9kxa9G/view?usp=sharing
https://drive.google.com/file/d/1HEzcYpRYgPj0ZL23W9NWrNCSESQIgEch/view?usp=sharing


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - CreativelyNamedUser - 05-20-2022

(05-19-2022, 01:16 PM)JayG64 Wrote: Hey folks, 
I'm trying to uncompress/convert .etc1 files without any luck. 
The game I play (Marvel Strike Force) recently started to put .etc1 files in their assets cache folder, before they were only .png files. So I suppose those are compressed png? 
I tried to uncompress or converting them back to .png with different tools but that didn't get me anywhere...
So if anyone can point me in the right direction it would be greatly appreciated. 

The game is made with Unity for iOS/Android if that matters. Thank you!

Samples: 
https://drive.google.com/file/d/11yVuE4q2KpI-Lm1pRroi597a5E9kxa9G/view?usp=sharing
https://drive.google.com/file/d/1HEzcYpRYgPj0ZL23W9NWrNCSESQIgEch/view?usp=sharing

Etc1 is a texture compression format... I looked at the files, and it seems like they contain raw data (no info about the format/size, just the compressed image). So I tried using Kuriimu2 to view the data (always worth a try) and it turns out that these files use Etc2RGB compression (not Etc1!). I had to fiddle with the sizing a bit to get the example shown below. Unless you can find some sort of info data, which might look like many smaller files that correspond with the textures, it would be too difficult to export all the files manually.

Hope this helps!

Edit: Putting this here so I don't lose it. https://github.com/jnsnow/libetc2


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - JayG64 - 05-21-2022

Oh it's actually Etc2.. Who would have thought!
Looks like it's too much works for what's it's worth.. Unless I find a tool can help me to that easily I won't bother.
Thank you for your help anyway!


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - CreativelyNamedUser - 05-21-2022

If you do find anything, let me know and I might be able to make a script. Remember there are tools like Asset Studio for Unity, if you haven't tried that.
https://docs.unity3d.com/Manual/Textures.html
Smile


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - 9sholmes - 06-14-2022

Have you made any progress with the game Marvel Strike Force? My efforts with the game has gone nowhere.


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - CreativelyNamedUser - 06-17-2022

(06-14-2022, 08:25 PM)9sholmes Wrote: Have you made any progress with the game Marvel Strike Force? My efforts with the game has gone nowhere.

You can load files into AssetStudio: https://github.com/Perfare/AssetStudio/releases

Looking at the Android version of the game, I can't seem to find any .etc1 files? Unless they're exclusive to the iOS version.


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - JayG64 - 06-18-2022

(06-14-2022, 08:25 PM)9sholmes Wrote: Have you made any progress with the game Marvel Strike Force? My efforts with the game has gone nowhere.

Nope.
(06-17-2022, 07:43 AM)CreativelyNamedUser Wrote:
(06-14-2022, 08:25 PM)9sholmes Wrote: Have you made any progress with the game Marvel Strike Force? My efforts with the game has gone nowhere.

You can load files into AssetStudio: https://github.com/Perfare/AssetStudio/releases

Looking at the Android version of the game, I can't seem to find any .etc1 files? Unless they're exclusive to the iOS version.

Those are in the game's cache not in the apk. /Android/data/com.foxnextgames.m3/files/asset_cache


RE: Uncompress/Convert .ETC1 files (Marvel Strike Force) - CreativelyNamedUser - 06-18-2022

My guess is that the cache files are duplicates of textures you can extract normally from the apk. Does the game require a constant internet connection? There might be Asset Bundles stored online that you can't find in the APK