In addition to what has been mentioned, a lot of games use text-based scripting or data because it is quick and easy to read, modify and troubleshoot and modder can easily alter those. Generally games that are the most moddable are the ones who use those most extensively.
Latest Answers