Netease Games Texture Unable to extract

Post questions about game models here, or help out others!
237616546
ultra-n00b
Posts: 1
Joined: Wed Oct 24, 2018 12:19 pm

Netease Games Texture Unable to extract

Post by 237616546 » Mon Nov 12, 2018 2:43 am

http://stzb.163.com/
I can extract the model, but I can't extract the texture.
Later I saw this script.

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get SIZE asize
get NAME basename
string NAME + .ktx
math SIZE - 0x80
filexor "\x7A\x7B\x7C\x7D\x7E\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9"
log NAME 0x0 0x80
append
filexor ""
log NAME 0x80 SIZE
Thank you, @Acewell

However, I can not open this texture.

lxxxk
ultra-n00b
Posts: 9
Joined: Wed Jul 02, 2014 6:33 am

Re: Netease Games Texture Unable to extract

Post by lxxxk » Tue Nov 13, 2018 3:00 am

please help me https://n.163.com/ Netease Games DAT model to fbx or obj

Scripthttps://zenhax.com/viewtopic.php?f=9&t=7235&hilit=against+cold

DAT
You do not have the required permissions to view the files attached to this post.

akderebur
ultra-veteran
ultra-veteran
Posts: 621
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 65 times
Been thanked: 777 times

Re: Netease Games Texture Unable to extract

Post by akderebur » Tue Nov 13, 2018 7:30 pm

@237616546 That script is for decrypting Rebellious Million Arthur files. Other Netease games are usually not encrypted like that. If you find a file with the "KTX" header, try opening it directly with Mali Texture Compression Tool or PVRTexTool.

@lxxxk I have seen your comment in my thread. This is a different format than what is supported by my tool. Probably a different engine by Netease.

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Wed Nov 14, 2018 11:11 am

Thank you. I try to use these two tools to open and read KTX files, but I can't read them. I don't know whether the extracted format is wrong or the read tool is wrong. Can you download the game and try to extract the texture and extract the correct PNG?

akderebur
ultra-veteran
ultra-veteran
Posts: 621
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 65 times
Been thanked: 777 times

Re: Netease Games Texture Unable to extract

Post by akderebur » Wed Nov 14, 2018 11:29 am

I don't want to download the whole game. I can take a look if you post 1 - 2 KTX samples.

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Wed Nov 14, 2018 11:48 am

This is the sample extracted from the game. There are models and textures. Thank you.

https://www49.zippyshare.com/v/xKzfyZND/file.html

or

https://www113.zippyshare.com/v/MjRJwqWy/file.html
Last edited by xtiger on Wed Nov 14, 2018 12:03 pm, edited 2 times in total.

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Wed Nov 14, 2018 11:55 am

I also want to extract another game, but I don't know what engine it is.
This is the official website of its game: http://www.dawnoftitans.com/
You can download the sample at this website link: https://www.zenhax.com/viewtopic.php?F= ... 813#p39813

or

https://www113.zippyshare.com/v/CaxFkksE/file.html


I uploaded some samples.
Thank you very much!

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Wed Nov 14, 2018 12:01 pm

lxxxk wrote:please help me https://n.163.com/ Netease Games DAT model to fbx or obj

Scripthttps://zenhax.com/viewtopic.php?f=9&t=7235&hilit=against+cold

DAT
Sorry, neither do I.

akderebur
ultra-veteran
ultra-veteran
Posts: 621
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 65 times
Been thanked: 777 times

Re: Netease Games Texture Unable to extract

Post by akderebur » Wed Nov 14, 2018 12:29 pm

xtiger wrote:This is the sample extracted from the game. There are models and textures. Thank you.

https://www49.zippyshare.com/v/xKzfyZND/file.html
Textures use ASTC compression. They can be opened with PVRTexTool using "astcenc.exe".

Image
xtiger wrote: You can download the sample at this website link: https://www.zenhax.com/viewtopic.php?F= ... 813#p39813
Interesting game. I will take a look when I have the time. Those bof files are compressed with zstd. Judging from your last sample you will get an ATC compressed DDS texture when you decompress the bof files. They can be loaded with existing tools. I am more interested in the models.

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Wed Nov 14, 2018 1:48 pm

Thank you. I prefer its model. Do you have any idea?

akderebur
ultra-veteran
ultra-veteran
Posts: 621
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 65 times
Been thanked: 777 times

Re: Netease Games Texture Unable to extract

Post by akderebur » Wed Nov 14, 2018 2:00 pm

xtiger wrote:Thank you. I prefer its model. Do you have any idea?
The model format doesn't look too complicated. I will make a tool for loading the models.

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Thu Nov 15, 2018 3:10 am

Sorry, I download PVRTexTool, but I can't find this "astcenc.exe". Can you download the address for me?

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Thu Nov 15, 2018 8:12 am

akderebur wrote:
xtiger wrote:This is the sample extracted from the game. There are models and textures. Thank you.

https://www49.zippyshare.com/v/xKzfyZND/file.html
Textures use ASTC compression. They can be opened with PVRTexTool using "astcenc.exe".

Image
xtiger wrote: You can download the sample at this website link: https://www.zenhax.com/viewtopic.php?F= ... 813#p39813
Interesting game. I will take a look when I have the time. Those bof files are compressed with zstd. Judging from your last sample you will get an ATC compressed DDS texture when you decompress the bof files. They can be loaded with existing tools. I am more interested in the models.
Can you send all the extracted texture to SkyDrive? Or tell me the way, please!

xtiger
advanced
Posts: 48
Joined: Tue Nov 13, 2018 6:56 am
Has thanked: 4 times
Been thanked: 1 time

Re: Netease Games Texture Unable to extract

Post by xtiger » Thu Nov 15, 2018 8:15 am

akderebur wrote:
xtiger wrote:This is the sample extracted from the game. There are models and textures. Thank you.

https://www49.zippyshare.com/v/xKzfyZND/file.html
Textures use ASTC compression. They can be opened with PVRTexTool using "astcenc.exe".

Image
xtiger wrote: You can download the sample at this website link: https://www.zenhax.com/viewtopic.php?F= ... 813#p39813
Interesting game. I will take a look when I have the time. Those bof files are compressed with zstd. Judging from your last sample you will get an ATC compressed DDS texture when you decompress the bof files. They can be loaded with existing tools. I am more interested in the models.
I used "astcenc.exe" of Mali Texture Compression Tool v4.3.0, but I could not extract it.

akderebur
ultra-veteran
ultra-veteran
Posts: 621
Joined: Fri Jul 08, 2011 10:36 am
Has thanked: 65 times
Been thanked: 777 times

Re: Netease Games Texture Unable to extract

Post by akderebur » Fri Nov 16, 2018 2:42 am

xtiger wrote: I used "astcenc.exe" of Mali Texture Compression Tool v4.3.0, but I could not extract it.
Make sure you add "astcenc.exe" to the environment variable PATH. Then just load the KTX file with PVRTexTool.

Btw I am done with the models. I will release the tool tomorrow.

Image

Post Reply