-
Notifications
You must be signed in to change notification settings - Fork 0
File Mapping Editor
From TDUF 1.12.0
As explained here, game uses kind of registry to track file sizes and newly added ones. That applies particularly to BNK files (with a few others as WAV).
This system couldn't be bypassed so far (not completely, at least), so you should always keep the registry updated with latest game contents.
Hopefully, Database Editor can help you doing this;
Paragraphs below do expect you've already loaded current database and mapping information into the editor.
At first launch, TDUF Database Editor will ask you game location. That is important step for mapping feature to function properly, so make sure you select TDU root folder accordingly.
A Bnk1.map file must be present under [TDUF root folder]/Euro/Bnk - anyway, the game could not even get to main menu if Bnk1.map is missing :-)
This does apply to a number of database topics, though example below will focus on CAR_PHYSICS_DATA (=Vehicle Slots).
- Switch to Vehicle slots profile and go to a car slot
- Head to Default tab, till the item labeled as Car_File_Name. You'll notice a few things have changed from previous versions
- Resource value (e.g 629657=AC_427) will instruct the game to lookup some files (exterior 3D model banks etc.), that's why they are listed in table
- Of course, you can always change resource value with ... button
- Now you can explore TDU files related to selected line with > (arrow) button.
- Path is the location of used file, relative to TDU Euro/Bnk folder
- Exists (Y/N) tells whether file is present in game contents
- Registered (Y/N) tells whether file has been added to Bnk1.map.

For now, editor can fix one file entry at the time. To perform a global fix of your registry, you should use Advanced CLI tools (MappingTool). Please refer to top of this article for more information.
- Select entry which has not been registered yet
- Click on Register button
- Don't forget to hit Save button in the top bar when you're done. Et voila!