4.TDU Modding Tools : Graphics Tools

2DB To DDS Converter

This little tool aims at converting 2DB textures to well-known DDS format, so that it can be modified in your favorite editing software.
Here is a small list of editors, supporting DDS format :

Note 1 : if another interesting program is available, please contact me to keep this guide up-to-date :)
Note 2 : dxtbmp has been removed from the list as quality problems have been reported.

a.How to convert a single 2DB file:

2DBToDDS - Single mode

You must provide the source 2DB file in the upper field (you may also 'drag and drop' your file into).
The new DDS file name will update itself so you won't have to enter nor select a location; unless you'd want to change destination.
Finally click on GO button.


b.How to convert many 2DB files:

2DBToDDS - Many mode

Converting many files behaves pretty the same way as seen earlier for single files. The difference is you have to specify a BNK file first then select a folder to place brand new DDSs ('drag and drop' also available).
After clicking on GO button, converter will scan BNK file for 2DBs, convert then place them into the target folder you've given.

2DB files location field indicates which folder temporary 2DB files are extracted to. You can also display this location into Explorer by clicking on given link. This info is useful when you'll want to integrate modified textures into the BNK back.


DDS to 2DB Converter

DDS To 2DB

How to convert a single DDS file:

This task is slightly much complicated than the last one, because of some limitations (less and less in fact, but still :) ).
Mainly you have to keep in mind that the starting 2DB file should be available to enable converting.

It is of course possible to change texture sizes and dimensions. To do this, just edit your DDS texture the natural way then ensure Keep original file size option is UNchecked before converting to 2DB back.

New ! You can uncheck Keep original file header box to ensure all image parameters to be generated according to given source DDS file. It would suit your needs when explicitely changing compression method (for example, new DDS file in DXT1 where as original is DXT5). In this case, starting 2DB file isn't mandatory anymore.
Warning though, this feature is still @ an experimental state !


Index