Iburidu Posted October 14, 2013 Share Posted October 14, 2013 Hi! My idea is quite simple, I want to create an output redirection to my exe.. I have been trying for weeks without success. It seems, jampded does not write to stdout, so it can not be piped with batch file. I tried these things to do:CreateProcess and CreatePipeAttachConsoleSimple Batch output redirection (jampded.exe 1> stdout.txt 2> stderror.txt) not working..Has anyone any idea? Link to comment
eezstreet Posted October 14, 2013 Share Posted October 14, 2013 Using OpenJK, you can do this very easily by locating where it prints stuff (Trace Com_Printf and you'll find it, one way or another) and then actually printing this output using vsnprintf and fprintf or C++ stdout Link to comment
Iburidu Posted October 14, 2013 Author Share Posted October 14, 2013 Using OpenJK, you can do this very easily by locating where it prints stuff (Trace Com_Printf and you'll find it, one way or another) and then actually printing this output using vsnprintf and fprintf or C++ stdout I use older version (1.00), so I can not build jampded.exe, so I can't use OpenJK as well I need to redirect the output of the existing jampded. I have to parse the output somehow. Link to comment
eezstreet Posted October 14, 2013 Share Posted October 14, 2013 I use older version (1.00), so I can not build jampded.exe, so I can't use OpenJK as well I need to redirect the output of the existing jampded. I have to parse the output somehow.Oh, so you're one of THOSE guys...Yeah, have fun. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now