Modding FAQ
djey47 edited this page Apr 23, 2020
·
4 revisions
Even though most of contents below are still valid, better and easier ways of doing could have been found since then. So you should also check other topics. This part has been kept for reference.
- Add those new files to TDU folders
- Use TDUF Mapping Tool with list-missing operation to make sure all new files are detected :
MappingTool list-missing --bnkDir "C:\Program Files(x86)\Test Drive Unlmited\Euro\Bnk"
- Use TDUF Mapping Tool with fix-missing operation :
MappingTool fix-missing --bnkDir "C:\Program Files(x86)\Test Drive Unlmited\Euro\Bnk"
- Update TDU database resources (all language files) to contain all new filenames (with TDUMT/TDUF DatabaseTool)
- Update TDU database topics to point previously created database resources for model, gauges, rims ... (with TDUF or installer)
Every file has a checksum, computed value, based upon its relative location in Euro/Bnk folder. To allow TDU to load this file, an entry with right checksum must exist in Euro/Bnk/Bnk1.map file. To get this checksum, one has to apply CRC-32 algorith to file location. Used settings:
- Please note that location string should be relative to Euro/Bnk directory, lower-case; directory separator is the slash symbol /. e.g: vehicules/a4_dtm.bnk => 0x405b4ffa (1079726074)
- Initial value = -1
- Modifier, used to XOR value at the end = -1
- Polynomial used to generate hashing table: 0xedb88320
- Change 'BitField' value in CarPhysics topic to 111.
- Also, make sure all other information is complete (resource links, physics etc).
There's no tool for that, still.
- Add a new entry in CarPhysics topic with a 'VehicleId' value that does not exist.
- Ensure that 'BitField' value is set to 111.
- Also, make sure all other information is complete (resource links, physics etc).
Yes, Tutorial: How add new car on TDU | turboduck forum
- 2DB: textures - YES, good support (TDUMT 1.16)
- 2DM/3DD/3DG: modeling data - YES, good support (ZModeler2)
- BIN: cameras - YES, incomplete support (TDUF, TDUMT 1.16, Camera Bin Editor)
- BNK: archives - YES, good support (TDUF, TDUMT 1.16, TDUMT2 MiniBnk)
- BTRQ : additional physics for vehicle - YES , incomplete support (TDUF, BTRQ Editor)
- DB: database - YES, full support (TDUMT 1.16, TDUF, TDUPE)
- FR/IT/GE/JA/US/...: database resources - YES, full support (TDUMT 1.16, TDUF, TDUPE)
- MAP: file mapping- YES, full support (MagicMap + TDUF)
- PMI: World entities- YES, preliminary support (TDUF FileTool conversion + structure, WorldEditor)
- SHK: Havok physics for World map- NO (might be in the future)
- XMB : sound configuration - NO (might be in the future)
Use TDUF. Otherwise, prefer using latest community patches with integrated brands and logos.
Note that logo count by design is limited to 63...