Great work. I'm glad my suspicion was wrong. FYI: To test the tt8_keygen2 program, I modified the meta code and the keygen happily generated the wrong .dct file (no error occurred, even though the meta was obviously wrong). That finding made me suspect that the posted meta code was wrong (it isn't).
Good teamwork fredderf and monstro900 !