Was this done to output PS2's stdout to the console? If so, I think it would have been possible to enable stdlogging ("iop.fileio.stdlogging" preference in config.xml available in "My Documents\Play! Data Files") and create an CStdStream that uses stdout instead of fopen("ps2_stdout.txt", ...) in the CIoman constructor.