here is malrubius' trait and ancillary validator: https://forums.totalwar.org/vb/showthread.php?t=55732

next time remember to make back-ups of the files and only make little changes before testing and if you run into trouble again check the links database for tutorials (https://forums.totalwar.org/vb/local_links.php?catid=70)