Skip to content

v0.9.3 — lyrics.js / bilingual Three.js subtitles

Choose a tag to compare

@Alice-Marx Alice-Marx released this 05 Oct 17:04
· 8 commits to main since this release

lyrics.js compatibility and visible Three.js subtitles

  • Select the original local wiers-jack src/lyrics.js directly. A copy renamed .json also works. The plugin safely reads only the static LYRICS array, maps absolute-second t and Chinese cn, and never executes imports/functions or overlay code.
  • Preserve the original subtitle expiry (80 ms before the next cue, at most 6.5 seconds). Calibration and automatic alignment use the same parsed cues; the AI lyric file picker converts timed data to LRC.
  • Optional canvas.subtitles: true displays local bilingual cues over bitmap scenes with letterboxing and subtitle offset. Default off avoids duplicate subtitles on existing packs.
  • Update Original Three.js MV to workshop pack 1.0.2 (requires plugin 0.9.3), which enables this subtitle layer. No audio or lyric text is bundled or uploaded.

Checks: 149 passing Node tests, 1 optional upstream parity test skipped; all 6 workshop packs validate. Actual local upstream lyrics parse as 75 bilingual cues. Real Chromium/SwiftShader verified the original Three.js scene with synthetic bilingual subtitles, offset, expiry and resize; no external requests.

Install @ljwei-stak/dsh-mv-cli@0.9.3, fully exit Harness including its tray icon, and reopen. In the workshop update the Three.js pack, then Lyrics -> Choose -> select your local lyrics.js source file (not a saved Gitee HTML page).