feat: extract vnpipe pipeline from faust-vn

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>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-19 03:59:33 +02:00
commit ff78dc5b14
68 files changed
+7727

No files matched your search

+699
View File
@@ -0,0 +1,699 @@
{
"work": "mini",
"parsed_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"fallback_chunks": [],
"scenes": [
{
"id": "lyric",
"heading": "LÍRICA",
"lines": [
{
"id": "lyric_0001",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "Tornáis de nuevo, imágenes flotantes,",
"src_line": 100,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": [],
"music": "sacred"
}
},
{
"id": "lyric_0002",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "que un día contemplé,",
"src_line": 101,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0003",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "¿Asiros podré feliz?",
"src_line": 102,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0004",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "Venid, y envueltas en el velo,",
"src_line": 103,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0005",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "girad en derredor;",
"src_line": 104,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0006",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "el corazón aún late,",
"src_line": 105,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0007",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "si aspira vuestro aliento.",
"src_line": 106,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0008",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "Hoy vuelven de otro tiempo",
"src_line": 107,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0009",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "la alegre historia,",
"src_line": 108,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0010",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 1,
"indent": 0,
"text": "Y los queridos seres",
"src_line": 120,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
},
{
"id": "lyric_0011",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 1,
"indent": 0,
"text": "que la dicha nos robó.",
"src_line": 121,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "melancholic",
"location": "dedication",
"time_of_day": "timeless",
"on_stage": []
}
}
]
},
{
"id": "talk",
"heading": "CONVERSACIÓN",
"lines": [
{
"id": "talk_0001",
"kind": "cast",
"speaker": null,
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "EL DIRECTOR, EL POETA",
"src_line": 200,
"ann": {
"speaker": null,
"kind": "narration",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": []
}
},
{
"id": "talk_0002",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 2,
"text": "Decid, buenos amigos,",
"src_line": 201,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "joyful",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
}
]
}
},
{
"id": "talk_0003",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "de mi afán camaradas,",
"src_line": 202,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
}
]
}
},
{
"id": "talk_0004",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "¿qué pensáis [ahora]?",
"src_line": 203,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
}
]
}
},
{
"id": "talk_0005",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "Es mi {anhelo} preferente",
"src_line": 204,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
}
]
}
},
{
"id": "talk_0006",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "al público dar gusto:",
"src_line": 205,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
}
]
}
},
{
"id": "talk_0007",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 0,
"stanza": 0,
"indent": 0,
"text": "lo \"mejor\" que pueda.",
"src_line": 206,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
}
]
}
},
{
"id": "talk_0008",
"kind": "verse",
"speaker": "poet",
"speaker_note": null,
"speech": 1,
"stanza": 0,
"indent": 26,
"text": "¡Vete, profano!",
"src_line": 207,
"ann": {
"speaker": "poet",
"kind": "dialogue",
"emotion": "angry",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
},
{
"character": "poet",
"position": "right"
}
]
}
},
{
"id": "talk_0009",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 2,
"stanza": 0,
"indent": 20,
"text": "Calla, que oye.",
"src_line": 208,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
},
{
"character": "poet",
"position": "right"
}
]
}
},
{
"id": "talk_0010",
"kind": "direction",
"speaker": null,
"speaker_note": null,
"speech": 2,
"stanza": 0,
"indent": 0,
"text": "Se aleja.",
"src_line": 209,
"ann": {
"speaker": "narrator",
"kind": "stage_direction",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
},
{
"character": "poet",
"position": "right"
}
]
}
},
{
"id": "talk_0011",
"kind": "verse",
"speaker": "poet",
"speaker_note": null,
"speech": 3,
"stanza": 0,
"indent": 0,
"text": "Mi pecho se oprime",
"src_line": 210,
"ann": {
"speaker": "poet",
"kind": "dialogue",
"emotion": "melancholic",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "poet",
"position": "center"
}
]
}
},
{
"id": "talk_0012",
"kind": "verse",
"speaker": "poet",
"speaker_note": null,
"speech": 3,
"stanza": 0,
"indent": 0,
"text": "bajo tanto peso,",
"src_line": 211,
"ann": {
"speaker": "poet",
"kind": "dialogue",
"emotion": "melancholic",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "poet",
"position": "center"
}
]
}
},
{
"id": "talk_0013",
"kind": "verse",
"speaker": "poet",
"speaker_note": null,
"speech": 3,
"stanza": 0,
"indent": 0,
"text": "y el ocaso llega.",
"src_line": 212,
"ann": {
"speaker": "poet",
"kind": "dialogue",
"emotion": "melancholic",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "poet",
"position": "center"
}
]
}
},
{
"id": "talk_0014",
"kind": "verse",
"speaker": "lord",
"speaker_note": null,
"speech": 4,
"stanza": 0,
"indent": 0,
"text": "¡Mi siervo!",
"src_line": 213,
"ann": {
"speaker": "lord",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "poet",
"position": "right"
},
{
"character": "lord",
"position": "center"
}
],
"music": "none"
}
},
{
"id": "talk_0015",
"kind": "verse",
"speaker": "lord",
"speaker_note": null,
"speech": 4,
"stanza": 0,
"indent": 0,
"text": "Tentarlo puedes.",
"src_line": 214,
"ann": {
"speaker": "lord",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "poet",
"position": "right"
},
{
"character": "lord",
"position": "center"
}
]
}
},
{
"id": "talk_0016",
"kind": "verse",
"speaker": "director",
"speaker_note": null,
"speech": 5,
"stanza": 0,
"indent": 0,
"text": "Basta ya de charla.",
"src_line": 215,
"ann": {
"speaker": "director",
"kind": "dialogue",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
},
{
"character": "poet",
"position": "right"
}
]
}
},
{
"id": "talk_0017",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 6,
"stanza": 0,
"indent": 0,
"text": "Callan los pájaros;",
"src_line": 216,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": []
}
},
{
"id": "talk_0018",
"kind": "verse",
"speaker": null,
"speaker_note": null,
"speech": 6,
"stanza": 0,
"indent": 0,
"text": "la noche cae.",
"src_line": 217,
"ann": {
"speaker": "poet_voice",
"kind": "narration",
"emotion": "neutral",
"location": "stage",
"time_of_day": "day",
"on_stage": []
}
},
{
"id": "talk_0019",
"kind": "verse",
"speaker": "poet",
"speaker_note": null,
"speech": 7,
"stanza": 0,
"indent": 0,
"text": "Despierto.",
"src_line": 218,
"ann": {
"speaker": "poet",
"kind": "dialogue",
"emotion": "angry",
"location": "stage",
"time_of_day": "day",
"on_stage": [
{
"character": "director",
"position": "left"
},
{
"character": "poet",
"position": "right"
}
]
}
}
]
}
]
}
+103
View File
@@ -0,0 +1,103 @@
The Project Gutenberg eBook of Fausto
*** START OF THE PROJECT GUTENBERG EBOOK FAUSTO ***
DEDICATORIA ................................................ 17
TEODORO LLORENTE.
DEDICATORIA
Tornáis de nuevo, hermosas imágenes flotantes,
que dulce y melancólico un día contemplé.
¿Asiros y teneros podré feliz como antes?
¡Aún vuela hacia vosotras el alma cuando os ve!
Hoy vuelven de otro tiempo mejor la alegre historia,
y las risueñas sombras de la feliz edad,
[Ilustración]
[Ilustración]
PRÓLOGO EN EL TEATRO
EL DIRECTOR, EL POETA DRAMÁTICO, EL GRACIOSO
EL DIRECTOR
Decid, buenos amigos,
de mi afán camaradas y testigos,
¿qué pensáis? Es mi anhelo preferente
En complacer al público soy ducho;
mas tranquilo no estoy, no estoy sereno:
EL POETA
¡Vete, profano!
¡Vete! Romper mi servidumbre quiero.
[Ilustración]
PRÓLOGO EN EL CIELO
EL SEÑOR,
_los_ EJÉRCITOS CELESTIALES. _Después_ MEFISTÓFELES.
_Los tres_ ARCÁNGELES _se adelantan_
EL SEÑOR
¿Conoces a Fausto?
MEFISTÓFELES
¿A Fausto
el Doctor?
EL SEÑOR
¡Mi siervo!
(_El cielo se cierra y los Arcángeles se dispersan._)
MEFISTÓFELES, _solo_
De vez en cuando olvido mis rencillas,
y busco al Viejo, y pláticas entablo.
DE NOCHE
_En un aposento gótico, estrecho, con elevada bóveda_, FAUSTO
_intranquilo sentado a su pupitre._
FAUSTO
Filosofía, ¡ay, Dios!, Jurisprudencia,
Medicina además, y Teología,
la _Razón_ lo nombra
(_Toma el libro y pronuncia misteriosamente el nombre del Espíritu.
Enciéndese una luz rojiza y trémula. El Espíritu aparece en ella._)
EL ESPÍRITU
¿Quién me llama?
FAUSTO (_aterrado_)
¿No a ti? Pues dime: ¿a quién? ¿Imagen
soy de Dios, y ni a ti llegar podría?
(_Llaman._)
WAGNER
Not in scope.
*** END OF THE PROJECT GUTENBERG EBOOK FAUSTO ***
+61
View File
@@ -0,0 +1,61 @@
# Minimal work used by tests/test_renpy_gen.py (no assets: the generator falls back to placeholders).
[work]
id = "mini"
title = "Mini"
subtitle = "Fixture work"
author = "A. Author"
translator = "T. Translator"
language = "es"
[cast.narrator]
name = ""
color = "#d8cfc0"
[cast.poet_voice]
name = ""
color = "#e8dcc2"
sprite = false
[cast.director]
name = "El Director"
color = "#c9a25b"
sprite = true
expressions = { neutral = "neutral", joyful = "pleased", angry = "worried" }
[cast.poet]
name = "El Poeta"
color = "#8fa8c8"
sprite = true
expressions = { neutral = "neutral", melancholic = "neutral", angry = "indignant" }
[cast.lord]
name = "El Señor"
color = "#fff4c8"
sprite = false
[staging.lyric]
bg = "bg_dedication"
mode = "nvl"
[staging.talk]
bg = "bg_theatre"
mode = "adv"
[[cues]]
at = "talk_0014"
bg = "bg_heaven"
transition = "slow"
tint = "dark"
hide_all = true
[[cues]]
at = "talk_0016"
mode = "nvl"
[[cues]]
at = "talk_0019"
bg = "bg_theatre"
transition = "flash"
tint = "none"
mode = "adv"
shake = true