Loons: Fight for the Fame .DAT

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Loons: Fight for the Fame .DAT

Post by lemurboy12 »

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

Re: Loons: Fight for the Fame .DAT

Post by aluigi »

Is that one the whole file?
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: Loons: Fight for the Fame .DAT

Post by lemurboy12 »

no, it's just one of them. should I give you more?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Loons: Fight for the Fame .DAT

Post by aluigi »

Yes, try with a bigger sample
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: Loons: Fight for the Fame .DAT

Post by lemurboy12 »

here's a few more:
http://puu.sh/hzQDN.rar
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Loons: Fight for the Fame .DAT

Post by aluigi »

This format has absolutely no sense because the second text file contains references to archived files that are not there.
Anyway the following extract the dxb and txt files from the files you provided:

Code: Select all

get FILES line
for i = 0 < FILES
    get NAME line
    get OFFSET line
    putarray 0 i NAME
    putarray 1 i OFFSET
next i
for i = 0 <= FILES
    if i == 0
        getarray NAME 0 i
        getarray OFFSET 1 i
        math i + 1
    endif
    if i == FILES
        get NEXT_OFFSET asize
    else
        getarray NEXT_NAME   0 i
        getarray NEXT_OFFSET 1 i
    endif

    xmath SIZE "NEXT_OFFSET - OFFSET"
    log NAME OFFSET SIZE

    set NAME string NEXT_NAME
    math OFFSET = NEXT_OFFSET
next i
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: Loons: Fight for the Fame .DAT

Post by lemurboy12 »

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

Re: Loons: Fight for the Fame .DAT

Post by aluigi »

They are all the same format.
I'm still unable to find the "link" between the dxb and txt file because the offsets in the txt don't match the data and size of the dxb file.