Register for your free account! | Forgot your password?

You last visited: Today at 08:02

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

Advertisement



*.2dt files

Discussion on *.2dt files within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 25
Join Date: Sep 2012
Posts: 209
Received Thanks: 343
*.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: 60
Join Date: Jan 2010
Posts: 48
Received Thanks: 253
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: 135
Join Date: May 2015
Posts: 648
Received Thanks: 753
Check this
$WeGs is offline  
Thanks
2 Users
Reply


Similar Threads 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 +1. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.