Register for your free account! | Forgot your password?

You last visited: Today at 13:16

  • Please register to post and access all features, it's quick, easy and FREE!


*.2dt files

Reply
 
Old   #1
 
elite*gold: 25
Join Date: Sep 2012
Posts: 202
Received Thanks: 339
*.2dt files

Hello there,

Is there anyone who knows the structure for *.2dt files here?

Short info:
*.2dt files are new interface system which works on new clients(such as isro, csro, vsro), which placed at "Media.pk2\res_ui\".

I'm working on to make a proper editor for those files, any kind of help will be perfect.



VEssence is offline  
Thanks
1 User
Old 05/23/2015, 14:00   #2
 
elite*gold: 10
Join Date: Jan 2010
Posts: 46
Received Thanks: 209
Hello,

I remember spending some time on these files.
The structure is pretty simple. Please note that I haven't figured out the complete format yet.

The file basically consists of a specified amount of fixed-size data blocks. Each block has a total size of 976 bytes. The first four bytes of the file specify the amount of blocks that will follow.

So the basic structure looks like this:
Code:
[INT32]    Number of blocks
for (int i = 0; i < numberOfBlocks; i++)
{
    [976 bytes]    Data block
}
This also means that the size of the file can be calculated like this: totalSize = 4 + (numberOfBlocks*976)

Now, each data block can be interpreted as follows:

As you can see, I haven't figured out what most of pieces in the data block mean, so there's still some work to do.
Probably you could use the old interface format to figure those unkown pieces out.

With this information I wrote a simple C# application which converts the .2dt file into a human-readable JSON file and vice versa.

Using this program to convert the nifeventword.2dt file into a JSON file, I got the following output:

If you find any error our just have an idea for improvement, let me know!

I hope I could help you a little.
Stratti


Stratti is offline  
Thanks
6 Users
Old 05/24/2015, 15:22   #3
 
elite*gold: 95
Join Date: May 2015
Posts: 408
Received Thanks: 370
Check this
http://www.elitepvpers.com/forum/pri...dt-editor.html
$WeGs is online now  
Thanks
2 Users
Reply



« Hylp Plyz Oqy? | [Question] Interfering with a bot through a self-made proxy »

Similar Threads
[WTT]Rohan Hero files+DB=Dekaron 11classes+accesarry upgrade server files.
07/10/2013 - Rohan - 0 Replies
Deal collapsed.



All times are GMT +2. The time now is 13:16.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.