# Configuration file for the Baron
# Comments are preceded by a '#'
# This configuration uses about 58 Mb of hashtables

# Hashtable settings
# Transposition hash in kilo-bytes. This size is a maximum.
# The actual allocated amount is probably less
hash 50000
# Pawn hash in kilo-bytes. This size is a maximum.
# The actual allocated amount is probably less
shash 10000

# Nalimov Endgame Tablebases settings
# Path to the EGTB's
tbpath C:\Tablebase
# Amount of EGTB cache in kilo-bytes
cache 4096
# The minimum remaining depth for an EGTB probe to be done
tbdepth 4

# Book settings
# The name of the bookfile.
# Note that W.obp and B.obp will be added by the Baron
bookfile baron
# Select old or new style book. on is newstyle, off is old bookformat.
# The books on the website are old-style.
dbbook off

# Learning settings
# Turning learning on or off. 
#	0: no learning at all
#	1: Learning on, but do not use learned info
#	2: Learning off, but use previous learned info
#	3: Learning on, and use learned info in search
#       7: Learning with additional bonus based on game result
learning 3
# Name of the learn file, defaults to the name of the executable
learnfile Baron
# Name of the learnfiles to import, when present
addlrnfile oldbaron
# Whether or not learning information of older versions can be imported
# values on/off
acceptoldlrn off

# Logfile settings
# create logfile or not
log on
# append or overwrite the logfile
logmode overwrite

# Personality parameters.

# Piece value parameters in percentage of default value
knightvalue 100
bishopvalue 100
rookvalue 100
queenvalue 100

# Percentage of the kingsafety scores in evaluation.
# Can be > 100% but not lower than 0%
kingsafety 100
pawnshield 100
# King safety reduction threshold, to reduce high scores that are not really
# based on actual danger, the higher the threshold, the higher the king safety
# scores may become. Lowering the threshold also reduces speed a little.
kingattackthreshold 50

# Percentage of pawn structure scores in evaluation
weakpawns 100

# Search parameters.

# Percentage of the extensions to be done
extensions 100
# Number of plies the search will extend unrestricted
extensionlimit 11
# Recapture Extensions
# Percentage of the default amount
recaptureext 100
# Minimum window size for a PVS scout to be performed
scoutthreshold 5
# Minimum improvement over the previous PV move
scoutmargin 2
# Minimum depth to perform Internal Iterative Deepening
iidmindepth 4
# Minimum depth to try ETC
etcmindepth 4

# LMR parameters
# Number of moves that will always be considered without reductions (0 turns off LMR)
lmrmoves 0
# Positional margin used to reduce positional errors
lmrmargin 5
# Whether or not LMR will be done in non-scout tree's i.e. when examining (potential) PV moves
lmrpv off

# Gameplay parameters
# Resign score. The Baron resigns when the score is 4 times in a row below
# the resign score.
resign -900
# Easymove. Move faster when one move is clearly better than others
# Specified in amount of centipawns that it has to be better. 0=off
easymove 300

# Time Management
# Use opponent time. If the opponent used more time, use more time as well
# to prevent getting into lost positions. Percentage of the default.
useotime 100
# Heuristics for the average minimum number of moves left in the game
blitzmin 25
# Heuristics for the average number of remaining moves left in the game at the start of the game
blitzbase 40
