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.

Unkown Texture file

Featured Replies

  • Author
  • Localization

rkthelegend, posted Thu Jun 06, 2019 8:54 am (48533)


Does anybody know What type of Texture file is this?

Can anybody convert this to a dds file?

I got it from an android game.


tnx in advance
  • Author
  • Localization

atom0s, posted Thu Jun 06, 2019 9:07 am (48534)


Looks like it's an exif/jpeg file but with a custom header attached to the top part of it.
  • Author
  • Localization

rkthelegend, posted Thu Jun 06, 2019 6:30 pm (48543)


What is this?
You didn't say anything and posted donation link.
  • Author
  • Localization

atom0s, posted Fri Jun 07, 2019 4:20 am (48561)


The file has a custom header on it telling the app how to read/pull the image texture from it. The header contains several sizes, 1 being the full file size, another being the offset to the texture data and the size of said texture data. In this case:

0x0017561C - the full file size
0x00001000 - offset to the image data (points to the 2nd sub-header)
0x0017461C - the image data size

The second chunk/header starts with a string size and string, which is the name of the texture.

0x00000015 - the string size
string: loadingscreen_muevete

Next is another size of the raw EXIF followed by the normal EXIF header bytes 'FF D8'. Afterward is the texture information and data of the image which is in XMP format from the look of it. Basically, it looks like an XMP custom JPEG from Photoshop.

The file contains multiple layers of information about the image due to how its generated.

The EXIF layer shows the image size of 3,556 x 2000.
The XMP layer shows it being a JPEG image made with Photoshop CS6.

Strip the entire first chunk from the file, rename it to .jpg and then you can open it in Photoshop without issue. (Delete the first 4,128 bytes from the file.)

And the donation link is part of my signature, I didn't post it specifically, it's always attached to my posts.
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.