ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Jun 25, 2019 2:16 pm

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Unkown Texture file
PostPosted: Thu Jun 06, 2019 8:54 am 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 37
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


Attachments:
loadingscr.rar [1.3 MiB]
Downloaded 8 times
Top
   
 Post subject: Re: Unkown Texture file
PostPosted: Thu Jun 06, 2019 9:07 am 
User avatar

Joined: Sat Dec 27, 2014 8:49 pm
Posts: 124
Looks like it's an exif/jpeg file but with a custom header attached to the top part of it.

_________________
My personal site: http://atom0s.com
Donations can be made via Paypal: Click Here


Top
   
 Post subject: Re: Unkown Texture file
PostPosted: Thu Jun 06, 2019 6:30 pm 

Joined: Wed Jun 20, 2018 7:57 pm
Posts: 37
What is this?
You didn't say anything and posted donation link.


Top
   
 Post subject: Re: Unkown Texture file
PostPosted: Fri Jun 07, 2019 4:20 am 
User avatar

Joined: Sat Dec 27, 2014 8:49 pm
Posts: 124
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.

_________________
My personal site: http://atom0s.com
Donations can be made via Paypal: Click Here


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 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