# 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
@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.
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?
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.
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!
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.