Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Lunapri TEX image format

Featured Replies

  • Author
  • Localization

Arimil, posted Tue Apr 10, 2018 7:59 pm (33956)


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.
  • Author
  • Localization

Acewell, posted Wed Apr 11, 2018 5:13 am (33961)


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
  • Author
  • Localization

Arimil, posted Wed Apr 11, 2018 12:17 pm (33966)


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.
  • Author
  • Localization

Acewell, posted Wed Apr 11, 2018 1:22 pm (33968)


you can also just convert the image to something usable directly from the
asset bundle with UnityEx, "Unity Studio" or "Unity Assets Bundle Extractor". :)
  • Author
  • Localization

Arimil, posted Wed Apr 11, 2018 5:36 pm (33973)


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.
  • Author
  • Localization

Acewell, posted Thu Apr 12, 2018 5:21 am (33988)


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=/UnityStudio

and a page here on his blog talking about a version that opens unity animation files :D
https://www.perfare.net/1084.html
  • Author
  • Localization

Arimil, posted Thu Apr 12, 2018 8:25 pm (34002)


Yes I have version 0.5.1b3, this outputs the files as pvr files when selecting the convert option.
  • Author
  • Localization

Acewell, posted Thu Apr 12, 2018 11:03 pm (34006)


yeah thats an ancient version (3 years ago), time to upgrade, check the links i posted :)
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.