Is there a PGN command line utility for Crosstables?
Moderators: hgm, Rebel, chrisw
-
- Posts: 593
- Joined: Sat Aug 20, 2011 9:43 am
Is there a PGN command line utility for Crosstables?
Does anyone know of a command line program which inputs a pgn file and outputs a crosstable. The crosstable should include SB.
-
- Posts: 1056
- Joined: Thu Mar 09, 2006 4:15 pm
- Location: Long Island, NY, USA
Re: Is there a PGN command line utility for Crosstables?
"resultTable" in 40H-PGN Utility Suite. Click "www" below.
-
- Posts: 593
- Joined: Sat Aug 20, 2011 9:43 am
-
- Posts: 27817
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Is there a PGN command line utility for Crosstables?
hgtblB.exe in the ChessLive! package is another one.
-
- Posts: 6997
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Is there a PGN command line utility for Crosstables?
There is an undocumented version of ProTools that does the job.
http://www.top-5000.nl/dl/protools15.zip
Steps
1. Copy the PGN into the PGN folder.
2. Start ProDeo
3. Press F1
4. Load PGN
5. Cross Table
Doing this with the included TEST.PGN file your browser will fire up and you get:
Maximum number of players (engines) is 100.
http://www.top-5000.nl/dl/protools15.zip
Steps
1. Copy the PGN into the PGN folder.
2. Start ProDeo
3. Press F1
4. Load PGN
5. Cross Table
Doing this with the included TEST.PGN file your browser will fire up and you get:
Code: Select all
No. Engine 1 2 3 Score
----------------------------------------------------
1 Tornado 4.82 x64 1CPU xxxxx 13.0 13.5 26.5 / 51 (51.96%)
2 Jonny 4.00 1CPU 13.0 xxxxx 0.0 13.0 / 26 (50.00%)
3 Equinox 0.80 x64 1CPU 11.5 0.0 xxxxx 11.5 / 25 (46.00%)
-
- Posts: 1056
- Joined: Thu Mar 09, 2006 4:15 pm
- Location: Long Island, NY, USA
Re: Is there a PGN command line utility for Crosstables?
I reviewed "resultTable" and I noticed it does all that was requested EXCEPT the pairing results.Norm Pollock wrote:"resultTable" in 40H-PGN Utility Suite. Click "www" below.
However, I have another tool in the same package that lists pairing results (games/wins/draws/losses). It is "pairList".
Both can handle large pgn files with many players.
-
- Posts: 3553
- Joined: Thu Jun 07, 2012 11:02 pm
Re: Is there a PGN command line utility for Crosstables?
The free Chessbase Reader does what you want I think.
-
- Posts: 593
- Joined: Sat Aug 20, 2011 9:43 am
Re: Is there a PGN command line utility for Crosstables?
Hi Norm, I don't see "resultTable" listedNorm Pollock wrote: ↑Thu Oct 23, 2014 3:30 am "resultTable" in 40H-PGN Utility Suite. Click "www" below.
http://komodochess.com/pub/40H-pgn-util ... me-PGN.txt
expected output, simliar to
Code: Select all
Engine Score KoHoLcStEtBoFiAn S-B
1: Komodo 2118.00 4.5/5 Ṗ = 1 1 1 1 7.25
2: Houdini 6.03 4.0/5 Ṗ = 1 = 1 1 6.50
3: Lc0 17.11089 3.5/5 = Ṗ = = 1 1 7.00
4: Stockfish 220818 3.5/5 = = Ṗ = 1 1 6.25
5: Ethereal 10.88 2.5/6 0 0 = Ṗ = = 1 3.50
6: Booot 6.3.1 1.5/5 0 = 0 = = Ṗ 5.00
7: Fire 7.1 1.0/5 0 0 0 = Ṗ = 1.50
8: Andscacs 0.94 0.5/6 0 0 0 0 0 = Ṗ 0.50
-
- Posts: 593
- Joined: Sat Aug 20, 2011 9:43 am
Re: Is there a PGN command line utility for Crosstables?
I have an old version of resultsTable but it outputs
java pairList test.pgn gets very close. I guess one could just iterate over it's output and generate the expected output:
...
Code: Select all
#,Engine,Games,Wins,Draws,Losses,Points,SB
01,Komodo,2118.00,5,4+,1=,0-,4.5,7.25
02,Houdini,6.03,5,3+,2=,0-,4.0,6.50
03,Lc0,17.11089,5,2+,3=,0-,3.5,7.00
04,Stockfish,220818,5,2+,3=,0-,3.5,6.25
05,Ethereal,10.88,6,1+,3=,2-,2.5,3.50
06,Booot,6.3.1,5,0+,3=,2-,1.5,5.00
07,Fire,7.1,5,0+,2=,3-,1.0,1.50
08,Andscacs,0.94,6,0+,1=,5-,0.5,0.50
Code: Select all
Games : Win : Draw : Loss : Score
Alfilx64 : Andscacs 0.9403 1 : 0+ : 1= : 0- : 50.0%
Alfilx64 : Arasan 21.1 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Black Mamba 1 : 0+ : 1= : 0- : 50.0%
Alfilx64 : Bobcat 8.0 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Booot 6.3.1 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Chiron 20180913 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Crafty 25.2 1 : 0+ : 1= : 0- : 50.0%
Alfilx64 : Critter 1.6 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Ethereal 11.00 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Fire 7.1 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Gull 3.syz 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Hannibal 1.7 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Houdini 6.03 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Ivanhoe 999946h 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Komodo 2142 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Komodo MC 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Laser 250918 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Lc0 0.18.1 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Nemorino 5.05 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Nirvana 2.4 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Pedone 1.8 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Protector 1 : 0+ : 1= : 0- : 50.0%
Alfilx64 : Shredder 13 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Texel 1.08 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Wasp 3.30 1 : 0+ : 0= : 1- : 0.0%
Alfilx64 : Xiphos 0.4.3 1 : 0+ : 0= : 1- : 0.0%
Andscacs 0.9403 : Alfilx64 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Arasan 21.1 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Black Mamba 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Bobcat 8.0 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Booot 6.3.1 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Chiron 20180913 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Crafty 25.2 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Critter 1.6 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Equinox 3.30 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Ethereal 11.00 1 : 0+ : 0= : 1- : 0.0%
Andscacs 0.9403 : Fizbo 1.9 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Fritz 16.10 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Gull 3.syz 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Hannibal 1.7 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Ivanhoe 999946h 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Komodo 2142 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Komodo MC 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Laser 250918 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Lc0 0.18.1 1 : 0+ : 0= : 1- : 0.0%
Andscacs 0.9403 : Nemorino 5.05 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Nirvana 2.4 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Pedone 1.8 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Senpai 2.0 1 : 1+ : 0= : 0- : 100.0%
Andscacs 0.9403 : Stockfish 18092721 1 : 0+ : 0= : 1- : 0.0%
Andscacs 0.9403 : Vajolet 2.6.1 1 : 0+ : 1= : 0- : 50.0%
Andscacs 0.9403 : Wasp 3.30 1 : 1+ : 0= : 0- : 100.0%
-
- Posts: 191
- Joined: Mon Oct 31, 2016 6:30 pm
- Location: England
Re: Is there a PGN command line utility for Crosstables?
I just tried this with Scid, following instructions hereJesse Gersenson wrote: ↑Thu Oct 23, 2014 12:39 am Does anyone know of a command line program which inputs a pgn file and outputs a crosstable. The crosstable should include SB.
http://scidvspc.sourceforge.net/doc/progref.html
I've never tried Scid via the command line before, I use the GUI in linux and windows.
After a few failed commands, I finally managed to create a cross table for an old small pgn file.
The clean command sequence I used in linux is shown below.