The quickest, easiest solution I've found is to do a Windows System Restore to the last time Trainz worked. On a typical XP machine used daily, you probably will have daily restore points, so it shouldn't "undo" much if anything besides whatever caused Trainz to stop working.