Newbie question: how to display more info when engine is pla

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

Newbie question: how to display more info when engine is pla

Postby Pham Hong Nguyen » 22 Apr 2002, 06:45

Geschrieben von: / Posted by: Pham Hong Nguyen at 22 April 2002 07:45:23:
Hi all,
I am developing my first engine and find out that WB is an excellent tool :)
Current problem: I see that WB just allows to display very limited information such as move, pv, nodes... I would like to display (not save into a file) some other information when my engine is playing inside WB. Is there any way to do that?
Many thanks in advance.
Pham Hong Nguyen
Pham Hong Nguyen
 

Re: Newbie question: how to display more info when engine is

Postby Gian-Carlo Pascutto » 22 Apr 2002, 07:04

Geschrieben von: / Posted by: Gian-Carlo Pascutto at 22 April 2002 08:04:24:
Als Antwort auf: / As an answer to: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Pham Hong Nguyen at 22 April 2002 07:45:23:
Hi all,
I am developing my first engine and find out that WB is an excellent tool :)
Current problem: I see that WB just allows to display very limited information such as move, pv, nodes... I would like to display (not save into a file) some other information when my engine is playing inside WB. Is there any way to do that?
No.
The closest you can get is tacking information on at the end of the PV
in analysis mode.
--
GCP
Gian-Carlo Pascutto
 

Re: Newbie question: how to display more info when engine is

Postby Charles Roberson » 22 Apr 2002, 07:30

Geschrieben von: / Posted by: Charles Roberson at 22 April 2002 08:30:29:
Als Antwort auf: / As an answer to: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Pham Hong Nguyen at 22 April 2002 07:45:23:
There is the /debug option which pops up a debug window and produces
all messages going to and from the engine and winboard.
Charles Roberson
 

Re: Newbie question: how to display more info when engine is

Postby Aaron » 22 Apr 2002, 08:02

Geschrieben von: / Posted by: Aaron at 22 April 2002 09:02:55:
Als Antwort auf: / As an answer to: Re: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Charles Roberson at 22 April 2002 08:30:29:
There is the /debug option which pops up a debug window and produces
all messages going to and from the engine and winboard.
Pop up? You mean Winboard /debug? All it does is to give me a debug file in Winboard
For real time analysis, you might want to use "Tail for Windows"..
http://www.winboardengines.de/html/wbdownload.html

http://www.winboardengines.de/html/tail_in_action.html (Screenshot)
Aaron
Aaron
 

Re: Newbie question: how to display more info when engine is

Postby Pham Hong Nguyen » 22 Apr 2002, 08:20

Geschrieben von: / Posted by: Pham Hong Nguyen at 22 April 2002 09:20:21:
Als Antwort auf: / As an answer to: Re: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Charles Roberson at 22 April 2002 08:30:29:
There is the /debug option which pops up a debug window and produces
all messages going to and from the engine and winboard.
Thanks. But how to do that? I tried GNU with the following shortcuts:
"C:\Program Files\WinBoard\winboard.exe" /debug -cp -fcp 'GNUChes5 xboard' -scp 'GNUChes5 xboard'
"C:\Program Files\WinBoard\winboard.exe" -debug -cp -fcp 'GNUChes5 xboard' -scp 'GNUChes5 xboard'
I also try to press Ctrl-All-F12. However, I could not find the debug window nor any other window/popup. I guess that function just allows to write into file WinBoard.debug, doesn't it?
Pham Hong Nguyen
 

Re: Newbie question: how to display more info when engine is

Postby Pham Hong Nguyen » 22 Apr 2002, 08:36

Geschrieben von: / Posted by: Pham Hong Nguyen at 22 April 2002 09:36:37:
Als Antwort auf: / As an answer to: Re: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Aaron at 22 April 2002 09:02:55:
There is the /debug option which pops up a debug window and produces
all messages going to and from the engine and winboard.
Pop up? You mean Winboard /debug? All it does is to give me a debug file in Winboard
For real time analysis, you might want to use "Tail for Windows"..
http://www.winboardengines.de/html/wbdownload.html

http://www.winboardengines.de/html/tail_in_action.html (Screenshot)
Aaron
Thanks, that tool is good for me now :)
Additional question: is there any safe way to print out my own information in WB? Just afraid that WB may wrong understand my debug information as its commands.
Pham Hong Nguyen
 

Re: Newbie question: how to display more info when engine is

Postby Gian-Carlo Pascutto » 22 Apr 2002, 17:04

Geschrieben von: / Posted by: Gian-Carlo Pascutto at 22 April 2002 18:04:48:
Als Antwort auf: / As an answer to: Re: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Pham Hong Nguyen at 22 April 2002 09:36:37:
Additional question: is there any safe way to print out my own information in WB?
Just afraid that WB may wrong understand my debug information as its commands.
If you don't use any dangerous words like 'move' at the start of a line,
or 'error' somewhere, it's perfectly same.
My engine prints out a lot of goo even in winboard mode and I've never
seen WinBoard complain.
--
GCP
Gian-Carlo Pascutto
 

Re: Newbie question: how to display more info when engine is

Postby Stefan de Buhr » 22 Apr 2002, 19:25

Geschrieben von: / Posted by: Stefan de Buhr at 22 April 2002 20:25:03:
Als Antwort auf: / As an answer to: Newbie question: how to display more info when engine is playing inside WB? geschrieben von: / posted by: Pham Hong Nguyen at 22 April 2002 07:45:23:
You can use OutputDebugString(). This function sends the output to the debugger. You can use the application DebugView available at www.sysinternals.com to catch the output. It's a nice application which can trace and save and ... those debug messages.
Bis gleich ...
Stefan
Stefan de Buhr
 


Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: Baidu [Spider] and 14 guests

cron