How to decrypt and unpack the Data.Dat files?

01/25/2011 00:10 lia_v#1
I search for a way to decrypt and unpack the Data.Dat files and I am stuck. I searched all the forum for old topics with answers to that, but I got nothing, only some ways to decrypt the .ini files, which do not work for the .dat files.
So...
Does anybody know 1) how can I decrypt the Data.Dat files and 2) how to extract the .dds files from them?
01/27/2011 10:21 accbuyerr#2
ı ve also searched before but i realised there is no way ON WİN
01/27/2011 16:09 ACE-ppc#3
I can extract it .... but the tool is not for public at the moment.
And you will not find much dds files inside.

Greez ACE
01/28/2011 20:53 AncientPlayer#4
if you dont know with which program the dat files were encyrpted you can't decrypt them that easy so far. Go call nhn and ask with which prorgams they worked. :D
01/28/2011 21:09 hernan#5
i can unpack all the ui files but are all png not dds
01/29/2011 13:47 ACE-ppc#6
Quote:
Originally Posted by hernan View Post
i can unpack all the ui files but are all png not dds
As i sayd ... more problematic are the other files like
.tx1
.ecl
.ean
.ews
... if someone can help to find out what file types this are , i can upload one of each.

Greez ACE
01/29/2011 21:33 lia_v#7
Quote:
Originally Posted by ACE-ppc View Post
As i sayd ... more problematic are the other files like
.tx1
.ecl
.ean
.ews
... if someone can help to find out what file types this are , i can upload one of each.

Greez ACE
Upload them and I will try to find a way to open them. I only managed to extract the dds, tif and png ones so far, but I still search for a way to extract the tx1, ecl, ean, ews and bm1 files. How you extracted them? You used a hex editor and manualy cropped some data? If so, I will need a few pointers as an example, because I tried this by myself, but I couldn't find where they start and where they end to crop them.
01/30/2011 16:55 ACE-ppc#8
Quote:
Originally Posted by lia_v View Post
Upload them and I will try to find a way to open them. I only managed to extract the dds, tif and png ones so far, but I still search for a way to extract the tx1, ecl, ean, ews and bm1 files. How you extracted them? You used a hex editor and manualy cropped some data? If so, I will need a few pointers as an example, because I tried this by myself, but I couldn't find where they start and where they end to crop them.
Update ... the .tx1 Files are crypted like the ini files but not with 1111 key.
You need to use the asdfqwer key to decrypt then ... after this it looks like they are DDS Files with DXT3 Image Data , but they are using a custom header.

Here is the link with some decrypted files [Only registered and activated users can see links. Click Here To Register...]

Greez ACE
01/31/2011 01:02 lia_v#9
Do you use an .exe for decrypt with the "asdfqwer" key that you can share? Because I have the decryptINI.exe that menasculio made and I can't change the key from "1111" to "asdfqwer". I tried with a hex editor to replace the 1111 and the 4 null chars after that to "asdfqwer", but it doesn't decrypt the file right. It seems that this is not the right way to change the key, so how should I change it?
01/31/2011 04:21 ACE-ppc#10
Quote:
Originally Posted by lia_v View Post
Do you use an .exe for decrypt with the "asdfqwer" key that you can share? Because I have the decryptINI.exe that menasculio made and I can't change the key from "1111" to "asdfqwer". I tried with a hex editor to replace the 1111 and the 4 null chars after that to "asdfqwer", but it doesn't decrypt the file right. It seems that this is not the right way to change the key, so how should I change it?
Hi,
i stripped of a part of my program and did a small commandline tool for you.
[Only registered and activated users can see links. Click Here To Register...]

Usage:
ALCryptDecryptINI.exe <File to Crypt/Decrypt> /k:<key>
or
ALCryptDecryptINI.exe <File to Crypt/Decrypt> for crypt/decryt with standard key 1111

Example: ALCryptDecryptINI.exe file1.tx1 /k:asdfqwer

The crypting/decrypting is done inplace.
For crypt/decrypt with the standard key, you can also drag/drop a file to ALCryptDecryptINI.exe (usefull for fast crypt/decrypt ini files).

Greez ACE
02/01/2011 06:48 Havocker#11
what are you doing, i posted long time ago how to extract these files, so use the search function here.

And for they wanna know what picture is the *.tx1 its easier u can think

there is one program that can extract all dds files of this game

nobody believe me? i can give u some pics =D

here is the link : [Only registered and activated users can see links. Click Here To Register...]

thats only some of all my dds files =D
02/01/2011 08:17 ACE-ppc#12
Quote:
Originally Posted by Havocker View Post
what are you doing, i posted long time ago how to extract these files, so use the search function here.

And for they wanna know what picture is the *.tx1 its easier u can think

there is one program that can extract all dds files of this game

nobody believe me? i can give u some pics =D

here is the link : [Only registered and activated users can see links. Click Here To Register...]

thats only some of all my dds files =D
Hi,
to rip data from the running game is easy. But can you also modify textures and write it back to the data.dat files ?

Greez ACE
02/02/2011 02:02 Havocker#13
Quote:
Originally Posted by ACE-ppc View Post
Hi,
to rip data from the running game is easy. But can you also modify textures and write it back to the data.dat files ?

Greez ACE
modify yes, write back i dont know cuz i didnt try it but why write back ?

u can use it without Data.dat the old Chinese Client does the same i compared the function between webzen and chinese and so u can modify that the client use files from dir, think back to CM time. The Patch Client includes Pics they wasnt in Data.dat Webzen use Data.dat.... try it
02/02/2011 02:55 hernan#14
Quote:
Originally Posted by Havocker View Post
modify yes, write back i dont know cuz i didnt try it but why write back ?

u can use it without Data.dat the old Chinese Client does the same i compared the function between webzen and chinese and so u can modify that the client use files from dir, think back to CM time. The Patch Client includes Pics they wasnt in Data.dat Webzen use Data.dat.... try it
i understood nothing xD
02/03/2011 07:53 EpvpFTW#15
Idem Dito here xD