READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

xiao ao jiang hu TGA map abnormal file

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
douchi
n00b
Posts: 15
Joined: Sun Sep 29, 2019 3:24 pm
Has thanked: 6 times

xiao ao jiang hu TGA map abnormal file

Post by douchi » Sat Nov 09, 2019 10:16 am

TGA map is encrypted, like a game engine custom format. Can anyone decrypt it and convert it to a normal image format
http://xxa.wanmei.com/
Sample file:

https://mega.nz/#!K34WnYgB!uqQS7lI2blHB ... cltu7XGX08

User avatar
aspadm
beginner
Posts: 37
Joined: Wed Nov 25, 2015 8:43 pm
Location: Russia
Has thanked: 10 times
Been thanked: 27 times

Re: xiao ao jiang hu TGA map abnormal file

Post by aspadm » Sat Nov 09, 2019 3:37 pm

Hi!

Did I understand correctly that the APK file of the game is called com.pwrd.xxajh.huawei and weighs about 2GB?
If so, this TGA is stored in .pak files inside "assets" folder, right?

douchi
n00b
Posts: 15
Joined: Sun Sep 29, 2019 3:24 pm
Has thanked: 6 times

Re: xiao ao jiang hu TGA map abnormal file

Post by douchi » Sat Nov 09, 2019 4:07 pm

aspadm wrote:
Sat Nov 09, 2019 3:37 pm
Hi!

Did I understand correctly that the APK file of the game is called com.pwrd.xxajh.huawei and weighs about 2GB?
If so, this TGA is stored in .pak files inside "assets" folder, right?
Hello, yes, so the files are stored in media2.PAk, media3.pak

User avatar
aspadm
beginner
Posts: 37
Joined: Wed Nov 25, 2015 8:43 pm
Location: Russia
Has thanked: 10 times
Been thanked: 27 times

Re: xiao ao jiang hu TGA map abnormal file

Post by aspadm » Sat Nov 09, 2019 4:35 pm

For me it looks like this is the in-game texture format, just named ERA, but with TGA extension. At least, game library have some functions like "Texture::_parser_era" (in one row with "Texture::_parser_pvr" and "Texture::_parser_dds").

I'll try to write a decoder, but do not promise something.

douchi
n00b
Posts: 15
Joined: Sun Sep 29, 2019 3:24 pm
Has thanked: 6 times

Re: xiao ao jiang hu TGA map abnormal file

Post by douchi » Sat Nov 09, 2019 4:43 pm

aspadm wrote:
Sat Nov 09, 2019 4:35 pm
For me it looks like this is the in-game texture format, just named ERA, but with TGA extension. At least, game library have some functions like "Texture::_parser_era" (in one row with "Texture::_parser_pvr" and "Texture::_parser_dds").

I'll try to write a decoder, but do not promise something.
Thank you for your help and look forward to your good news.

douchi
n00b
Posts: 15
Joined: Sun Sep 29, 2019 3:24 pm
Has thanked: 6 times

Re: xiao ao jiang hu TGA map abnormal file

Post by douchi » Mon Nov 11, 2019 5:18 pm

aspadm wrote:
Sat Nov 09, 2019 4:35 pm
For me it looks like this is the in-game texture format, just named ERA, but with TGA extension. At least, game library have some functions like "Texture::_parser_era" (in one row with "Texture::_parser_pvr" and "Texture::_parser_dds").

I'll try to write a decoder, but do not promise something.
Hi friend, what's the latest

User avatar
aspadm
beginner
Posts: 37
Joined: Wed Nov 25, 2015 8:43 pm
Location: Russia
Has thanked: 10 times
Been thanked: 27 times

Re: xiao ao jiang hu TGA map abnormal file

Post by aspadm » Tue Nov 12, 2019 12:25 am

Hi!

After some research, I detected, that this is ASTC texture compression with custom header.
I'll polish the script and post it some hours later.
Main reason is that there are can be cubemap textures, so I want to support it.

Example of "c_257_cj_he.tga"
Image

douchi
n00b
Posts: 15
Joined: Sun Sep 29, 2019 3:24 pm
Has thanked: 6 times

Re: xiao ao jiang hu TGA map abnormal file

Post by douchi » Tue Nov 12, 2019 2:27 am

Hi, you're fantastic. Look forward to it!

Post Reply