Repository navigation
v0.9.3 — lyrics.js / bilingual Three.js subtitles
lyrics.js compatibility and visible Three.js subtitles
- Select the original local wiers-jack
src/lyrics.jsdirectly. A copy renamed.jsonalso works. The plugin safely reads only the staticLYRICSarray, maps absolute-secondtand Chinesecn, 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: truedisplays 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).