2.TDU Modding Tools : Main Tools

DDS To 2DB Converter

File Browser

This tool aims at replacing BNK Editor, thanks to its BNK Manager.
It displays all your TDU file hierarchy (folders on the left, files on the upper-right, contents of BNK selected file on the lower-right).

Every menu item has a tooltip, giving more details. To display it, just point this item and wait a few seconds.

a.To backup/restore files:

- File Browser is able to make a backup of every file appearing in the upper section. Click on Backup. A copy will be created, whose name ending by .BAK.
- Also, you can restore a previous backup by selecting it then clicking on Restore. File will retrieve its previous contents.

b.To edit a file with BNK Manager:

This new edit function allows you to easily modify packed files, manage current edit tasks and directly apply changes you've made.
Select a packed file in the bottom part, then Edit. A new edit task will be created and file will be opened in default editor:

Edit Tasks

- Once editing is finished, you can choose to Apply. The BNK file will be automatically updated and saved according to checked task(s).
- You can also Discard checked task(s) to cancel corresponding changes.

The Open xxx buttons respectively display the working folder (where files are stored during editing) and open the selected file again in the default application.

c.To extract and replace files (manually):

BNK manager behaves almost the same way as Jeff's BNK Editor. So you should be very good at it already ;)
The only difference is you'll be able to specify the method when replacing files into a BNK:

Replace Methods
Note : packed files which have just been replaced appear in different color (green).


BNK Tool

File Browser

My first tool allowing to manage contents of BNK files ;). Now it's mainly unused and unmaintainded as simpler and more powerful tools do exist.

The only advantage over all is the ability for advanced users to compute the "checksum fields" that are values written in many parts of the BNK, used by the game to check that the archive keeps its integrity.
In fact, actual modding (with Jeff's Editor, File Browser) only replaces packed files in a BNK with files of same size, so theses "checksum fields" needn't to be updated at the moment.
Perhaps it will be necessary in the (near ?) future, as soon as someone will want to replace some files with bigger ones...


BNK Editor

Jeff's BNKEditor

BNK Editor, a very convenient and tiny application written by Jeffrey Harris, is the world's first tool able to perfectly extract contents of BNK files.
But not only, it can also re-pack modified files into a BNK !
This piece has been largely and succesfully used by the modding scene for months. Official page: www.sturm.net.nz  

To integrate BNK Editor with your modding tools, simply get the executable on the above site, copy it to TDU Modding Tools plugins folder and ensure it has for name: BNKFileEditor.exe.


MAP Tool

Map Tool

Module to manage TDU's file protection: each file in Bnk folder and subfolders will be accepted by the game, as long as its size corresponds to info stored in a particular file: Bnk1.map.
MAP Tool gives contents of that file and allows advanced users to change expected sizes. That could be useful when you have to replace a BNK or whatever by a significally lighter/heavier file.

Remark: Bnk1.map is a relatively unclear file. At the moment, this tool isn't able to change size control for every file in TDU folders; known files are given by a KEY (provided with TDU Modding Tools: map-key.xml). That's the reason why some lines in the table can't show file names :(

a.To generate your own key:

Provided map-key.xml should be OK for most usages. Though for any reason, you might have to generate your own key according to contents of your Bnk folder.
Just load your Bnk1.map file, click on Get Key... and follow further instructions.

b.Fixing:

It consists in automatically correcting Bnk1.map data to ensure actual file size and protection system contain similar values. There are 2 ways to 'fix' :

c.To change data for a particular file:

For test purpose; it's a more advanced function, that allows to manually change size for a particular file into the Bnk1.map.