Skip to content

Settings

Jerome Canler edited this page Jan 6, 2024 · 15 revisions

Access to settings

Have a look at [User Home]\ .tduf\tduf.properties file - you might need to run TDUF editor at least once to create it.

(from TDUF 2.0) Settings file can be edited via command line as well: from TDUF root directory type settings; it will open settings file in default editor.

Description of TDUF properties file

#TDUF configuration
#Thu Apr 30 16:25:39 CEST 2020
tduf.editor.profile=Vehicle slots
tduf.editor.locale=fr
tdu.database.directory=/home/djey/apps/tdu/Euro/Bnk/Database
tdu.root.directory=/home/djey/apps/tdu
tduf.editor.debugging.enabled=false
tduf.editor.plugins.enabled=true
tduf.editor.theme=midnight

Before making any changes, make sure TDUF editor has been closed.

Editor preferences

tduf.editor.profile tduf.editor.locale

Used to automatically switch to given profile and locale the next time GUI is launched. Those settings are also set by the editor at each change.

Locations

tdu.database.directory tdu.root.directory

Used to define default locations for TDU files: database and game root respectively. For advanced use, they can be totally independent of each other.

Debugging

tduf.editor.debugging.enabled

Set value to true to enable debugging. Default value is false. Debugging will produce more logs and thus you may experience performance hit.

Disabling plugins

tduf.editor.plugins.enabled

Set value to false to disable plugins. Default value is true. Database Editor is faster without plugins, but at the cost of limited features: only basic editing works.

Using color theme

(from TDUF 2.0)

tduf.editor.theme (not mandatory)

Set value to xxx, matching a theme-xxx.css file specifying colors to be used. All available CSS files are in TDUF's themes directory, and must be copied into directory containing tduf.properties file (refer to Access to settings above section) to be taken into account.