Page 1 of 1

GUI-less linux analysis

PostPosted: 21 Jul 2010, 08:16
by ulver
Hi all !
I have pretty minimalistic linux build (based on gentoo) and it is absolutely has no GUI or X installed. previously I used it for pumping moves to Windows GUI
through netchess+plink.Is there any way to analyze games in command-line? I know about xboard -noGUI but i have no clue how to use it.

Re: GUI-less linux analysis

PostPosted: 21 Jul 2010, 08:36
by Dann Corbit
A simple way to analyze games from the command line is to turn them into EPD with one of the many PGN to EPD converters and then analyze the EPD records. If the engine you are using does not have a test mode, you can just make a perl script or something like that to analyze the rows one at a time with setboard + analyze or setboard + go or whatever else you may like.

Tools that can turn a chess game into EPD records:
1. pgn-extract by barnes
2. pgn2epd by Coulom
3. sankit or OCD by Edwards
4. pgn2fen by Foden (not sure if it works on Linux)
5. pgntoepd by Millaster (windows only, I think but maybe not)
6. PGNposition by Veluri

You can {for instance} use crafty compiled with sankit to analyze the records via
st <seconds>
epdpfga <inputfile.epd> <outputfile.epd>
where inputfile.epd is bare epd and outputfile.epd is epd data that has been decorated by the analysis.