ApiLanguageTool.exe

This program can be found in the Tools directory of the SDK.  Its function is to read a language translation database and produce a matching header file containing #define statements for each token name in the TDB.

The Visual Studio project template supplied by the Scapi SDK will include a pre-build event step that will run this tool and produce the correct files. See the Language translations page for details.

This page is only for reference, you should not need to run this tool by hand.

The command line

ApiLanguageTool /h inputTdbFile outputHeaderFile [tokenNamePrefix]

/h
Tells ApiLanguageTool to build a header file from the TDB.

inputTdbFile
The full path to the TDB file.  In a MSVC custom build step, use something like "$(InputPath)"

outputHeaderFile
The full path to the output header file.  In an MSVC custom build step, use something like "$(ProjectDir)\Plugin_XCodes.h"

tokenNamePrefix
An optional parameter (specify without the [ ]) which allows the prefix which is placed on each token name to be modified.  The default is "PX_", and it may be changed to any valid C++ macro name.