Demon Hunter Legion (猎魔军团) .DAT File Archive

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
chrono24
Posts: 3
Joined: Thu Nov 19, 2015 8:47 pm

Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by chrono24 »

"Demon Hunter Legion" is supposedly made with unreal engine (version 12791).
The game's contents, however, are stored in a series of .DAT files and I can not find a BMS script to unpack the .DAT.

Game Website: lm.xoyo.com
Game Download: http://lm.kingsoft.com/client/LM-v1.0.0.20.rar

Sample: https://www.mediafire.com/?a9agqqawov4ez6a
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by aluigi »

Amagakuro
Posts: 46
Joined: Wed Sep 23, 2015 4:47 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by Amagakuro »

I'm upping this as i think the gamefile have been update with a new version, after using the script, the file isn't recognized as unreal package at all.
http://www.mediafire.com/download/d9pxvm33edd8hqs/data%282%29.rar

New site: http://lm.xoyo.com/download.html

game seems to be still in beta tou.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by aluigi »

I don't think I can do much here.
The script correctly extracts the data referenced there which is just one big non-compressed file (basically the original package0.dat archive without the header), and that's correct.

Inside the extracted 00000000.unr file there is just a sequence of various files, it's enough to search for c1 83 2a 9e to find all the Unreal files, but they have no references, are just concatenated there.

I checked trunk.dir and there are no references there too about these raw archived files in 00000000.unr.
Amagakuro
Posts: 46
Joined: Wed Sep 23, 2015 4:47 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by Amagakuro »

I see, so it's only me being unable to understand that xD
Thanks for cheking tou :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by aluigi »

Ah right, in short it means that there is no solution to dump the files from 00000000.unr
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by aluigi »

Try the following script, if you have do NOT have quickbms 0.7.5 then remove the -1 from the second findloc instruction:

Code: Select all

findloc OFFSET binary "\xc1\x83\x2a\x9e"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "\xc1\x83\x2a\x9e" 0 "" -1
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
Amagakuro
Posts: 46
Joined: Wed Sep 23, 2015 4:47 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by Amagakuro »

Script works flawlessly, I'll have to slowly check the file, i still can't understand if it's unpacking everything as it should be (minus extension) or... not? xD
And I'll apologize but i have to ask another favor :V
I found this .pak file into win32/64 folder, i'm too optimistic to think there's their "packer/unpacker" inside but still...
http://www.mediafire.com/download/uoc3y43cuoif3s9/devtools_resources.pak
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by aluigi »

Yes, you are too optimistic.
That one is an archive for the Google Chromium engine, you can extract the files from it with this script:
http://aluigi.org/bms/cef_pak.bms
freakprince
Posts: 1
Joined: Wed Feb 15, 2017 7:08 pm

Re: Demon Hunter Legion (猎魔军团) .DAT File Archive

Post by freakprince »

yo can u upload the client? download from the site stops at 95%