Here’s how to detect the generator settings:
bool isnormalmap = false;
unsigned int len;
std::string key = "KTXwriterScParams";
ktxHashList_FindValue(&ktx->kvDataHead, key.c_str(), &len, &val);
String s = String((const char*)val);
if (s.Find("--normal_map") > -1) isnormalmap = true;
However, I would like something a little more reliable that hopefully will get supported by other applications. This setting only works with the ECTS compression method.