docs: describe menu redesign, shipped UI translation and probe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-20 12:45:46 +02:00
1 parent d1236b470c
commit 70a0ad577b
3 files changed
+16 -3

No files matched your search

+14 -1
View File
@@ -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 <copy of vn> 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:
+1 -1
View File
@@ -54,7 +54,7 @@ Then `vnpipe renpy` ships the clips. `--scenes` defaults to `[voice].scenes`, el
6. **Ren'Py**: `voice "voice/<id>.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/<scene>.txt` lists, per scene, the game speeches and their status, the ASR
+1 -1
View File
@@ -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 `<work>/tl/<language>/*.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/<language>/` (Ren'Py's common strings and every template screen string; only `spanish` so far) and copies `<work>/tl/<language>/*.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. |