The Forum is up for sale: XeNTaX Forum looking for new owner
[Request] Tantra 2 .Dat files
- Rimbros
- 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
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
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
- aluigi
- 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
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- Rimbros
- 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
.Dat its the models and textures,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
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
-
Ekey
- M-M-M-Monster veteran

- Posts: 1822
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1056 times
- Rimbros
- 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
yes but Tantra 2, new version, that its the samples i uploaded, and .DAT have models.DAT, Textures.DAT.Ekey wrote:this game right ?
Renders Art by Rimbros
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
-
Ekey
- 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
Where download full client ?Rimbros wrote:yes but Tantra 2, new version
My Github repo
- CriticalError
- 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
here you have clientEkey wrote:Where download full client ?Rimbros wrote:yes but Tantra 2, new version
《密传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

- Posts: 1822
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1056 times
Re: [Request] Tantra 2 .Dat files
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

http://www.mediafire.com/?85ua969igt91pjr
Parsing unpacked SQL something like that
_microclienturl.sql files game not using.
launcherui.sql
Info begin at 0xA offset
for launchercfg/patchui/bg.png

Code: Select all
Offset - 397497 (0x610B9) (in DAT)
Uncompressed Size - 743460 (0xB5824)
Compressed Size - 741034 (0xB4EAA)Code: Select all
goto 0xA
for
4 Bytes - File Offset
4 Bytes - Uncompressed Size
4 Bytes - Compressed Size
8 Bytes - LZMAProp
String (0x100) - FileName
nextCode: 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 iMy Github repo
- Rimbros
- 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
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
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
-
Ekey
- 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
Approximately should look like this
But doesn't work.
I do not know why 
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 iCode: 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 quitMy Github repo
- Rimbros
- 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
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
http://s303.photobucket.com/albums/nn12 ... E/Renders/
Personal Game repository samples, send PM
