wesnoth/utils/ai_test/ai_test.cfg

73 lines
2.1 KiB
INI

[default]
# The title is only used when using the database.
# Include in the title some hints of the version
# of the AI you are using
# (e.g. "V3 Combat Analysis weighted twice")
title = Untitled
path_to_wesnoth_binary = ../../cmake_build_dir/wesnoth
# this is the first parts of arguments
# the second part is added by the script
# the first argument should be the
# relative path to <data-directory>
additional_arguments = ../../ --controller=1:ai --controller=2:ai --parm 1:gold:200 --parm 2:gold:200
# This is the number of tests when
# structured_test = no
number_of_tests = 2
# Repeats each test n times using the --repeat argument.
# The idea behind this is that repeated games will run
# without executing wesnoth over and over again.
# When n is high enough it will save ~30 % execution time.
# The number of total games is
# number_of_tests * repeats.
repeat = 1
# If you encounter problems with macros
# (e.g. "Macro/file 'AI_CA_GOTO' is missing")
# add the following line at the beginning
# of the AI's cfg-file:
# {core/macros}
ai_config1 = ai/ais/ai_default_rca.cfg
ai_config2 = ai/dev/idle_ai.cfg
# leave empty for random fractions
# Possible factions are: Drakes, Rebels, Undead, Northerners, Knalgan Alliance, Loyalists
faction1 =
faction2 =
randomize_sides = yes
# When set to 'yes' the factions will be not randomized.
# Instead each faction-combination will play <repeat> times.
# <number_of_tests>, <faction1>, <faction2> will then be ignored.
structured_test = no
# Comment this line out when you don't want to create logfiles.
# See here for time-format conventions: http://docs.python.org/2/library/time.html#time.strftime
log_file = ai_test__%Y_%m_%d__%H-%M__myAI_vs_default.log
# uncomment this line if you want to save
# the results in a sqlite3 Database
# Note that we should have write access to this file.
# Also it is convenient to save the file outside the git repo.
# sqlite_file = ../../../ai_test_db/ai_test.sqlite
map = multiplayer_Weldyn_Channel
#map = multiplayer_The_Freelands
#map = multiplayer_Den_of_Onis
#map = multiplayer_Fallenstar_Lake