mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-26 07:16:23 +00:00
Generic "classic novels to visual novels" pipeline extracted from faust-vn (source commit 6486ab1). The work-specific data (Faust text, annotations, assets, generated project) stays in faust-vn. Changes versus the source: --work defaults to the current directory, the renpy command writes to <work root>/vn, the Ren'Py SDK is located through RENPY_SDK, and tests only use fixtures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
Lessons
Recurring problems and what worked. Read before starting; add an entry when a mistake repeats.
- The sandbox masks
.git/config(and.git/config.lock); git commands that write config (git remote add) must run outside the sandbox. ~/.cache/uvis read-only inside the sandbox: exportUV_CACHE_DIR=$TMPDIR/uv-cachebefore anyuvcommand.- The sandbox mounts char-device placeholders (
.claude/,.mcp.json, dotfiles) in the working dir; they are gitignored, nevergit addthem. renpy lintpassing does not mean the game runs: a main menu once crashed on missing GUI images. Always run the end-to-end playthrough (vnpipe renpy --with-test+renpy.sh test, see docs/running.md).- Ren'Py SDK commands write to
~/.renpy: prefix them withHOME=$TMPDIR/renpy-homeinside the sandbox.web_buildleavesprogressive_download.txtin the project (gitignored). - Small-model annotators label whole speeches with one emotion and lose stage presence
across chunks; fix with
work.tomloverrides (pinned cast, emotion ranges), not by hand-editing annotated.json.