To run the tests that require an actual game installation, you need to set the
TOEE_DIR
environment variable to your Temple of Elemental Evil installation
directory before running the tests.
The tests support recording video of the test run, and making screenshots at the
end of the test. They will be attached to the test report. You need to download
ffmpeg
and place it in the ffmpeg
directory at the repository root to enable
video recording during tests.
MES files in the game directory can be patched easily by placing additional
files into a .d
subdirectory. When the game reads a <filename>.mes
file, it'll
search for all files in the <filename>.d
directory next to the file. The files
will be sorted alphabetically and then merged into the original files content
in order.
Example
When reading mes\combat.mes
, the files mes\combat.d\00-spell_levels.mes
and
mes\combat.d\99-more-things.mes
would also be merged into the resulting dictionary
in order. Due to the alphabetical order, keys from 99-more-things.mes
would overwrite
keys from 00-spell_levels.mes
.