arcdps: gw2 dps meter (and general combat metrics tool)

how to install, update, or uninstall
 place d3d11.dll next to gw2-64.exe while the game is not running, optionally can be renamed to dxgi.dll.
 addons and arcdps config folder will be created next to gw2-64.exe after starting the client.
 to update, replace dll.
 to reset, exit gw2 and remove the config folder above.
 to remove, exit gw2 and delete the dll.
 expect to have to update after major game changes.

how to use
 don't be a dick.
 by default, holding alt and shift is required for hotkeys, t is the hotkey for options.
 right click on windows to bring up their independent options (if available).

something isn't working
 check your 'gw2 install dir/addons/arcdps/' folder for an arcdps.log.
 if nothing is drawn make sure the dll is in the right place.
 if the game crashes at character select, some other application is interfering (razer cortex, razer synapse).
 if you get an image modified error, some other application is interfering (eg bitdefender, citrix 22, razer cortex, razer synapse, groupy).
 if windows are drawn but a hotkey isn't working, some other application may have a global hook installed (zoom).
 if you get a file creation error, make sure gw2 has read/write permission to the paths mentioned, or run as admin.
 if you notice an issue in accuracy, compare area skills vs self skills, try and isolate which gear/buff/trait may be causing it.
 if you suspect arcdps as the cause of a crash, remove all addons and chainloads and try to repeat the crash.
 check the troubleshooting pin in the arcdps-issues channel on discord to avoid repeat questions.
 if your issue is not in the pins, describe in detail and attach the complete arcdps or lastcrash or event viewer 'windows error reporting' log.

evtc logging
 pve: starts on player combat enter, boss set by damage event on boss, stops when all players exit combat.
 wvw: starts on player vs player damage, stops when all squad players exit combat.
 map: starts on joining instance type map, ends on leaving to character select.
 npc id can be found via detail window and looking for species in title, or tooltip in target list after attacking.
 logs are written to 'documents/gw2/addons/arcdps/arcdps.cbtlogs/.../date-time.evtc' by default.

