]> git.sesse.net Git - remoteglot/blob - config.pm
e036a4d9fce5251ec20fdb140f7b280345d78cb9
[remoteglot] / config.pm
1 # Default configuration. Copy this file to config.local.pm if you want
2 # to change anything instead of modifying this (so you won't have to make
3 # changes in git).
4
5 package remoteglotconf;
6
7 our $server = "freechess.org";
8 our $nick = "SesseBOT";
9 our $target = "GMCarlsen";  # FICS username or HTTP to a PGN file.
10
11 # Set to non-undef to pick out one specific game from a PGN file with many games.
12 # See example.
13 our $pgn_filter = undef;
14 #our $pgn_filter = sub {
15 #       my $pgn = shift;
16 #       return $pgn->round() eq '7' && $pgn->white eq 'Carlsen,M';
17 #};
18
19 our $json_output = "/srv/analysis.sesse.net/www/analysis.json";
20 our $json_history_dir = "/srv/analysis.sesse.net/www/history/";  # undef for none.
21
22 our $engine_cmdline = "./stockfish";
23 our %engine_config = (
24 #       'NalimovPath' => '/srv/tablebase',
25         'NalimovUsage' => 'Rarely',
26         'Hash' => '1024',
27 #       'MultiPV' => '2'
28 );
29
30 # Separate engine for multi-PV; can be undef for none.
31 our $engine2_cmdline = undef;
32 our %engine2_config = (
33 #       'NalimovPath' => '/srv/tablebase',
34         'NalimovUsage' => 'Rarely',
35         'Hash' => '1024',
36         'Threads' => '8',
37 );
38
39 our $uci_assume_full_compliance = 0;                    # dangerous :-)
40 our $update_max_interval = 1.0;
41 our @masters = (
42         'Sesse',
43 );
44
45 # ChessOK serial key (of the form NNNNN-NNNNN-NNNNN-NNNNN-NNNNN-NNNNN)
46 # for looking up 7-man tablebases; undef means no lookup. Note that
47 # you probably need specific prior permission to use this.
48 our $tb_serial_key = undef;
49
50 eval {
51         require 'config.local.pm';
52 };