Repository navigation
Releases
v0.7.6 · Smaller adjustable fonts
Smaller adjustable fonts
- Display → Text size now spans 10–32 px, with 1 px steps and a numeric size readout.
- Chinese and pinyin scale together; English stays smaller than Chinese. For example, 12 px Chinese uses 9 px English; 10 px Chinese uses 8 px English.
- Font changes keep the current capture, loaded models and speech. Close the panel to preview the new size without recapturing.
- Fresh installs default to the smallest size. Updates retain your saved choice; lower it in Display → Text size.
- Move Display above Updates so the font control is easier to find.
From v0.7.4 or newer, open Updates → Check for updates → Update to 0.7.6 and confirm in Decky. Older versions can install Decky-Pinyin-0.7.6-offline.zip manually.
TypeScript/build, browser interaction/layout checks, and 17 targeted Python tests pass. Checks cover the live slider, Chinese/pinyin/English sizing, screen bounds, preserved capture/speech and saved font settings. Physical Deck readability and native update replacement/reload still need a device check.
v0.7.5 · Tap to refresh and lighter backgrounds
Tap L4 to refresh
- With labels visible, tap and release L4 before 0.2 seconds to capture again using the current Simplified/Traditional selection.
- Hold either L4 or L5 for 0.2 seconds to dismiss. Holding and releasing cannot also trigger a refresh.
- With no overlay, hold L4 for Simplified or L5 for Traditional as before.
- Ignore short L5 presses and taps while recognition is busy. Pressing both script keys cancels the gesture until both are released.
- Make label backgrounds more transparent: 80% opacity instead of 94%. Reduce full-screen dimming from 12% to 8%; text remains fully opaque.
From v0.7.4: open Decky Pinyin → Updates → Check for updates → Update to 0.7.5, then confirm in Decky's dialog.
From older versions: install Decky-Pinyin-0.7.5-offline.zip manually once.
TypeScript/build and browser checks pass, including tap/hold distinction, retained Traditional and Simplified selections, ignored busy taps, long holds without repeated actions, chord cancellation and unloading during a press. Existing overlay, updater, speech and capture checks pass. Actual Deck gesture timing, readability and the native update install/reload still need a device check.
v0.7.4 · Update from the Decky plugin
Update directly from the plugin
- Add Updates → Check for updates, followed by Update to … when a newer release exists.
- Decky's native dialog handles confirmation, download, SHA-256 verification and plugin reload.
- Include numbered prereleases, show the available version/download size, and prevent accidental downgrades.
- Report offline, timeout, rate-limit, incomplete-release and unsupported-installer errors with retry available. No automatic update polling or credentials.
- Keep recognition, pinyin, translation and speech fully offline.
Install Decky-Pinyin-0.7.4-offline.zip manually once to get the update buttons. Future releases can then be installed from the plugin. Internet is needed only for checking/downloading updates.
The README now focuses on installation and use; development/build/release guidance moved to AGENTS.md. It explicitly describes the plugin as functional but still under development, with UX work remaining, and explains that the public repository makes in-plugin updates easier.
TypeScript/build and browser checks pass, including release ordering, prereleases, checksum validation, error recovery and the exact native installer handoff. An anonymous live release/checksum request also passed. Actual download, replacement and reload through Decky still need a physical Steam Deck check.
v0.7.3 · Compact labels and ordered dialogue
Compact overlay and correct dialogue order
- Keep dialogue rows in reading order. If the bottom rows run out of room, move the group upward; use additional pages only when it cannot fit.
- Smaller default text: 14 px Chinese, about 9 px pinyin, and 11 px English. The text-size slider now starts at 14 px.
- Reduce padding, line spacing, token spacing and gaps between cards. Short cards can be narrower without forcing long dialogue into narrow columns.
- Replace the sound emoji with a small monochrome speaker icon. Automatic Mandarin speech remains on by default.
- Preserve the working game-window overlay, dark label backgrounds and subtle screen dimming.
Install Decky-Pinyin-0.7.3-offline.zip through Decky's ZIP installer. It includes the local models and runtime; no model download is needed on the Deck. Existing saved text size can be lowered to 14 in the panel.
Verified locally with TypeScript/build, browser layout and interaction checks, and 13 configuration/plugin tests. Browser regressions cover bottom-row order, variable heights, paging, compact fonts, separate loader/game windows and existing hotkeys/speech. The user confirmed 0.7.2 renders on Deck; 0.7.3 compactness/readability still needs a device check.
v0.7.2 — Render labels in the correct Steam window
Fix: overlay rendered into the wrong Steam window
A two-window regression test reproduced the v0.7.1 failure: the component was rendered into a 1280×800 game UI window, but its overlay was attached to the module's 320×240 loader window. The game UI had no labels while recognition and speech continued.
The overlay now obtains its document from the element actually rendered by Decky (ownerDocument) and measures the full-screen overlay surface itself. It no longer uses the module-global document or viewport to select and size the overlay.
The same test now shows two labels in the game window and none in the loader. It also verifies correct capture coordinates, game-window resizing/letterboxing, no movement when the loader window resizes, and correct cleanup.
Retained behavior
- L4 Simplified / L5 Traditional; 0.2-second capture/dismiss holds.
- Wide dark labels at source positions, no overlapping labels or pinyin.
- Previous/Next pages for dense captures.
- Light 12% screen dimming; no full-screen screenshot or opaque black background.
- Automatic offline Mandarin speech.
Install Decky-Pinyin-0.7.2-offline.zip through Decky's ZIP installer. Browser checks reproduce and fix the window mismatch; actual Steam Deck confirmation is still needed.
v0.7.1 — Isolated labels and visible page controls
Invisible-label repair
The user reported working speech but invisible labels in v0.7.0. This update moves the overlay into a separate body-level layer with isolated styles, protecting it from clipping, transforms and global CSS in the surrounding Steam/Decky UI. The exact device-side cause has not yet been confirmed.
The Scroll to read all labels fallback is removed. Crowded captures now have Previous / Next buttons; each page keeps labels near their original positions and prevents overlap. No page is intentionally blank.
L4/Simplified, L5/Traditional, 0.2-second holds, dark label backgrounds, 12% screen dimming and automatic offline Mandarin speech are retained. Dismissal removes the overlay layer and stops speech.
Coordinates come from the original capture, normalized and scaled to the browser viewport with letterbox offsets. A 1280×800 capture on a 1280×800 viewport maps 1:1; this uses Steam's browser viewport, not a physical display-resolution query.
Verification
Browser tests apply a clipped/transformed parent and host CSS that hides labels, then check that the isolated labels remain visible and receive hit tests. Crowded fixtures visit every page and verify non-overlap and access to every line. The Linux workflow also runs the Python suite, frontend build, packaged capture and offline speech checks. Steam compositor behavior still needs a Deck test.
Install Decky-Pinyin-0.7.1-offline.zip using Decky's ZIP installer.
v0.7.0 — Separate Chinese script keys and overlay fixes
Install
Download Decky-Pinyin-0.7.0-offline.zip and use Decky's ZIP installer. All models are included.
Controls
- L4: Simplified Chinese. L5: Traditional Chinese. Hold for 0.2 seconds. The chosen script applies to that capture without reloading models.
- When labels are visible, either key dismisses them and stops speech. Release and hold the desired key for the next capture.
- Both capture buttons and the key mapping are near the top of the plugin panel. Shortcuts remain enabled by default.
Overlay fixes
- Removed the full-screen screenshot display and opaque black background. Labels appear over the live game with only 12% translucent dimming.
- Dark label backgrounds are retained, anchored over the original text locations.
- Labels have a readable minimum width instead of squeezing into narrow OCR boxes.
- Pinyin syllables use separate layout boxes. Labels move to the nearest free position when necessary to avoid collisions.
- If a dense capture cannot fit without overlap, all labels remain accessible in a scrollable reading list.
- Labels describe the captured text and positions; dismiss and recapture when dialogue moves.
Speech
Piper Huayan medium Mandarin (zh_CN-huayan-medium.onnx), entirely offline on CPU. Automatic reading remains enabled by default.
Verification
39 Python tests, TypeScript/build and browser interaction checks passed locally. Tests cover alternating scripts without model reload, both hotkeys, narrow OCR boxes, source positions, pinyin and card collisions, crowded scrolling, panel buttons, automatic speech and cancellation. Linux CI also checks packaged capture and offline PipeWire speech. These overlay changes still need testing in Steam's compositor on the Deck.
v0.6.1 — Automatic Mandarin reading
Automatic Mandarin reading
Fresh installs now have Read Chinese after capture enabled by default. Each successful capture reads the recognized Chinese aloud once, entirely offline. English translation updates do not repeat speech. L5 dismissal stops playback.
The setting can still be turned off for button-only speech. Existing saved settings are preserved; if upgrading without clearing settings, enable Read Chinese after capture in the panel once.
Includes all v0.6.0 features: 0.2-second L5 capture/dismiss, default activation, Traditional Chinese, 16 px default text and labels near original text.
Install Decky-Pinyin-0.6.1-offline.zip using Decky's ZIP installer. The source ZIP is for development.
v0.6.0 — Short L5, Traditional Chinese and offline speech
Install
Download Decky-Pinyin-0.6.0-offline.zip, then install that ZIP from Decky Developer settings. All models and the Mandarin voice are included; no runtime internet connection is required.
Changes
- L5 replaces L4. Hold for 0.2 seconds to capture or dismiss.
- Enabled by default on plugin load; explicitly disabling it is remembered.
- Default text size is 16 px, the slider minimum.
- Traditional Chinese support with Auto / Traditional / Simplified output modes.
- Chinese, pinyin and English labels appear near the detected original text, with collision handling and screen-edge clamping.
- Offline Mandarin speech: tap a label's speaker or use Speak captured Chinese. Optional Read Chinese after capture is off by default. Dismissal, capture and disable stop speech.
- Retains the capture and overlay path confirmed working in v0.5.1.
Verification
38 Python tests, TypeScript/build and browser interaction checks pass. The Linux workflow also checks the packaged runtime, PNG/RGB capture and offline voice playback against a synthetic PipeWire audio sink. Physical Steam Deck playback and the new controls/layout still need testing.
The source ZIP is for development. Install the offline ZIP.
v0.5.1 — Remove obsolete capture code
Cleanup
Removed obsolete continuous-capture settings and code: sampling interval, change detection, live stream loop, background translation queue, skipped-frame counters, and an unused frontend timestamp. Manual capture owns serialization and cancellation; each screenshot runs OCR/pinyin and then optional English translation.
Capture, controller handling and offline models are unchanged from 0.5.0. Hold L4 for 1 second to capture, or 0.5 seconds to dismiss.
Install Decky-Pinyin-0.5.1-offline.zip directly through Decky after deleting the old plugin. No settings migration is included.
32 Python tests, TypeScript/build and browser interaction checks passed locally. Physical Deck validation remains pending. The removed tests covered the removed streaming behavior; manual capture, dismissal, local models and input coverage remain.
Linux CI passed, including the local-model benchmark and PipeWire PNG/RGB capture integration.