]> git.sesse.net Git - remoteglot/blobdiff - config.pm
Move most configuration into a separate file.
[remoteglot] / config.pm
diff --git a/config.pm b/config.pm
new file mode 100644 (file)
index 0000000..b9422e6
--- /dev/null
+++ b/config.pm
@@ -0,0 +1,37 @@
+# Default configuration. Copy this file to config.local.pm if you want
+# to change anything instead of modifying this (so you won't have to make
+# changes in git).
+
+package remoteglotconf;
+
+our $server = "freechess.org";
+our $nick = "SesseBOT";
+our $target = "GMCarlsen";
+
+our $engine_cmdline = "./stockfish";
+our %engine_config = (
+#      'NalimovPath' => '/srv/tablebase',
+       'NalimovUsage' => 'Rarely',
+       'Hash' => '1024',
+#      'MultiPV' => '2'
+);
+
+# Separate engine for multi-PV; can be undef for none.
+our $engine2_cmdline = undef;
+our %engine2_config = (
+#      'NalimovPath' => '/srv/tablebase',
+       'NalimovUsage' => 'Rarely',
+       'Hash' => '1024',
+       'Threads' => '8',
+);
+
+our $uci_assume_full_compliance = 0;                    # dangerous :-)
+our $update_max_interval = 1.0;
+our @masters = (
+       'Sesse',
+);
+
+
+eval {
+       require 'config.local.pm';
+};