ZenHAX

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

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Jun 07, 2018 9:26 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 11
After extraction of the .pak files in the APK as well as the OBB and its pak files from the XPK2 script, on update v1.36.8, I got a lot of .xgt files and they appear to be in game texture files. I was hoping someone could help me open and view the textures. The heading is XGST. Any advice on doing this or how its done? If so thanks :). Some end with _pvr, _atc, _dxt and _etc.

A sample is here: https://drive.google.com/open?id=1Fw0ZH ... AJ4d4CZtc7


Top
   
PostPosted: Fri Jun 08, 2018 2:13 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 511
Image
seems a simple header, this one was just rgba8888 but need more samples of each variety,
but i have a feeling PVRTexTool will be better for the mobile compressed types. :)


Attachments:
bs_roviologo.png [26.27 KiB]
Not downloaded yet

_________________
Quickbms.com link thread
Search bms scripts
Top
   
PostPosted: Fri Jun 08, 2018 5:55 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 11
Thanks for that!

Here are more samples https://drive.google.com/drive/folders/ ... sp=sharing. These include files in the OBB. Getting the SDK, it apparently works with the RAW data wrapping but I always have to type the right size... any way to find out the size without about 50 guesses? I figured out in the wrap raw data function in PVRTexTool, if the offset becomes 32, it is often correct and correctly renders the xgt as an image.


Top
   
PostPosted: Mon Jun 11, 2018 2:01 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 511
here are my findings about the 32 bytes before image data so you don't have to guess :)

Code:
4bytes - magic (XGST)
2bytes - data offset
2bytes - header size
1byte - num mips
1byte - flag1
1byte - flag2
1byte - flag3
4bytes - format
2bytes - width
2bytes - height
2bytes - width2
2bytes - height2
4bytes - zero
4bytes - data size

i should be able to make a Noesis python script to open the dxt samples but others must use PVRTexTool.

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Mon Jun 11, 2018 5:02 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 11
Acewell wrote:
here are my findings about the 32 bytes before image data so you don't have to guess :)

Code:
4bytes - magic (XGST)
2bytes - data offset
2bytes - header size
1byte - num mips
1byte - flag1
1byte - flag2
1byte - flag3
4bytes - format
2bytes - width
2bytes - height
2bytes - width2
2bytes - height2
4bytes - zero
4bytes - data size

i should be able to make a Noesis python script to open the dxt samples but others must use PVRTexTool.


Are the others meaning plain .xgt? Meanwhile, the colors are for some are messed up after typing the right size.


Top
   
PostPosted: Mon Jun 11, 2018 7:55 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 511
LolHacksRule wrote:
Are the others meaning plain .xgt?

i mean any samples that don't have pvr, etc or atc in the filename,
but now i'm starting to think you don't need all format types because
they might all just be the same image any way and dxt would be all you need. :)

_________________
Quickbms.com link thread
Search bms scripts


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