A little mod that adds the farm auto-reseeding feature from AoE2: Definitive Edition to UserPatch 1.5.
This mod works together with UserPatch 1.5 and the aoc-mmmod loader.
Install the aoc-mmmod loader in your mod's Data\
folder. Grab aoc-farm-auto-reseed.dll
from the releases page, and place it in your mod's mmmods\
folder.
Games\Your Mod Name\Data\language_x1_p1.dll # the mmmod loader
Games\Your Mod Name\Data\language_x1_m.dll # optionally, language file with custom strings
# (with aoc-language-ini, this is not needed)
Games\Your Mod Name\mmmods\aoc-farm-auto-reseed.dll # the farm reseeding module!
Note This mod is sync-breaking. If you watch a game that was recorded with farm-auto-reseed in a version of UserPatch without it, you will get out of sync errors.
Toggling the farm reseed autoqueue is recorded in recorded game files. Existing parsers should not have issues reading those actions, but may want to treat queue toggles specially.
Normally, when you queue a farm reseed, a "Game" action with type 13 is written, together with how many farms are queued (1 or more). When toggling the autoqueue, a "Game" action with type 13 is written, with the number of farms set to 0.
This project can only be built with MinGW GCC compilers at this time.
To create a debug build (with some logging):
cmake -S . -B build
cmake --build build
To create a release build (smaller and faster and no logging):
cmake -S . -B build -DCMAKE_RELEASE_TYPE=Release
cmake --build build