Use the helper batch file mkpdb.bat to insert a new Template Collection (.tc) into Game Database (.pdb). mkpdb invokes a number of tools to produce an 8-bit palette from the Template Collection and reduce the Templates to 8-bit before adding them to the Game Database.
To add a Template Collection into a Game Database:
mkpdb -pdb <database> -tc <template collection> -size <16 | 24>
Example:
mkpdb -pdb htdata816.pdb -tc grassy.tc -size 16