X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=opening-stats.pl;h=1c17f50af253431e7baeb3e38163a5ed20bbc15a;hb=2a322a4ad576d87535ce8a479f7a516da9457e80;hp=f8dd56d502def8bc835b870c507cf9f52afa189e;hpb=6b7db3523af062ebb020b53592cf6ad0e128131c;p=remoteglot-book diff --git a/opening-stats.pl b/opening-stats.pl index f8dd56d..1c17f50 100755 --- a/opening-stats.pl +++ b/opening-stats.pl @@ -5,13 +5,10 @@ use CGI; use JSON::XS; use lib '..'; use Position; -use ECO; - -#ECO::unpersist(); my $cgi = CGI->new; my $fen = $ARGV[0]; my $pos = Position->from_fen($fen); my $hex = unpack('H*', $pos->bitpacked_fen); -system("./binlookup", "./open.mtbl", $hex); +system("./binlookup", "./open.mtbl", "40", $hex);