diff --git a/docs/running.md b/docs/running.md index d898830..f23896d 100644 --- a/docs/running.md +++ b/docs/running.md @@ -89,6 +89,18 @@ tweaks, `@@TOKEN@@` placeholders for title/build name/about text/menu background --accent '#c9a25b' --boring '#14110e' --template "$RENPY_SDK/gui" --start ``` +Since then the menus were redesigned around the scene title cards (gold rule with a diamond, +size-76 titles): a book-title main menu, a navigation column with the work's title, framed +panels, and a save/load register (one row per slot with thumbnail, scene title, the line on +screen and the date; Roman-numbered pages; autosave and quick save pages only when loading; +a delete button per slot). The scene and line come from `config.save_json_callbacks` +(`menus.rpy`). The ornament images (`gui/vn/*.png`, check/radio marks, bars) are drawn by +`gui_extra_images()` in `renpy_gen.py`. `tl/spanish/` holds the Spanish UI strings: Ren'Py's +SDK translation (corrected and completed) plus every `_()` string of the screens; a test +fails when a screen string has no translation. To check a project for untranslated strings, +run `renpy.sh translate spanish` on a throw-away copy and look for new `old` +entries after the "TODO: Translation updated" line. + These files are part of Ren'Py (MIT licence, Tom Rothamel and contributors). The font `game/fonts/RobotoSlab-*.ttf` is Roboto Slab (Apache 2.0), taken from the SDK documentation assets. @@ -106,7 +118,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 (then opens and -closes the Scenes and Credits screens), failing on any +closes the Scenes, Credits, Load, Preferences and About screens; a save made at the first +scene must carry its title), 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: diff --git a/docs/voice.md b/docs/voice.md index 684b542..6beb50b 100644 --- a/docs/voice.md +++ b/docs/voice.md @@ -54,7 +54,7 @@ Then `vnpipe renpy` ships the clips. `--scenes` defaults to `[voice].scenes`, el 6. **Ren'Py**: `voice "voice/.ogg"` before the first box of the speech, `voice sustain` before its other boxes (a stage direction inside the speech keeps the clip going). Clips live in `game/voice/`, never under `audio/`, so they are not music moods. The Preferences - screen has a Voice Volume slider (translate it in `tl/`). Credits get a "Voces"/"Voices" + screen has a Voice Volume slider (translated in `renpy_templates/tl/`). Credits get a "Voces"/"Voices" section from `[voice].credits` when clips ship. `voice/report/.txt` lists, per scene, the game speeches and their status, the ASR diff --git a/docs/work-config.md b/docs/work-config.md index c97aa32..923e93d 100644 --- a/docs/work-config.md +++ b/docs/work-config.md @@ -7,7 +7,7 @@ A work is a directory containing `work.toml`, plus the folders the pipeline fill | Table | Keys | |---|---| | `[work]` | `id`, `title`, `subtitle`, `author`, `translator`, `language` (`es`/`en`: About, menu and credits texts), `lyric_voice` (cast id for verse nobody speaks; default `poet_voice`), `end_text`, `menu_bg` (legacy alias of `[ui].main_menu_bg`). | -| `[ui]` | `main_menu_bg` (background asset id of the main menu and, darker, the game menu; default: `[work].menu_bg`, else the first staged `bg`); `language` (Ren'Py language name set as `config.default_language`, e.g. `spanish`; its strings come from `/tl//*.rpy`, copied into `game/tl/`). | +| `[ui]` | `main_menu_bg` (background asset id of the main menu and, darker, the game menu; default: `[work].menu_bg`, else the first staged `bg`); `language` (Ren'Py language name, e.g. `spanish`, forced with `config.language` so an old persistent preference cannot switch the menus back to English; vnpipe ships `renpy_templates/tl//` (Ren'Py's common strings and every template screen string; only `spanish` so far) and copies `/tl//*.rpy` on top, a work file replacing a shipped file with the same name). | | `[source]` | `gutenberg_id`, `url`, `raw_file` (cache path, relative to the work root, gitignored). | | `[scope]` | `start_marker`, `end_marker` (whole stripped lines), `end_occurrence` (1-based, searched after the start; the end marker itself is excluded). | | `[speakers]` | Speaker heading as printed (upper case, without its italic note) → cast id. Several headings may share one id (anonymous crowd speakers). A key with punctuation or markup (`"CORO, TUTTI"`) is matched against the whole printed line first. An unknown speaker is a parse error. |