News:

Come Chat with us live! Learn how HERE!

Main Menu

Printing everything to stdout in Windows

Started by durand, February 06, 2009, 06:46:34 PM

durand

Hi,
I need to get the text that the tremulous client prints into a file using whatever method possible. On linux, I can simply use tremulous &> logfile however this doesn't seem to work on windows. I think this is because the windows version has a GUI instead for errors so it doesn't bother printing to stderr and stdout. Is there any other way to get this to work. Printing would ideally be live and the logfile should be constantly updated as the game progresses.

If this is not possible, would someone be willing to write a simple patch for the windows client so that it does print to a file? I need this for a project I'm working on (see my sig).

Thanks in advance!

kevlarman

use one of the clients built from svn (i recommend mg's client), they will print to stdout.txt/stderr.txt in the working dir.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

durand

#2
I'll try that. Is it stable enough to be distributed for normal use?
Thanks.

EDIT: It certainly does the trick! I'm not really sure why tremulous logs everything to stderr but it doesn't really matter to me.