Skip to content

Automatic farm reseed queueing for Age of Empires II: The Conquerors

License

Notifications You must be signed in to change notification settings

SiegeEngineers/aoc-farm-auto-reseed

Repository files navigation

aoc-farm-auto-reseed

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.

Usage

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.

Recorded Game Parsers

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.

Build

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

License

LGPL-3.0

About

Automatic farm reseed queueing for Age of Empires II: The Conquerors

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published