GetTypeCodeFromString
type = GetTypeCodeFromString(argv[2]);
outputFormat = GetTypeCodeFromString(argv[3]);
uint32 GetTypeCodeFromString(const char *string);