Sun Wukong mobile chinese game

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Sun Wukong mobile chinese game

Post by moonpaladin »

Hello! anyone can take a look at this unity files please, they are encrypted! Really want to take a look at the models in this game, but all assets related to models are encrypted. :(
update 1 by DKDave: Just a quick note on this one - it's not xor. Looks like to decrypt you just have to -1 from each byte. Although it might be that only part of the file is encrypted in this way as it still doesn't load into Asset Studio.

update 2 by DKDave: Just a quick update, may or may not be useful. It looks like the encryption changes every 0x200 bytes, at least in that latest file (huajie.assetbundle) that's how it appears. So it starts off as 0x200 bytes -1, then 0x200 bytes -2, etc


https://www.mediafire.com/file/4joiyw20 ... S.zip/file
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Re: Sun Wukong mobile chinese game

Post by moonpaladin »

Hey, I was looking for more information about this game, and since it has had its own app to play it, I'm not sure if it was a web game a long time ago or something similar, the point is that I have been able to get some examples, the bad thing is that It seems that it is still encrypted, and that this format has both the 3d model and the textures (atf-format), maybe someone has already come across such a model, and can give me a hand, anyway thank you very much. :P

https://www.mediafire.com/file/a2ius7vb ... S.zip/file
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Re: Sun Wukong mobile chinese game

Post by moonpaladin »

UPDATE: if I delete some bytes so that the header starts with ATF, the texture can be extracted, which I don't understand is: then the file is encrypted but only partially? Like this : they encrypted the 3d model and just add the texture at the begining or at the end, and called it .e3p file or how ? :geek:
Anyways gathering in the files I found a file called appointgods_41551.enc, to be honest is the most suspicious file, Im still checking if it could contain something relevant. Any kind of help would be much appreciated! :mrgreen:

https://www.mediafire.com/file/pwg0lqkb ... 1.enc/file

UPDATE about appointgods_41551.enc: I may be going crazy but this file contains the filetypes of all the files of the game (swf, e3p, e3o, eff, atf) :o :o

Textures from the samples :
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sun Wukong mobile chinese game

Post by aluigi »

Here I can help, at least for decompressing that ENC file:

Code: Select all

comtype lzma_dynamic
idstring "ZWS+"
get SIZE long
get ZSIZE long
savepos OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Re: Sun Wukong mobile chinese game

Post by moonpaladin »

aluigi wrote:Here I can help, at least for decompressing that ENC file:

Thanks alot aluigi! I really want to get that models inside the .e3p files! by the way if this game is a browser game how can I get the key for the encryption, or this files are not using a key.I'm really newbie about compression and encryption. :roll:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sun Wukong mobile chinese game

Post by aluigi »

The file is only compressed with LZMA. There is no encryption.
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Re: Sun Wukong mobile chinese game

Post by moonpaladin »

aluigi wrote:The file is only compressed with LZMA. There is no encryption.

Good to know! thanks aluigi

up! still looking to get the 3d models :'( :oops:
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Re: Sun Wukong mobile chinese game

Post by moonpaladin »

Hello! I'm still looking for this models!! are not high poly but them looks good :). I gathered more models :weapons and wings.Hope someone can decompress them, to I can try to get the model with hex2obj or advanced mesh reaper! Thanks in advance :mrgreen:

https://www.mediafire.com/file/q0bzow1w ... S.zip/file
moonpaladin
Posts: 74
Joined: Wed Mar 06, 2019 12:53 pm

Re: Sun Wukong mobile chinese game

Post by moonpaladin »

UP! Any kind of help is appreciated! Really want to get the models :(