ObsFix 1 - observer lag when spectating a live game (test).
For plain (vanilla) Dawn of War II: Retribution 3.19 without the Elite launcher.

What it fixes: when you spectate a live game, the client asks "which slot am I in" dozens of times per frame and
rebuilds the whole match info every time - live spectating stutters. The patch remembers the answer for 500 ms, and
a live match runs as smoothly as a replay. The players in the match do not need it.

Sync: not affected - only how often the client works out its own slot changes. Nobody else in the match needs 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\ObsFix.dll and ObsFix.ini and replace winmm.dll with this one (the same loader, newer).
2. Start the game as usual. dow2-patches\ObsFix.log gets a line
   "ObsFix v1: observer slot lookup cached for 500 ms (patched 00AE6850)".

ObsFix.ini - settings: Enabled (1/0), CacheMs - how many milliseconds the answer is remembered (default 500).

Turn off: Enabled=0 in dow2-patches\ObsFix.ini, or delete dow2-patches\ObsFix.dll.
Remove everything: delete winmm.dll and the dow2-patches folder. No game files are changed.
Log: dow2-patches\ObsFix.log.

This is a test: if spectating got worse or the game crashes, delete the DLL and tell us. In the Elite launcher the
same is the tick "Observer lag fix (experimental)".
