ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Oct 16, 2018 4:23 am

All times are UTC




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Lunapri TEX image format
PostPosted: Tue Apr 10, 2018 7:59 pm 
User avatar

Joined: Tue Apr 10, 2018 7:55 pm
Posts: 5
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.
Image

EDIT:
Image

I'm now fairly certain they are DDS since you can see a similar type of padding in this DDS file.


Attachments:
File comment: sample file
banner_jp_mission_001 #60_512x128.47.tex.zip [32.11 KiB]
Downloaded 52 times
Top
   
PostPosted: Wed Apr 11, 2018 5:13 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
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

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Wed Apr 11, 2018 12:17 pm 
User avatar

Joined: Tue Apr 10, 2018 7:55 pm
Posts: 5
Thanks Acewell, it seems they are compressed using ETCT_RGBA8. I should be able to

Image

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.


Top
   
PostPosted: Wed Apr 11, 2018 1:22 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
you can also just convert the image to something usable directly from the
asset bundle with UnityEx, "Unity Studio" or "Unity Assets Bundle Extractor". :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Wed Apr 11, 2018 5:36 pm 
User avatar

Joined: Tue Apr 10, 2018 7:55 pm
Posts: 5
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.


Top
   
PostPosted: Thu Apr 12, 2018 5:21 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
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:
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 :D
https://www.perfare.net/1084.html

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Thu Apr 12, 2018 8:25 pm 
User avatar

Joined: Tue Apr 10, 2018 7:55 pm
Posts: 5
Yes I have version 0.5.1b3, this outputs the files as pvr files when selecting the convert option.


Top
   
PostPosted: Thu Apr 12, 2018 11:03 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 516
yeah thats an ancient version (3 years ago), time to upgrade, check the links i posted :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited