The VG Resource

Full Version: Uncompress/Convert .ETC1 files (Marvel Strike Force)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/11yVuE4q...sp=sharing
https://drive.google.com/file/d/1HEzcYpR...sp=sharing
(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/11yVuE4q...sp=sharing
https://drive.google.com/file/d/1HEzcYpR...sp=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
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!
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
Have you made any progress with the game Marvel Strike Force? My efforts with the game has gone nowhere.
(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.
(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
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