WoWDeckBridgeForever_v1.0.3
What's new
# WoWDeck – Changelog
## [v1.0.4] – 26.11.2026
**WoWDeck (Stream Deck Plugin v1.0.4) | WoWDeckBridgeForever (Addon v1.0.3) | WoWDeckBridgeRetail (Addon v1.0.3)**
### Stream Deck Plugin (`v1.0.4`)
- **Resilient 3-Stage Icon Architecture (`src/casc-reader.ts`, `src/blp-decoder.ts`, `src/icon-renderer.ts`):**
- **Stage 1 – Local Read-Only CASC Reader (100% Offline, Primary Source):** Reads icons by `FileDataID` directly in read-only mode (`fs.openSync(..., "r")`) from `<WoW-Root>\Data` (`.build.info`, build configs, `*.idx`, `data.XXX`, BLTE `N`/`Z`, `TSFM` v1/v2 `root`) including zero-config path resolution via `Win32Helper.cs` (`getWowPath`: Windows Registry & Battle.net uninstall keys first, running WoW process via `OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION)` fallback).
- **Pure-TypeScript BLP2-to-PNG Decoder (`src/blp-decoder.ts`):** Decodes mipmap level 0 of Blizzard `BLP2` textures (256-color palette with `alphaDepth` 0/1/4/8, DXT1, DXT3, DXT5, uncompressed BGRA) into standard PNGs using only `node:zlib`.
- **Stage 2 – Bundled `icon-map.json` + Static CDNs:** 33,898 plain text mappings (`assets/icon-map.json`, generated via `scripts/generate-icon-map.mjs`) for direct downloads from `render.worldofwarcraft.com/eu`, `render.worldofwarcraft.com/us`, and `wow.zamimg.com`.
- **Stage 3 – `wago.tools` Fallback with BLP2 Conversion:** Automatically detects and converts raw `BLP2` payloads from `wago.tools` into PNGs.
- **Network Protection & Diagnostic Logging:**
- Removed Wowhead HTML scraping completely; protects against IP rate-limit blocks via a `60m` negative cache, `30m` host circuit breaker (`403`/`429`/`503`), serial request queue (`300ms` spacing, `5000ms` timeout), and transparent logging via `streamDeck.logger`.
- **Full 8-Bit Stack / Charge Support (`0..255`):**
- `scanAndDecodeBgraBuffer()` in `src/telemetry-decoder.ts` reads the extended 8-bit stack value from the green channel of Row 1 (`progTexB`) both with and without an active cooldown.
### WoWDeckBridge Forever & Retail (`v1.0.3`)
- **8-Bit Stack Telemetry (`WoWDeckBridge.lua`):** Transmits full stack and charge counts (`0..255`) via Row 1 Pixel B (green channel) while keeping the Row 0 3-bit fallback (`0..7`).
---
## [v1.0.3] – 23.11.2026
**WoWDeck (Stream Deck Plugin v1.0.3) | Plugin-Only Update (`WoWDeckBridgeForever` & `WoWDeckBridgeRetail` remain on `v1.0.2`)**
### Stream Deck Plugin (`v1.0.3`)
- **Fix (Stack / Charge Count Contrast & Legibility at Bottom-Right in `src/icon-renderer.ts`):**
- **QtSvg Two-Pass Rendering:** Stream Deck's QtSvg renderer ignores SVG2 `paint-order="stroke fill"`, which previously caused the black outline to render **on top of** the white text. The count is now rendered in two separate `<text>` layers: first the dark stroke layer (`stroke="#000000"`, `stroke-width="5"`, `stroke-linejoin="round"`, `paint-order="stroke fill"`) and then the crisp pure-white foreground text (`fill="#FFFFFF"`, `font-family="Arial Black, sans-serif"`, `font-weight="900"`).
- **Rounded Background Pill & Edge Margin:** A dark rounded pill (`rx="9" ry="9"`, `fill="#000000"`, `fill-opacity="0.72"`) behind the count improves readability over bright or noisy spell icons. Positioning (`pillRight = 134`, `pillBottom = 134`, `text-anchor="end"`) keeps clear margin from rounded key corners and the red out-of-range border.
- **Dynamic Font Size & Z-Order:** Automatic font scaling at `36px` (1 digit), `34px` (2 digits), and `28px` (3+ digits such as `100+`). The badge sits at the top layer (Z-Order 4) above the base icon, status overlays (`notEnoughMana` / `outOfRange`), and the radial cooldown sweep.
---
> **⚠️ IMPORTANT – Plugin Update Required:**
> Because `v1.0.2` changes the cooldown telemetry encoding (threshold lowered from `240s` to `120s` to support cooldowns up to `137m`), **you MUST also download and install the new Stream Deck Plugin (`v1.0.2`)** from [GitHub Releases](https://github.com/Behmen-hub/WoWDeck/releases/latest).
> Running the `v1.0.2` addon with an older plugin (`v1.0.1` or earlier) will display incorrect cooldown timers.
## [v1.0.2] – 21.11.2026
**WoWDeckBridgeForever (Addon v1.0.2) | WoWDeckBridgeRetail (Addon v1.0.2) | WoWDeck (Stream Deck Plugin v1.0.2)**
### Protocol & Cooldown Encoding
- **Extended Cooldown Range (120s Threshold, up to 137 Minutes):** Lowered the byte threshold in `EncodeCooldownByte` / `encodeCooldownByte` / `decodeCooldownByte` from `240s` to `120s` (`0..120` = exact seconds, `121..255` = `120 + (byte - 120) * 60` seconds). Long cooldowns up to **137 minutes (8220s)** (such as Hearthstone, Soulstone, and major class cooldowns) are now transmitted instead of 19 minutes.
### Stream Deck Plugin (`v1.0.2`)
- **Matching 120s Decoding & SVG Font Scaling:** Added support for minute values up to `137m` in the decoder and automatic font size scaling in the SVG renderer (`46px` for 1–2 chars, `40px` for 3 chars like `30m`/`60m`, `36px` for 4 chars like `137m`) so long timers stay centered without clipping.
- **Single Plugin for Both Clients:** The unified plugin `com.behmen.wowdeck_v1.0.2.streamDeckPlugin` supports both Classic Forever and Retail seamlessly.
### WoWDeckBridge Forever (`v1.0.2`)
- **Cooldown Update:** Updated `EncodeCooldownByte` to the new `120s` threshold (supporting up to 137 minutes while preserving 1:1 pixel scaling and combat compatibility).
### WoWDeckBridge Retail (`v1.0.2` – Initial Release)
- **Official Port for World of Warcraft: Retail (The War Within 11.x / Midnight 12.x):**
- Added `WoWDeckBridgeRetail.toc` with Retail interface versions (`120000`, `110200`, `110105`, `110100`, `110007`, `110005`, `110002`, `110000`).
- Added `C_ActionBar` and `C_Spell` fallbacks (`GetActionInfo`/`C_ActionBar.GetActionInfo`, `C_ActionBar.GetActionSpellID`, `HasAction`/`C_ActionBar.HasAction`, `GetActionCount`/`C_ActionBar.GetActionCount`).
- **Multi-Charge Support:** Reads spell charges via `GetActionCharges` / `C_ActionBar.GetActionCharges` (`maxCharges > 1`).
- **Edit-Mode Button Support:** Supports modern Retail bars via `StanceBar.actionButtons` and `PetActionBar.actionButtons`.
- Updated
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

