The Forum is up for sale: XeNTaX Forum looking for new owner

[Request] Tantra 2 .Dat files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

[Request] Tantra 2 .Dat files

Post by Rimbros »

Ok this its Tantra 2 files samples in the repository, hope somebody can take a view, the models and textures are stored in big .DAT files but i upload a little .DAT file. thanks.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: [Request] Tantra 2 .Dat files

Post by aluigi »

it uses lzma compression but the dat files are encrypted probably with aes or another block cipher:

Code: Select all

comtype lzma
get EXT extension
if EXT == "dat"
    print "encryption not supported"
elif EXT == "ccdat"
    print "encryption not supported"
else
    get SIZE long
    savepos OFFSET
    get ZSIZE asize
    math ZSIZE -= OFFSET
    get NAME filename
    string NAME += "_unpacked"
    clog MEMORY_FILE OFFSET ZSIZE SIZE
    filexor 0x10
    log NAME 0 SIZE MEMORY_FILE
    filexor 0
endif
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: [Request] Tantra 2 .Dat files

Post by Rimbros »

aluigi wrote:it uses lzma compression but the dat files are encrypted probably with aes or another block cipher:

Code: Select all

comtype lzma
get EXT extension
if EXT == "dat"
    print "encryption not supported"
elif EXT == "ccdat"
    print "encryption not supported"
else
    get SIZE long
    savepos OFFSET
    get ZSIZE asize
    math ZSIZE -= OFFSET
    get NAME filename
    string NAME += "_unpacked"
    clog MEMORY_FILE OFFSET ZSIZE SIZE
    filexor 0x10
    log NAME 0 SIZE MEMORY_FILE
    filexor 0
endif
.Dat its the models and textures, :(
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1822
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1056 times

Re: [Request] Tantra 2 .Dat files

Post by Ekey »

this game right ?
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: [Request] Tantra 2 .Dat files

Post by Rimbros »

Ekey wrote:this game right ?
yes but Tantra 2, new version, that its the samples i uploaded, and .DAT have models.DAT, Textures.DAT.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1822
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1056 times

Re: [Request] Tantra 2 .Dat files

Post by Ekey »

Rimbros wrote:yes but Tantra 2, new version
Where download full client ?
User avatar
CriticalError
double-veteran
double-veteran
Posts: 678
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 104 times
Been thanked: 41 times

Re: [Request] Tantra 2 .Dat files

Post by CriticalError »

Ekey wrote:
Rimbros wrote:yes but Tantra 2, new version
Where download full client ?
here you have client ;)

《密传2》Download Client

ok here samples of model,textures,sounds :)

Tantra 2 Archive Research Model
Tantra 2 Archive Research Texture
Tantra 2 Archive Research Sounds
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1822
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1056 times

Re: [Request] Tantra 2 .Dat files

Post by Ekey »

File table where contained info about size , offset .ect. in SQL file (Compressed and XORed). In DAT files Only Compressed

launcherui.sql

Info begin at 0xA offset

for launchercfg/patchui/bg.png

Image

Code: Select all

Offset - 397497 (0x610B9) (in DAT)
Uncompressed Size - 743460 (0xB5824)
Compressed Size - 741034 (0xB4EAA)
http://www.mediafire.com/?85ua969igt91pjr

Code: Select all

goto 0xA

for
    4 Bytes - File Offset
    4 Bytes - Uncompressed Size
    4 Bytes - Compressed Size
    8 Bytes - LZMAProp
    String (0x100) - FileName
next
Parsing unpacked SQL something like that :P

Code: Select all

goto 0xA

for i = 0
    get OFFSET long
    get SIZE long
    get ZSIZE long
    get LZMAPROP longlong
    getdstring NAME 0x100
    //log NAME 0 0
    print "%NAME%"
next i
_microclienturl.sql files game not using.
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: [Request] Tantra 2 .Dat files

Post by Rimbros »

Lol, hope. Thanks ekey hope u càn made a working inpack for .DAT files or this info help to aluigui to made a goog .dat unpacker. Thanks Man.
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1822
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1056 times

Re: [Request] Tantra 2 .Dat files

Post by Ekey »

Approximately should look like this

Code: Select all

open FDDE sql_unpacked 0

comtype lzma86head

goto 0xA

for i = 0
    get OFFSET long 0
    get SIZE long 0
    get ZSIZE long 0
    get LZMAPROP longlong 0
    getdstring NAME 0x100 0
    clog NAME OFFSET ZSIZE SIZE
next i
But doesn't work.

Code: Select all

- enter in folder D:\Tantra2_Build_4203\launchercfg
- open input file D:\Tantra2_Build_4203\launchercfg\launcherui.sql_unpacked
  0011d1ad 64566      launchercfg/patchui/btn_hot.bmp

Error: incomplete input file number 0, can't read 12719 bytes.
       anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted

Press RETURN to quit
I do not know why (:
User avatar
Rimbros
ultra-veteran
ultra-veteran
Posts: 495
Joined: Fri Jul 09, 2010 12:23 am
Has thanked: 41 times
Been thanked: 16 times

Re: [Request] Tantra 2 .Dat files

Post by Rimbros »

Maybe aluigui càn tell u why
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/

Personal Game repository samples, send PM
Post Reply