Oh, here's a better program to insert the graphics into the DAT files. It's good and it's real simple to use.
ftp://ftp.ubi.com/us/games/chessmast...TexExtract.zip
EDIT: And a reminder that you can't actually add new flags. You can ONLY edit the existing ones.