APM 2 - actions per minute.
For plain (vanilla) Dawn of War II: Retribution 3.19 without the Elite launcher.

What it does: your clicks and key presses per minute while a match runs, smoothed over about the last 5 seconds of
game time (a fight shows at once, the number does not jump), in the
game's own interface: at the top next to the match timer (default) or in the bottom left corner of the minimap.
A match without the victory point counter (annihilation) shows it in the minimap corner. At the end of the match the
log gets your average APM for the match and the peak (any 10 s). Only you see it. The presses are read from Windows, nothing goes to the game.

Sync: not affected. Your opponents do not need it.

Install:
1. Copy winmm.dll and the dow2-patches folder into the game folder (where DOW2.exe is), usually
   Steam\steamapps\common\Dawn of War II - Retribution
   If winmm.dll and dow2-patches are already there (you installed our patches before), copy
   dow2-patches\APM.dll and APM.ini and replace winmm.dll with this one (the same loader, newer).
2. Start the game as usual. dow2-patches\APM.log gets a line
   "APM 1 (own add-on: actions per minute beside the victory point counter, in the game's own HUD movie)".

APM.ini - settings, changed while the game runs: Place=top | left | minimap, Smooth - seconds of smoothing
(5; 0 = a hard Window instead, Window=0 = the average over the whole match), Label, FontSize, Color, OnlineOnly=1 - only in online matches.
Next to the timer it looks best together with the MatchTimer package, but works without it too.

Turn off: Enabled=0 in dow2-patches\APM.ini (from the next start), or delete dow2-patches\APM.dll.
Remove everything: delete winmm.dll and the dow2-patches folder. No game files are changed.
Log: dow2-patches\APM.log ("APM shown" = the number came up in a match, "match over: ... APM on average" = the result).

In the Elite launcher the same is the tick "APM (actions per minute)".
