I'm trying to figure out a way to attach to a games stdout and write everything it sees to a text file. How would I go about doing this? The game is very old (around 8 years) and is called Dark Age of Camelot. It was written in C++ (dunno if that helps).