extensions and parsing data
 most extensions and links to parsing tools can be found on elite insights' discord.
 place next to gw2 exe or in gw2 install dir/bin64/.
 api example code and readme:
 evtc writing code and readme:

 place translation in gw2 install dir/addons/arcdps/, named arcdps_lang.ini.
 /u/Snowy1794: (chinese simplified).
 /u/bluelovers: (chinese traditional).
 creating a translation:

 area is missing buff extension source (eg. signet of inspiration) - not notified by server.
 area is missing percent-based damage (eg. matthias' hadouken) - not notified by server.
 area is missing some siphon damage (eg. food, sigil, some traits) - not notified by server.
 area is missing healing - not notified by server.
 area is missing hard cc - not notified by server.
 area is missing combo finishers - not notified by server.
 area condition damage uses simulated attribute building from gear, traits, and buffs, on a simulated server tick.
 area condition damage scaling in levels 1 to 79 is different from the game's scaling.
 area condition damage on-skill-use procs on animation start instead of on skill use - not notified by server.
 area breakbar damage missing on some breakbar changes initiated by damageless skills.
 area breakbar damage missing for breakbar changes that cause a breakbar to recharge (does not affect deactivate).
 area strike damage notify bubble may cause some events (eg. deimos) to be out of range - not notified by server.
 area strips ignore last-stack stability, cc and strip indistinguishable.
 area skill activation will only count skills which have animations (no shouts, no instants) - not notified by server.
 area overstack and applied do not include ignored stacks (lower than lowest existing stack) - not notified by server.

 oct.01.2023: updated for sep26 game build, probably not entirely.
 sep.20.2023: fixed self skills not calculating without dps window.
 sep.20.2023: fixed kits not using weapon stats (since previous).
 sep.20.2023: fixed pet damage estimating high.
 sep.20.2023: capped all tooltip max widths as a workaround to blowouts.
 sep.12.2023: updated for sep12 game build maybe.
 sep.12.2023: evtc: reset all polled stats on spawn (previously only on logstart).
 sep.09.2023: fixed a bug that could stall or freeze the game in several previous builds.
 sep.02.2023: evtc/api: fixed buff change events using wrong values.
 aug.30.2023: fixed is-loaded (ui hide) detection maybe.
 aug.30.2023: more fat trimming, more efficient implementation for formula filters.
 aug.27.2023: fixed some buff conditions failing since previous.
 aug.25.2023: fixed imgui input filtering if camera is mouse-controlled.
 aug.24.2023: fixed wrong scaling for profession text in display options since previous.
 aug.24.2023: fixed hidable windows from not hiding in same map loading screens.
 aug.22.2023: added default ids for new strikes.
 aug.22.2023: "fixed" missing implementations for several formula filters (since forever...).
 aug.22.2023: removed d3d9 support code.
 aug.22.2023: save session before updater restarts client.
 aug.22.2023: evtc: CBTS_EFFECT2 is_flanking if effect is on moving platform (coords relative to platform).
 jul.26.2023: fixed stray window size constraint in area stats tooltip.
 jul.26.2023: evtc: fixed map log not resetting properly in some (short) instances.
 jul.19.2023: fixed missing guids for effects since previous.
 jul.19.2023: fixed cbts language since previous.
 jul.19.2023: changed cbts_effect2 orientation (again, sorry) to original*1000 clamped to int16.
 jul.18.2023: updated for jul18 game build maybe.
 jul.18.2023: added kanaxai cm to default logging list.
 jul.18.2023: evtc: player added to table only if in combat.
 jul.18.2023: evtc: retired CBTS_EFFECT.
 jul.18.2023: evtc: added CBTS_EFFECT2 (changed orientation encoding).
 jul.18.2023: evtc/api: added CBTS_FRACTALSCALE (src agent is scale) on log start.
 jul.03.2023: removed manual effect for trait heat the soul.
 jul.03.2023: added manual effect for trait blood reaction.
 jul.03.2023: added manual effect for trait second opinion.
 jul.02.2023: clamp server tick to maybe prevent blowout condition damage.
 jun.27.2023: updated for june 27 game build maybe.
 may.02.2023: fixed a rare crash that could happen after changing per-agent historical.
 may.02.2023: added option for duration disconnected/off-map squad member history is kept.
 may.02.2023: replaced ugly buff table buff list arranger with drag and drop.
 may.02.2023: use subgroup 1 colour for buff table as default (not 0/grey).
 may.02.2023: added buff table per-buff option to override calculating uptime as intensity or duration (hit/poll only).
 may.02.2023: added keybind options for metrics, self stats, self skills, default unbound.
 may.02.2023: undocumented fixes (or breaking things).
 mar.28.2023: updated for mar28 game build.
 mar.14.2023: fixed objective achievement suppressing since last game build.
 mar.01.2023: updated for feb28 part 2 (may not be the last).
 mar.01.2023: updated for feb28 (some things may still be broken).
 mar.01.2023: more consistent log saving in wvw.
 mar.01.2023: reduced memory usage for skill lists and buff table.
 mar.01.2023: changed encounter target reset to start of squad combat.
 mar.01.2023: changed active encounter and historical encounter to use same target rules.
 mar.01.2023: fixed loading historical from area log not restoring some statechanges.
 mar.01.2023: fixed initial events missing after boss statreset in some cases.
 mar.01.2023: fixed some buff change events being identified as buff damage.
 mar.01.2023: fixed area stats sliding stats time when excludes not used.
 mar.01.2023: fixed area stats sliding stats time window title.
 mar.01.2023: added buff table sliding time range option for in hit percent, poll percent.
 mar.01.2023: added export e10, statechange CBTS_EXTENSIONCOMBAT.
 mar.01.2023: added export listextension (see api docs) to list extensions.
 feb.18.2023: added option to not auto open crash log.
 feb.18.2023: updated mech inheritance since feb14 game build (best guess).
 feb.18.2023: fixed manual effect for mechanical genius.
 feb.02.2023: fixed an issue where some logs were improperly wvw type.
 jan.31.2023: fixed a crash if formatmessage (update check) fails.
 jan.31.2023: removed dll export addextension, replaced with addextension2.
 jan.31.2023: removed dll export freeextension, replaced with freeextension2.
 jan.14.2023: added buffs table option to sort by profession.
 jan.14.2023: changed profession sort to use elite spec as secondary sorting.
 jan.14.2023: maybe fixed tooltip names with minion text causing size blowout.
 jan.12.2023: fixed secondary npcs not counting to target total.
 jan.12.2023: changed autoupdate to search module list instead of relative to gw2 exe.
 jan.11.2023: maybe fixed wrong boss npc being set in previous update.
 jan.10.2023: maybe fixed multiple instance guard since last few updates (fixes load/save broken configs).
 jan.10.2023: further changed logging boss npc setting/reset conditions.
 jan.10.2023: evtc/api: lognpcupdate dst_agent set to id of agent, flanking 1 if gadget.

 here (20231002-215403)