I'm having some trouble finding out what format these images are being stored as, the file seems to contain a large amount of padding. I believe them to be DDS file in some capacity but I'm not certain. Does anyone know what type of files these may be or how they are being formatted. They were pulled from Unity asset bundles.
e.g.
EDIT:
I'm now fairly certain they are DDS since you can see a similar type of padding in this DDS file.
Lunapri TEX image format
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: Lunapri TEX image format
Arimil wrote:They were pulled from Unity asset bundles.
can you upload the asset bundle this tex sample came from?
if you open it with UnityEx it will tell you the format.
there is a good chance it is having some mobile compression
-
- Posts: 5
- Joined: Tue Apr 10, 2018 7:55 pm
Re: Lunapri TEX image format
Thanks Acewell, it seems they are compressed using ETCT_RGBA8. I should be able to
I was then able to open them in PVRTexTool using the wrap raw data option. So all that's left is to write a script for the PVRTexTool cli to convert all the images.
Thanks for the help.
I was then able to open them in PVRTexTool using the wrap raw data option. So all that's left is to write a script for the PVRTexTool cli to convert all the images.
Thanks for the help.
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: Lunapri TEX image format
you can also just convert the image to something usable directly from the
asset bundle with UnityEx, "Unity Studio" or "Unity Assets Bundle Extractor".
asset bundle with UnityEx, "Unity Studio" or "Unity Assets Bundle Extractor".
-
- Posts: 5
- Joined: Tue Apr 10, 2018 7:55 pm
Re: Lunapri TEX image format
I've gotten the images I wanted, unfortunately I wasn't able to get batch processing working on any of those. Unity Assets Bundle Extractor would only extract cab files with its batchexport option. Unity Studio was not able to do image conversion from my tests and only output tex files and UnityEx when told to convert would output PVR files which requires the same tool anyway.
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: Lunapri TEX image format
Arimil wrote:Unity Studio was not able to do image conversion from my tests and only output tex files
you using Perfare's fork of Unity Studio or no?
https://github.com/Perfare/AssetStudio/releases
he recently had to rename it to "AssetStudio" because of a complaint from Unity.
a more up to date version here (0.9.0.26)
Code: Select all
https://pan.baidu.com/s/1KmeRhuvI2pL86pOO3l8DUQ#list/path=%2FUnityStudio
and a page here on his blog talking about a version that opens unity animation files
https://www.perfare.net/1084.html
-
- Posts: 5
- Joined: Tue Apr 10, 2018 7:55 pm
Re: Lunapri TEX image format
Yes I have version 0.5.1b3, this outputs the files as pvr files when selecting the convert option.
-
- Posts: 706
- Joined: Fri Aug 08, 2014 1:06 am
Re: Lunapri TEX image format
yeah thats an ancient version (3 years ago), time to upgrade, check the links i posted