Ok, got it. There is a reference to textures\strat_flag.tga in strat_flag.CAS. So strat_flag.tga.dds is looked up in vanilla folder.