Wire Fix


Select an area to rebuild copper wire connections between electric poles by distance, preserving external connections.

Utilities
15 days ago
2.0
1.62K
Power

Changelog

Version: 0.2.2
Date: 2026-05-07
  Changes:
    - Slight tooltip phrasing improvement.
  Bugfixes:
    - Left-click now reliably preserves connectivity within each pre-existing network.
Version: 0.2.1
Date: 2026-05-06
  Bugfixes:
    - MST no longer leaves reachable poles in separate networks when the only valid bridge edge would visually cross a smaller already-accepted edge. A relaxation pass now force-adds such bridges after the regular intersection-checked pass.
Version: 0.2.0
Date: 2026-05-06
  Changes:
    - Algorithm rewritten: pattern detection (rectangles, parallelograms, isosceles triangles) followed by MST closure. The previous MST + cascade approach is gone — no more cascading wires.
    - Output is now deterministic. Identical layouts always produce identical results, regardless of pole placement order. (Previously results varied with creation order.)
    - No more visually overlapping parallel wires.
    - Click bindings reworked. Left-click preserves existing network separation (won't merge groups); Shift + left-click ignores network separation (the old left-click behavior — merges everything into one network); right-click removes all internal copper wires.
  Features:
    - Per-player setting "Max grid size" (32–8192, default 128). Larger values detect larger patterns at the cost of compute time. Replaces the previous max-connections-per-pole setting.
    - Per-player setting "Include electric pole ghosts" (default on). Apply to ghosts as well as built poles. Disable to skip ghost poles.
    - Tool tooltip notes how to raise the max grid size from Mod settings → Per player when large patterns aren't detected.
Version: 0.1.0
Date: 2026-04-30
  Features:
    - Initial release.
    - Selection tool to rebuild copper wires between electric poles by distance.
    - Reverse-select to disconnect all internal copper wires in an area.
    - Per-player setting for max connections per pole (1-8, default 4).
    - ALT + W shortcut and shortcut bar icon to get the tool.
    - Localized into 26 languages.