About .DTA

Last modified: February 24 2014 12:53:15.        
For infos or suggestions, see the credits page        
  File System structure Editing Basics Hex/DC examples RevEngEd 2

Support Wikipedia

Most of the files used by H&D2 are packed into a few big files, which have .DTA extension. Unpacking these files is the first step for every modification, and you can find extractors on the web or on the software page.

When H&D2 is originally installed (aka Vanilla), only .DTA exist, and H&D2 reads every information from them. But, luckily, if a directory with the same name exists, H&D2 first search for files inside that directory and then into the .DTA. Refer to this page for further information about directories in H&D2.

For example, let's think about a fictional texture called BRICKS.BMP, which is normally contained inside the MAPS.DTA file.
Vanilla scenario (no "MAPS" directory exists):

  • H&D2 search for BRICKS.BMP inside MAPS.DTA and load it from the package.
Modded scenario ("MAPS" directory exists):
  • H&D2 search for BRICKS.BMP inside directory "MAPS":
  • - if found, H&D2 loads BRICKS.BMP from directory "MAPS".
  • - if not found, H&D2 search for BRICKS.BMP inside MAPS.DTA.
So it's not necessary having the whole totality of textures inside the MAPS directory. You can put there just the ones you modified! And this is true for every kind of files.