Legend Of Wukong (悟空传)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Legend Of Wukong (悟空传)

Post by CriticalError »

Hello guys, well I got a old unpacker of this game, after try use bms script, I got that.

Web: http://wk.lbwgame.com/main/
Download: http://wk.lbwgame.com/main/download/kehuduan/
http://wkdl.lbwgame.com/client/wkz_client_1.2.4.26.exe


Image

so well maybe somebody can take a look into files? many thanks here I leave old bms script just in case.

get idstring long
goto 0x19
get offset long
get size long
get zsize long
get baseoff long
get datasize long
get arcsize long
clog MEMORY_FILE offset zsize size
get unk01 long MEMORY_FILE
get unk02 long MEMORY_FILE
get files short MEMORY_FILE
goto 0x12 MEMORY_FILE
get folder3 string MEMORY_FILE
For tmp = tmp != size
get offset long MEMORY_FILE
get size2 long MEMORY_FILE
math offset + baseoff
if size2 == 0
get folder string MEMORY_FILE
else if size2 == 1
get folder2 string MEMORY_FILE
string folder + \
string folder + folder2
else
get name2 string MEMORY_FILE
set name folder
string name + \
string name + name2
log name offset size2
endif
savepos tmp MEMORY_FILE
next


Samples

http://puu.sh/bkITY/468a745a94.7z
Last edited by CriticalError on Sun Sep 07, 2014 8:50 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Legend Of Wukong (悟空传)

Post by aluigi »

It seems obfuscated.
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Re: Legend Of Wukong (悟空传)

Post by CriticalError »

aluigi wrote:It seems obfuscated.
ummm so is possible study format again? for update bms script?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Legend Of Wukong (悟空传)

Post by Ekey »

CriticalError wrote:ummm so is possible study format again? for update bms script?

Maybe you give link for download client?
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Re: Legend Of Wukong (悟空传)

Post by CriticalError »

Ekey wrote:
CriticalError wrote:ummm so is possible study format again? for update bms script?

Maybe you give link for download client?
ok check first post, updated with main web + download.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Legend Of Wukong (悟空传)

Post by Ekey »

Installer inside wkz_client_1.2.4.26.exe damaged. Can you upload installed client?
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Re: Legend Of Wukong (悟空传)

Post by CriticalError »

ummm well really strange, is hard to upload it to me, my upload speed is 50 kb/s, and client is to big, 5.22GB packed :(, it take me years to upload them, anyway you can try extra servers they used, a example.

http://download.17173.com/11733/10/63508/

Drop down and see this:

Image

or this one.

http://down.52pk.com/xiazai/11252.shtml?1406691570

Image

or

http://download.5617.com/download/detail/81444

Image
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Legend Of Wukong (悟空传)

Post by Ekey »

Max speed from this mirrors is 25Kb lol
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Legend Of Wukong (悟空传)

Post by Ekey »

Done.

Code: Select all

# Legend Of Wukong (PAK format)
#
# Original script by chrrox, modified by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "PAK\x00"
goto 0x19
get size long
get zsize long
get offset long
get baseoff long
get datasize long
get arcsize long
clog MEMORY_FILE offset zsize size
get unk01 long MEMORY_FILE
get unk02 long MEMORY_FILE
get files short MEMORY_FILE
goto 0x12 MEMORY_FILE
get folder3 string MEMORY_FILE

For tmp = tmp != size
    get offset long MEMORY_FILE
    get size2 long MEMORY_FILE
    math offset + baseoff
   
    if size2 == 0
       get folder string MEMORY_FILE
    else if size2 == 1
       get folder2 string MEMORY_FILE
       string folder + \
       string folder + folder2
    else
       get name2 string MEMORY_FILE
       set name folder
       string name + \
       string name + name2
       filexor "0x0D 0xD9 0x1E 0x3E 0x89 0x7A 0x4C 0x2A 0x2A 0x81 0xF4 0x50 0x32 0xDB 0xD4 0x23 0x8B 0x5A 0x54 0x56 0x53 0x64 0x34 0x82 0x20 0xE6 0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A 0xF5 0x0D 0xD9 0x1E 0x3E 0x89 0x7A" offset
       log name offset size2
       filexor ""
endif
    savepos tmp MEMORY_FILE
next
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Re: Legend Of Wukong (悟空传)

Post by CriticalError »

well many thanks for all, working very well, keep working mate.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Legend Of Wukong (悟空传)

Post by Ekey »

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

Re: Legend Of Wukong (悟空传)

Post by aluigi »

@CriticalError
Ekey means that you can use also the "yellow thumb" button at the end of his post to thank him :)
CriticalError
Posts: 204
Joined: Thu Aug 14, 2014 8:52 pm

Re: Legend Of Wukong (悟空传)

Post by CriticalError »

aluigi wrote:@CriticalError
Ekey means that you can use also the "yellow thumb" button at the end of his post to thank him :)
roger that ;) I don't got it sorry :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Legend Of Wukong (悟空传)

Post by aluigi »

Don't worry, I have difficulties to note that button too. It's too small, but it's the default one.