A DBI file is prepared using the ddi.exe utility. Details on how to handle it can be found in The ddi.exe utility for editing database templates and external settings files.
A DBI file for the objects of the CUSTOM and CUSTOM_CHILD type is created as follows:
Create two objects—OBJ_CUSTOM and OBJ_CUSTOM_CHILD as shown in the figure below.
| Object (table) names must look like OBJ_<object type>. |

Set the parameters for each object. The id, name, parent_id, flags, guid parameters are mandatory for all objects. Custom_param1, custom_param2 in the example in the figure are custom parameters. You can also set other parameters used in Intellect. For example, adding the region_id parameter will allow you to set areas and regions for an object (see Subdivision of the protected facility into areas and regions).
DBI file preparation is complete.