mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-26 15:26:20 +00:00
docs: describe music, menus and credits; ignore generated vn audio
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fae00009b7
commit
a2bd8e3dce
5 files changed
+64
-13
No files matched your search
@@ -27,3 +27,6 @@ build/
|
||||
# Original generated images are large; final processed assets are committed instead
|
||||
assets/raw/
|
||||
vn/progressive_download.txt
|
||||
|
||||
# Generated by vnpipe: a copy of audio/
|
||||
vn/game/audio/
|
||||
@@ -1,11 +1,35 @@
|
||||
# faust-vn
|
||||
|
||||
A playable visual-novel prototype of the opening of Goethe's *Faust* (Part I), in
|
||||
Teodoro Llorente's public-domain Spanish translation. It is the first work built with
|
||||
[`vnpipe`](../vnpipe), the reusable "classic novels to visual novels" pipeline.
|
||||
A visual novel of the whole of *Faust, Part I* (Goethe), in Teodoro Llorente's public-domain
|
||||
Spanish translation: 28 scenes from the Dedicatoria to the prison, about 31,000 words of
|
||||
verse, never rewritten. It is the first work built with [`vnpipe`](../vnpipe), the reusable
|
||||
"classic novels to visual novels" pipeline.
|
||||
|
||||
The game is in Spanish. Art is AI-generated (see [docs/licensing.md](docs/licensing.md)).
|
||||
|
||||
## What is in the game
|
||||
|
||||
- **Art styles**: *Pictórico* (an 1850s oil-and-engraving look, the default) and *Anime*.
|
||||
The player picks one at the first launch and can change it any time in Preferences.
|
||||
- **Music**: public-domain and CC BY-SA classical recordings. Each line's mood
|
||||
(contemplative, comic, sacred, ominous, mystical) picks a looping playlist; some scenes have
|
||||
their own piece (Mephisto Waltz in Auerbach's tavern, Dies irae in the cathedral, Gretchen am
|
||||
Spinnrade in Margarita's room, Bach's Easter cantata for the Easter choruses). See
|
||||
[docs/music.md](docs/music.md).
|
||||
- **Main menu**: title and subtitle over the study, *Escenas* (replay any scene you have
|
||||
reached) and *Créditos* (text, art and music attributions).
|
||||
- **Reading**: each scene opens with a title card (heading plus place and time); text types at
|
||||
40 characters/second (change it in Preferences) and a blinking arrow marks the end of a box;
|
||||
verse boxes hold at most 4 lines, and the lyric scenes use full-page stanzas.
|
||||
|
||||
## How to play
|
||||
|
||||
Needs the [Ren'Py](https://www.renpy.org/) 8.5 SDK (`tools/renpy-sdk` or `RENPY_SDK`):
|
||||
|
||||
```bash
|
||||
tools/renpy-sdk/renpy.sh vn # play the generated project
|
||||
```
|
||||
|
||||
## Quick start
|
||||
|
||||
`vnpipe` is a path dependency: clone it next to this repo and adjust
|
||||
@@ -15,9 +39,14 @@ The game is in Spanish. Art is AI-generated (see [docs/licensing.md](docs/licens
|
||||
uv sync
|
||||
uv run vnpipe fetch # download the source into data/raw
|
||||
uv run vnpipe parse # data/raw -> data/parsed.json
|
||||
uv run vnpipe renpy # data/annotated.json -> vn/
|
||||
uv run vnpipe renpy # data/annotated.json + audio/ -> vn/
|
||||
tools/renpy-sdk/renpy.sh vn # play (Ren'Py 8.5.3 SDK, see docs/running.md)
|
||||
```
|
||||
|
||||
Run, lint and build instructions: [docs/running.md](docs/running.md).
|
||||
`vn/` is generated and its `game/audio/` is not committed (it copies `audio/`): run
|
||||
`uv run vnpipe renpy` after cloning. Web and desktop builds: [docs/running.md](docs/running.md).
|
||||
Everything specific to this text (cast, scenes and their subtitles, staging, music
|
||||
overrides, menu background) is in `work.toml`.
|
||||
|
||||
Lint, tests and build instructions: [docs/running.md](docs/running.md).
|
||||
Plan and layout: [docs/plan.md](docs/plan.md).
|
||||
+18
-1
@@ -6,6 +6,23 @@ Faust scenes). `audio/credits.toml` is the manifest: one `[[track]]` per file wi
|
||||
composer, performer, source page, direct file URL, exact license, attribution text, original and
|
||||
processed duration and the sha256 of the downloaded original.
|
||||
|
||||
## How it plays
|
||||
|
||||
`vnpipe renpy` copies `audio/**/*.ogg` into `vn/game/audio/`. A line's annotation mood plays
|
||||
`audio/<mood>/` as a looping playlist (sorted by file name; a track that already plays is not
|
||||
restarted). `work.toml` overrides it: `[staging.<scene>].music` fixes a scene's music and a cue
|
||||
`music = ...` switches from its line on (`"<mood>"`, `"track:<path under audio/>"`, `"none"`,
|
||||
and `"auto"` to return to the annotation moods). Current choices:
|
||||
|
||||
| Where | Music |
|
||||
|---|---|
|
||||
| `catedral` | `scenes/mozart-dies-irae.ogg` |
|
||||
| `taberna_auerbach` | `scenes/mephisto-waltz-1.ogg` |
|
||||
| `aposento_margarita` | `scenes/gretchen-am-spinnrade.ogg` |
|
||||
| `noche`, from `noche_0473` (bells and Easter choruses, to the end of the scene) | `scenes/bach-bwv4-christ-lag.ogg` |
|
||||
|
||||
The game credits screen prints every `attribution` of `credits.toml` verbatim (CC BY-SA).
|
||||
|
||||
## Licensing rule
|
||||
|
||||
A track is accepted only if **both** hold:
|
||||
@@ -16,7 +33,7 @@ A track is accepted only if **both** hold:
|
||||
|
||||
Most tracks are Musopen recordings (Musopen Kickstarter / Set Chopin Free projects) dedicated to
|
||||
the public domain. CC BY-SA tracks (`mephisto-waltz-1`, `mozart-dies-irae`, `bach-bwv4-christ-lag`)
|
||||
require the attribution text in `credits.toml` to be shown (e.g. in the game credits) and derived
|
||||
require the attribution text in `credits.toml` to be shown (the *Créditos* screen does) and derived
|
||||
audio to stay under the same license. `gretchen-am-spinnrade` is a 1927 US recording (public domain
|
||||
in the US since 2023, marked Public Domain Mark 1.0 on archive.org).
|
||||
|
||||
|
||||
+2
-2
@@ -72,8 +72,8 @@ capped at 20 generations/hour. Everything else ran in parallel with it.
|
||||
clown carries an unrequested puppet.
|
||||
- **Reference-image variants sometimes come back identical** to the base (seen 3 times);
|
||||
the art agent caught it by comparing sha256, but a pipeline check should enforce it.
|
||||
- **No audio**: music moods are annotated and the generator supports them, but no files
|
||||
ship.
|
||||
- **Audio**: 14 tracks ship (see `music.md`); moods are per line, so tracks change with
|
||||
speaker changes of mood, not only per scene.
|
||||
- **Text boxes of verse**: 4 lines per box keeps verse intact but long monologues (Faust,
|
||||
80 lines) feel slow; no auto-pagination by reading time.
|
||||
- **Chroma key is per-pixel**: fine with the flat green field, but any green in a
|
||||
|
||||
+7
-5
@@ -27,10 +27,11 @@ uv run vnpipe renpy --out some/dir # default output: vn
|
||||
```
|
||||
|
||||
Generation is deterministic: running it twice gives identical files (no timestamps).
|
||||
It rewrites `game/{options,gui,screens,support,characters,images,script}.rpy`,
|
||||
`game/gui/`, `game/fonts/` and `game/images/`; anything else (for example `game/audio/`)
|
||||
is left alone. Music only appears in the script for moods that have a matching
|
||||
`game/audio/<mood>.ogg`, so drop files there and regenerate.
|
||||
It rewrites `game/{options,gui,screens,styles,menus,support,characters,images,menu_data,script}.rpy`,
|
||||
`game/gui/`, `game/fonts/`, `game/images/` and, when the work has an `audio/` directory,
|
||||
`game/audio/` (a copy of `audio/**/*.ogg`; it is gitignored in `vn/`). Music, credits, scene
|
||||
select and title-card subtitles are configured in `work.toml` and `audio/credits.toml`
|
||||
(see vnpipe's `docs/work-config.md`).
|
||||
|
||||
Images come from `assets/assets.json` (statuses `processed`, `approved`,
|
||||
`placeholder`); anything missing or unusable is replaced by a generated placeholder so
|
||||
@@ -66,7 +67,8 @@ The expected result is a statistics block with no warnings above it.
|
||||
|
||||
Lint does not catch runtime errors (missing GUI images, display bugs). `--with-test` also
|
||||
writes `game/e2e_test.rpy`, a Ren'Py `testcase` that clicks "Start", advances through the
|
||||
whole game up to the final card (`label the_end`) and back to the main menu, failing on any
|
||||
whole game up to the final card (`label the_end`) and back to the main menu (then opens and
|
||||
closes the Scenes and Credits screens), failing on any
|
||||
exception (`traceback.txt`). Use a throw-away output directory so the test file never ends
|
||||
up in `vn/` or in a build:
|
||||
|
||||
|
||||
Reference in new issue
Block a user