The Tally application folder contains files other than the data files which are referred to as secondary files. From Release 3.0 onwards the file format of all the secondary files have been standardized.
All the TDL files which were compiled for Tally 9 Release 1.x/2.x having the file extension .tcp needs to be converted to the new format. The existing .tcp files can be converted as follows
Automatic conversion
Manual Conversion
When the current version of Tally is installed in the same folder as the older version then the file conversion is done automatically.
When the current version of Tally is installed in the same folder as the older version then all the .tcp files which were included in the tally.ini file are automatically converted to Tally.ERP 9 compatible format.
The original .tcp file is renamed as <filename>.tcp.BAK i.e., the filename of the converted file is same as the original filename and the original .tcp file is retained as a backup file.
When Tally is installed in the same folder where the Old version is installed then the file Tallysav.tsf is automatically converted to the new format. The file Tallysav.tsf is renamed as Tallysav.tsf.BAK.
The dictionary files in new format are provided with the release. When Tally is installed in the same folder where the Old version is installed then the old files present in the directory will be overwritten by the new ones. It is to be noted that the new dictionary files are not compatible with prior versions.
To manually convert the file in the new format select the File Format Conversion tab from Tally Admin Tool. The command line conversion tool “secdbcnv.exe” is removed. The file formats that can be converted are TCP or TSF or ENC.
Select the type of file to be converted from the File Type drop down box. It is mandatory to specify the File Type. The file Type can be:
TCP: Converts TCP file from old file format to new file format.
TSF: Converts tally configuration file from old format to new format e.g. tallysav.tsf to tallycfg.tsf
ENC: Converts TCP file from encrypted file format to new file format
In the Source File box specify the name of file to be converted. Browse button can be used to select the file/s. A comma separated list of files can be given in this box. When multiple files are to be converted, write the complete path of each file.
In Destination File box provide the name for the converted file. Browse button can be used to select the destination folder. If the destination folder is not selected the converted file is placed in the same location as of the source file.
While converting the TCP a different file name can be given. If no filename is specified then the TCP is converted with the same name and the original file is suffixed with .BAK
In the File Type dialog box select the File Type as TCP and select the file Sample TDL. TCP for conversion as shown
Click on the Convert button following dialog box is displayed
The file Sample TDL.tcp is converted to the new format retaining the original filename. The old format TCP is renamed as Sample TDL.tcp.BAK
The files in the Tally folder will appear as shown:
In the File Type dialog box select the File Type as TCP and select the file Sample TDL.TCP for conversion.
In the Destination dialog box, Specify the file name as Converted TDL.TCP as shown
Click on the Convert button the following message in the dialog box is displayed:
Conversion successful: Sample TDL.tcp is converted to Converted TDL.tcp
The above command converts the file Sample TDL.tcp to the new format and is named as Converted TDL.tcp.
Note: Ensure that the TDLs written for previous versions are syntactically compatible as per the release 3 standards before running the installer or the conversion tool. e.g. Release 3 does not support partial named attributes so before the conversion check that the TDL file to be converted uses the full attribute name.
Manually the file Tallysav.tsf can be converted to the new standardized format by selecting TSF as file type in the Conversion tab of Tally Admin Tool. Ensure that the destination file name is Tallycfg.tsf.
If the destination file name is not specified then the file is saved as Tallysav.tsf
Steps to convert the TSF file are as follows:
In the File Type dialog box select the File Type as TSF and select the file Tallysav.tsf for conversion.
In the Destination dialog box, Specify the file name as Tallycfg.tsf as shown
Click on the Convert button, the following message in the dialog box is displayed.
Conversion successful: Tallysav.tsf is converted to Tallycfg.tsf
The above command converts the file Tallysav.tsf to Tallycfg.tsf. The file Tallysav.tsf is renamed as Tallysav.tsf.BAK
The tally folder after the conversion is as follows:
The encrypted files can be converted to the new file formats using the TallyAmin Tool.
In the File Type dialog box select the File Type as ENC and select the file Sample.enc for conversion.
Click on the Convert button, the following message in the dialog box is displayed:
Conversion successful: Sample.enc is converted to Sample.tcp
The above command converts the file Sample.enc to Sample.tcp.