mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-26 15:26:20 +00:00
docs: reduce docs to Faust and link to vnpipe
Update README, CLAUDE.md, LESSONS.md and docs for the flattened layout; the generic pipeline docs now live in the vnpipe repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6a3177de79
commit
086e6db0b4
9 files changed
+83
-119
No files matched your search
+14
-13
@@ -1,7 +1,8 @@
|
||||
# Running, linting and building the game
|
||||
|
||||
The Ren'Py project in `vn/faust/` is generated; never edit it by hand. All commands run
|
||||
from the repository root.
|
||||
The Ren'Py project in `vn/` is generated by vnpipe (`../vnpipe`); never edit it by hand. All
|
||||
commands run from the repository root. Generic details (CLI, GUI template, SDK commands):
|
||||
`../vnpipe/docs/running.md`.
|
||||
|
||||
## 1. Ren'Py SDK
|
||||
|
||||
@@ -20,9 +21,9 @@ SDK commands, since Ren'Py writes to `~/.renpy`.
|
||||
## 2. Regenerate the project
|
||||
|
||||
```sh
|
||||
uv run vnpipe renpy # from works/faust/data/annotated.json
|
||||
uv run vnpipe renpy # from data/annotated.json
|
||||
uv run vnpipe renpy --from-parsed # trivial annotations built from parsed.json
|
||||
uv run vnpipe renpy --out some/dir # default output: vn/<work id>
|
||||
uv run vnpipe renpy --out some/dir # default output: vn
|
||||
```
|
||||
|
||||
Generation is deterministic: running it twice gives identical files (no timestamps).
|
||||
@@ -31,13 +32,13 @@ It rewrites `game/{options,gui,screens,support,characters,images,script}.rpy`,
|
||||
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.
|
||||
|
||||
Images come from `works/<id>/assets/assets.json` (statuses `processed`, `approved`,
|
||||
Images come from `assets/assets.json` (statuses `processed`, `approved`,
|
||||
`placeholder`); anything missing or unusable is replaced by a generated placeholder so
|
||||
the game always runs.
|
||||
|
||||
### GUI template and licences
|
||||
|
||||
`src/vnpipe/renpy_templates/` holds the default Ren'Py GUI (`gui.rpy`, `screens.rpy`,
|
||||
`renpy_templates/` in vnpipe holds the default Ren'Py GUI (`gui.rpy`, `screens.rpy`,
|
||||
`options.rpy` and `gui/*.png`). It was generated once with the SDK's own command and then
|
||||
edited minimally (dark palette, ivory text, accent `#c9a25b`, Roboto Slab font, NVL
|
||||
tweaks, `@@TOKEN@@` placeholders for title/build name/about text/menu background):
|
||||
@@ -54,7 +55,7 @@ documentation assets.
|
||||
## 3. Lint
|
||||
|
||||
```sh
|
||||
HOME=$TMPDIR/renpy-home tools/renpy-sdk/renpy.sh vn/faust lint
|
||||
HOME=$TMPDIR/renpy-home tools/renpy-sdk/renpy.sh vn lint
|
||||
```
|
||||
|
||||
The expected result is a statistics block with no warnings above it.
|
||||
@@ -75,26 +76,26 @@ HOME=$TMPDIR/renpy-home SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy RENPY_RENDER
|
||||
|
||||
The headless run needs the software renderer (`RENPY_RENDERER=sw`, no GL under the dummy
|
||||
video driver); matrix tints are therefore not rendered but all game logic is exercised.
|
||||
`tests/test_renpy_gen.py` runs this for the fixture and for Faust when the SDK exists
|
||||
(slow: about a minute). On a desktop with a display, drop the three variables.
|
||||
`tests/test_faust_e2e.py` runs this when the SDK exists (`RENPY_SDK` or
|
||||
`tools/renpy-sdk`; slow: about a minute). On a desktop with a display, drop the three variables.
|
||||
|
||||
## 4. Play
|
||||
|
||||
```sh
|
||||
tools/renpy-sdk/renpy.sh vn/faust
|
||||
tools/renpy-sdk/renpy.sh vn
|
||||
```
|
||||
|
||||
## 5. Builds (output under `build/`, gitignored)
|
||||
|
||||
```sh
|
||||
# Web (HTML5)
|
||||
tools/renpy-sdk/renpy.sh tools/renpy-sdk/launcher web_build vn/faust --destination build/web
|
||||
tools/renpy-sdk/renpy.sh tools/renpy-sdk/launcher web_build vn --destination build/web
|
||||
python3 -m http.server -d build/web 8000 # then open http://localhost:8000
|
||||
|
||||
# Linux desktop
|
||||
tools/renpy-sdk/renpy.sh tools/renpy-sdk/launcher distribute vn/faust --package linux --destination build/dist
|
||||
tools/renpy-sdk/renpy.sh tools/renpy-sdk/launcher distribute vn --package linux --destination build/dist
|
||||
```
|
||||
|
||||
`--package` also accepts `win` and `mac`; omit it to build every package. The web build
|
||||
also leaves a `build/web.zip` next to the folder. A web build writes
|
||||
`vn/faust/progressive_download.txt`; delete it (it is not part of the generated project).
|
||||
`vn/progressive_download.txt`; delete it (it is not part of the generated project).
|
||||
Reference in new issue
Block a user