diff --git a/.gitignore b/.gitignore index 6478ae1..c6ba7ad 100644 --- a/.gitignore +++ b/.gitignore @@ -6,17 +6,17 @@ __pycache__/ dist/ .env # Raw downloads are cached locally and re-fetched on demand -works/*/data/raw/ +data/raw/ # Ren'Py runtime artifacts -vn/*/game/**/*.rpyc -vn/*/game/**/*.rpymc -vn/*/game/cache/ -vn/*/game/saves/ -vn/*/log.txt -vn/*/game/log.txt -vn/*/traceback.txt -vn/*/errors.txt -vn/*/lint.txt +vn/game/**/*.rpyc +vn/game/**/*.rpymc +vn/game/cache/ +vn/game/saves/ +vn/log.txt +vn/game/log.txt +vn/traceback.txt +vn/errors.txt +vn/lint.txt # Local Ren'Py SDK and builds /tools build/ @@ -25,5 +25,5 @@ build/ .claude/worktrees/ .mcp.json # Original generated images are large; final processed assets are committed instead -works/*/assets/raw/ -vn/*/progressive_download.txt +assets/raw/ +vn/progressive_download.txt diff --git a/works/faust/annotations/cache/dedicatoria_c01.json b/annotations/cache/dedicatoria_c01.json similarity index 100% rename from works/faust/annotations/cache/dedicatoria_c01.json rename to annotations/cache/dedicatoria_c01.json diff --git a/works/faust/annotations/cache/noche_c01.json b/annotations/cache/noche_c01.json similarity index 100% rename from works/faust/annotations/cache/noche_c01.json rename to annotations/cache/noche_c01.json diff --git a/works/faust/annotations/cache/noche_c02.json b/annotations/cache/noche_c02.json similarity index 100% rename from works/faust/annotations/cache/noche_c02.json rename to annotations/cache/noche_c02.json diff --git a/works/faust/annotations/cache/noche_c03.json b/annotations/cache/noche_c03.json similarity index 100% rename from works/faust/annotations/cache/noche_c03.json rename to annotations/cache/noche_c03.json diff --git a/works/faust/annotations/cache/noche_c04.json b/annotations/cache/noche_c04.json similarity index 100% rename from works/faust/annotations/cache/noche_c04.json rename to annotations/cache/noche_c04.json diff --git a/works/faust/annotations/cache/noche_c05.json b/annotations/cache/noche_c05.json similarity index 100% rename from works/faust/annotations/cache/noche_c05.json rename to annotations/cache/noche_c05.json diff --git a/works/faust/annotations/cache/prologo_cielo_c01.json b/annotations/cache/prologo_cielo_c01.json similarity index 100% rename from works/faust/annotations/cache/prologo_cielo_c01.json rename to annotations/cache/prologo_cielo_c01.json diff --git a/works/faust/annotations/cache/prologo_cielo_c02.json b/annotations/cache/prologo_cielo_c02.json similarity index 100% rename from works/faust/annotations/cache/prologo_cielo_c02.json rename to annotations/cache/prologo_cielo_c02.json diff --git a/works/faust/annotations/cache/prologo_cielo_c03.json b/annotations/cache/prologo_cielo_c03.json similarity index 100% rename from works/faust/annotations/cache/prologo_cielo_c03.json rename to annotations/cache/prologo_cielo_c03.json diff --git a/works/faust/annotations/cache/prologo_cielo_c04.json b/annotations/cache/prologo_cielo_c04.json similarity index 100% rename from works/faust/annotations/cache/prologo_cielo_c04.json rename to annotations/cache/prologo_cielo_c04.json diff --git a/works/faust/annotations/cache/prologo_teatro_c01.json b/annotations/cache/prologo_teatro_c01.json similarity index 100% rename from works/faust/annotations/cache/prologo_teatro_c01.json rename to annotations/cache/prologo_teatro_c01.json diff --git a/works/faust/annotations/cache/prologo_teatro_c02.json b/annotations/cache/prologo_teatro_c02.json similarity index 100% rename from works/faust/annotations/cache/prologo_teatro_c02.json rename to annotations/cache/prologo_teatro_c02.json diff --git a/works/faust/annotations/cache/prologo_teatro_c03.json b/annotations/cache/prologo_teatro_c03.json similarity index 100% rename from works/faust/annotations/cache/prologo_teatro_c03.json rename to annotations/cache/prologo_teatro_c03.json diff --git a/works/faust/annotations/cache/prologo_teatro_c04.json b/annotations/cache/prologo_teatro_c04.json similarity index 100% rename from works/faust/annotations/cache/prologo_teatro_c04.json rename to annotations/cache/prologo_teatro_c04.json diff --git a/works/faust/annotations/cache/prologo_teatro_c05.json b/annotations/cache/prologo_teatro_c05.json similarity index 100% rename from works/faust/annotations/cache/prologo_teatro_c05.json rename to annotations/cache/prologo_teatro_c05.json diff --git a/works/faust/annotations/cache/prologo_teatro_c06.json b/annotations/cache/prologo_teatro_c06.json similarity index 100% rename from works/faust/annotations/cache/prologo_teatro_c06.json rename to annotations/cache/prologo_teatro_c06.json diff --git a/works/faust/annotations/chunks/dedicatoria_c01.json b/annotations/chunks/dedicatoria_c01.json similarity index 100% rename from works/faust/annotations/chunks/dedicatoria_c01.json rename to annotations/chunks/dedicatoria_c01.json diff --git a/works/faust/annotations/chunks/noche_c01.json b/annotations/chunks/noche_c01.json similarity index 100% rename from works/faust/annotations/chunks/noche_c01.json rename to annotations/chunks/noche_c01.json diff --git a/works/faust/annotations/chunks/noche_c02.json b/annotations/chunks/noche_c02.json similarity index 100% rename from works/faust/annotations/chunks/noche_c02.json rename to annotations/chunks/noche_c02.json diff --git a/works/faust/annotations/chunks/noche_c03.json b/annotations/chunks/noche_c03.json similarity index 100% rename from works/faust/annotations/chunks/noche_c03.json rename to annotations/chunks/noche_c03.json diff --git a/works/faust/annotations/chunks/noche_c04.json b/annotations/chunks/noche_c04.json similarity index 100% rename from works/faust/annotations/chunks/noche_c04.json rename to annotations/chunks/noche_c04.json diff --git a/works/faust/annotations/chunks/noche_c05.json b/annotations/chunks/noche_c05.json similarity index 100% rename from works/faust/annotations/chunks/noche_c05.json rename to annotations/chunks/noche_c05.json diff --git a/works/faust/annotations/chunks/prologo_cielo_c01.json b/annotations/chunks/prologo_cielo_c01.json similarity index 100% rename from works/faust/annotations/chunks/prologo_cielo_c01.json rename to annotations/chunks/prologo_cielo_c01.json diff --git a/works/faust/annotations/chunks/prologo_cielo_c02.json b/annotations/chunks/prologo_cielo_c02.json similarity index 100% rename from works/faust/annotations/chunks/prologo_cielo_c02.json rename to annotations/chunks/prologo_cielo_c02.json diff --git a/works/faust/annotations/chunks/prologo_cielo_c03.json b/annotations/chunks/prologo_cielo_c03.json similarity index 100% rename from works/faust/annotations/chunks/prologo_cielo_c03.json rename to annotations/chunks/prologo_cielo_c03.json diff --git a/works/faust/annotations/chunks/prologo_cielo_c04.json b/annotations/chunks/prologo_cielo_c04.json similarity index 100% rename from works/faust/annotations/chunks/prologo_cielo_c04.json rename to annotations/chunks/prologo_cielo_c04.json diff --git a/works/faust/annotations/chunks/prologo_teatro_c01.json b/annotations/chunks/prologo_teatro_c01.json similarity index 100% rename from works/faust/annotations/chunks/prologo_teatro_c01.json rename to annotations/chunks/prologo_teatro_c01.json diff --git a/works/faust/annotations/chunks/prologo_teatro_c02.json b/annotations/chunks/prologo_teatro_c02.json similarity index 100% rename from works/faust/annotations/chunks/prologo_teatro_c02.json rename to annotations/chunks/prologo_teatro_c02.json diff --git a/works/faust/annotations/chunks/prologo_teatro_c03.json b/annotations/chunks/prologo_teatro_c03.json similarity index 100% rename from works/faust/annotations/chunks/prologo_teatro_c03.json rename to annotations/chunks/prologo_teatro_c03.json diff --git a/works/faust/annotations/chunks/prologo_teatro_c04.json b/annotations/chunks/prologo_teatro_c04.json similarity index 100% rename from works/faust/annotations/chunks/prologo_teatro_c04.json rename to annotations/chunks/prologo_teatro_c04.json diff --git a/works/faust/annotations/chunks/prologo_teatro_c05.json b/annotations/chunks/prologo_teatro_c05.json similarity index 100% rename from works/faust/annotations/chunks/prologo_teatro_c05.json rename to annotations/chunks/prologo_teatro_c05.json diff --git a/works/faust/annotations/chunks/prologo_teatro_c06.json b/annotations/chunks/prologo_teatro_c06.json similarity index 100% rename from works/faust/annotations/chunks/prologo_teatro_c06.json rename to annotations/chunks/prologo_teatro_c06.json diff --git a/works/faust/assets/assets.json b/assets/assets.json similarity index 100% rename from works/faust/assets/assets.json rename to assets/assets.json diff --git a/vn/faust/game/images/bg/dedication.webp b/assets/bg/dedication.webp similarity index 100% rename from vn/faust/game/images/bg/dedication.webp rename to assets/bg/dedication.webp diff --git a/vn/faust/game/images/bg/heaven.webp b/assets/bg/heaven.webp similarity index 100% rename from vn/faust/game/images/bg/heaven.webp rename to assets/bg/heaven.webp diff --git a/vn/faust/game/images/bg/heaven_lord.webp b/assets/bg/heaven_lord.webp similarity index 100% rename from vn/faust/game/images/bg/heaven_lord.webp rename to assets/bg/heaven_lord.webp diff --git a/vn/faust/game/images/bg/study.webp b/assets/bg/study.webp similarity index 100% rename from vn/faust/game/images/bg/study.webp rename to assets/bg/study.webp diff --git a/vn/faust/game/images/bg/study_macrocosm.webp b/assets/bg/study_macrocosm.webp similarity index 100% rename from vn/faust/game/images/bg/study_macrocosm.webp rename to assets/bg/study_macrocosm.webp diff --git a/vn/faust/game/images/bg/study_spirit.webp b/assets/bg/study_spirit.webp similarity index 100% rename from vn/faust/game/images/bg/study_spirit.webp rename to assets/bg/study_spirit.webp diff --git a/vn/faust/game/images/bg/theatre.webp b/assets/bg/theatre.webp similarity index 100% rename from vn/faust/game/images/bg/theatre.webp rename to assets/bg/theatre.webp diff --git a/works/faust/assets/generation_log.jsonl b/assets/generation_log.jsonl similarity index 100% rename from works/faust/assets/generation_log.jsonl rename to assets/generation_log.jsonl diff --git a/vn/faust/game/images/sprites/clown_laughing.webp b/assets/sprites/clown_laughing.webp similarity index 100% rename from vn/faust/game/images/sprites/clown_laughing.webp rename to assets/sprites/clown_laughing.webp diff --git a/vn/faust/game/images/sprites/clown_mocking.webp b/assets/sprites/clown_mocking.webp similarity index 100% rename from vn/faust/game/images/sprites/clown_mocking.webp rename to assets/sprites/clown_mocking.webp diff --git a/vn/faust/game/images/sprites/clown_neutral.webp b/assets/sprites/clown_neutral.webp similarity index 100% rename from vn/faust/game/images/sprites/clown_neutral.webp rename to assets/sprites/clown_neutral.webp diff --git a/vn/faust/game/images/sprites/director_neutral.webp b/assets/sprites/director_neutral.webp similarity index 100% rename from vn/faust/game/images/sprites/director_neutral.webp rename to assets/sprites/director_neutral.webp diff --git a/vn/faust/game/images/sprites/director_pleased.webp b/assets/sprites/director_pleased.webp similarity index 100% rename from vn/faust/game/images/sprites/director_pleased.webp rename to assets/sprites/director_pleased.webp diff --git a/vn/faust/game/images/sprites/director_worried.webp b/assets/sprites/director_worried.webp similarity index 100% rename from vn/faust/game/images/sprites/director_worried.webp rename to assets/sprites/director_worried.webp diff --git a/vn/faust/game/images/sprites/faust_anguished.webp b/assets/sprites/faust_anguished.webp similarity index 100% rename from vn/faust/game/images/sprites/faust_anguished.webp rename to assets/sprites/faust_anguished.webp diff --git a/vn/faust/game/images/sprites/faust_ecstatic.webp b/assets/sprites/faust_ecstatic.webp similarity index 100% rename from vn/faust/game/images/sprites/faust_ecstatic.webp rename to assets/sprites/faust_ecstatic.webp diff --git a/vn/faust/game/images/sprites/faust_fearful.webp b/assets/sprites/faust_fearful.webp similarity index 100% rename from vn/faust/game/images/sprites/faust_fearful.webp rename to assets/sprites/faust_fearful.webp diff --git a/vn/faust/game/images/sprites/faust_neutral.webp b/assets/sprites/faust_neutral.webp similarity index 100% rename from vn/faust/game/images/sprites/faust_neutral.webp rename to assets/sprites/faust_neutral.webp diff --git a/vn/faust/game/images/sprites/mephisto_deferent.webp b/assets/sprites/mephisto_deferent.webp similarity index 100% rename from vn/faust/game/images/sprites/mephisto_deferent.webp rename to assets/sprites/mephisto_deferent.webp diff --git a/vn/faust/game/images/sprites/mephisto_neutral.webp b/assets/sprites/mephisto_neutral.webp similarity index 100% rename from vn/faust/game/images/sprites/mephisto_neutral.webp rename to assets/sprites/mephisto_neutral.webp diff --git a/vn/faust/game/images/sprites/mephisto_scornful.webp b/assets/sprites/mephisto_scornful.webp similarity index 100% rename from vn/faust/game/images/sprites/mephisto_scornful.webp rename to assets/sprites/mephisto_scornful.webp diff --git a/vn/faust/game/images/sprites/mephisto_sly.webp b/assets/sprites/mephisto_sly.webp similarity index 100% rename from vn/faust/game/images/sprites/mephisto_sly.webp rename to assets/sprites/mephisto_sly.webp diff --git a/vn/faust/game/images/sprites/poet_indignant.webp b/assets/sprites/poet_indignant.webp similarity index 100% rename from vn/faust/game/images/sprites/poet_indignant.webp rename to assets/sprites/poet_indignant.webp diff --git a/vn/faust/game/images/sprites/poet_inspired.webp b/assets/sprites/poet_inspired.webp similarity index 100% rename from vn/faust/game/images/sprites/poet_inspired.webp rename to assets/sprites/poet_inspired.webp diff --git a/vn/faust/game/images/sprites/poet_neutral.webp b/assets/sprites/poet_neutral.webp similarity index 100% rename from vn/faust/game/images/sprites/poet_neutral.webp rename to assets/sprites/poet_neutral.webp diff --git a/works/faust/data/annotated.json b/data/annotated.json similarity index 100% rename from works/faust/data/annotated.json rename to data/annotated.json diff --git a/works/faust/data/parsed.json b/data/parsed.json similarity index 100% rename from works/faust/data/parsed.json rename to data/parsed.json diff --git a/works/faust/data/play.txt b/data/play.txt similarity index 100% rename from works/faust/data/play.txt rename to data/play.txt diff --git a/tests/test_faust_e2e.py b/tests/test_faust_e2e.py new file mode 100644 index 0000000..78131a4 --- /dev/null +++ b/tests/test_faust_e2e.py @@ -0,0 +1,38 @@ +"""End-to-end playthrough of the generated Faust project (needs the Ren'Py SDK).""" + +import json +import os +import subprocess +from pathlib import Path + +import pytest +from vnpipe import renpy_gen +from vnpipe.config import load_work + +ROOT = Path(__file__).resolve().parent.parent +SDK = Path(os.environ.get("RENPY_SDK") or ROOT / "tools/renpy-sdk") / "renpy.sh" + + +@pytest.mark.skipif(not SDK.exists(), reason="Ren'Py SDK not found (set RENPY_SDK)") +def test_e2e_playthrough_faust(tmp_path): + work = load_work(ROOT) + data = json.loads((ROOT / "data/annotated.json").read_text(encoding="utf-8")) + out = tmp_path / "faust" + renpy_gen.generate(work, data, out, with_test=True) + home = tmp_path / "home" + home.mkdir() + env = { + **os.environ, + "HOME": str(home), + "SDL_VIDEODRIVER": "dummy", + "SDL_AUDIODRIVER": "dummy", + "RENPY_RENDERER": "sw", + } + result = subprocess.run( + [str(SDK), str(out), "test"], capture_output=True, text=True, env=env, timeout=900 + ) + report = result.stdout + result.stderr + for name in ("traceback.txt", "errors.txt"): + assert not (out / name).exists(), (out / name).read_text(encoding="utf-8") + assert result.returncode == 0, report + assert "Traceback" not in report and "FAIL" not in report, report diff --git a/tests/test_faust_text.py b/tests/test_faust_text.py new file mode 100644 index 0000000..63c8c45 --- /dev/null +++ b/tests/test_faust_text.py @@ -0,0 +1,73 @@ +"""Faust-specific checks on the real text and the committed data.""" + +import argparse +import json +import shutil +from pathlib import Path + +import pytest +from vnpipe import renpy_gen, text +from vnpipe.config import load_work +from vnpipe.schema import validate + +ROOT = Path(__file__).resolve().parent.parent +RAW = ROOT / "data/raw/pg68566.txt" + + +@pytest.mark.skipif(not RAW.is_file(), reason="raw Gutenberg file not downloaded") +def test_real_file_integration(): + work = load_work(ROOT) + _, parsed = text.build(RAW.read_bytes(), work.data) + assert [s["id"] for s in parsed["scenes"]] == [ + "dedicatoria", + "prologo_teatro", + "prologo_cielo", + "noche", + ] + known = set(work.speakers.values()) + for s in parsed["scenes"]: + assert s["lines"] + assert {ln["speaker"] for ln in s["lines"]} - {None} <= known + + +@pytest.mark.skipif(not RAW.is_file(), reason="raw Gutenberg file not downloaded") +def test_cli_parse_is_byte_identical(tmp_path): + work_dir = tmp_path / "faust" + (work_dir / "data/raw").mkdir(parents=True) + shutil.copy(ROOT / "work.toml", work_dir / "work.toml") + shutil.copy(RAW, work_dir / "data/raw/pg68566.txt") + args = argparse.Namespace(work=work_dir) + assert text.cmd_parse(args) == 0 + first = (work_dir / "data/parsed.json").read_bytes() + assert text.cmd_parse(args) == 0 + assert (work_dir / "data/parsed.json").read_bytes() == first + assert first.endswith(b"\n") + assert (work_dir / "data/play.txt").read_text(encoding="utf-8").startswith("DEDICATORIA\n") + # the committed data is what the parser produces + assert first == (ROOT / "data/parsed.json").read_bytes() + + +def test_from_parsed_annotations(): + work = load_work(ROOT) + parsed = json.loads((ROOT / "data/parsed.json").read_text(encoding="utf-8")) + annotated = renpy_gen.annotations_from_parsed(work, parsed) + validate(annotated, "annotated") + teatro = next(s for s in annotated["scenes"] if s["id"] == "prologo_teatro") + stage = [ln["ann"]["on_stage"] for ln in teatro["lines"] if ln["kind"] == "verse"] + assert stage[0] == [{"character": "director", "position": "left"}] + assert {e["character"]: e["position"] for e in stage[-1]} == { + "director": "left", + "poet": "right", + "clown": "center", + } + dedication = annotated["scenes"][0]["lines"][0]["ann"] + assert dedication["speaker"] == "poet_voice" and dedication["on_stage"] == [] + cielo = next(s for s in annotated["scenes"] if s["id"] == "prologo_cielo") + assert cielo["lines"][0]["ann"]["on_stage"] == [] + # the real project generates (cues all resolve) without writing anything + renpy_gen.render_script(work, annotated, set()) + + +def test_annotated_data_is_valid(): + data = json.loads((ROOT / "data/annotated.json").read_text(encoding="utf-8")) + validate(data, "annotated") diff --git a/vn/faust/game/characters.rpy b/vn/game/characters.rpy similarity index 100% rename from vn/faust/game/characters.rpy rename to vn/game/characters.rpy diff --git a/vn/faust/game/fonts/RobotoSlab-Bold.ttf b/vn/game/fonts/RobotoSlab-Bold.ttf similarity index 100% rename from vn/faust/game/fonts/RobotoSlab-Bold.ttf rename to vn/game/fonts/RobotoSlab-Bold.ttf diff --git a/vn/faust/game/fonts/RobotoSlab-Regular.ttf b/vn/game/fonts/RobotoSlab-Regular.ttf similarity index 100% rename from vn/faust/game/fonts/RobotoSlab-Regular.ttf rename to vn/game/fonts/RobotoSlab-Regular.ttf diff --git a/vn/faust/game/gui.rpy b/vn/game/gui.rpy similarity index 100% rename from vn/faust/game/gui.rpy rename to vn/game/gui.rpy diff --git a/vn/faust/game/gui/bar/bottom.png b/vn/game/gui/bar/bottom.png similarity index 100% rename from vn/faust/game/gui/bar/bottom.png rename to vn/game/gui/bar/bottom.png diff --git a/vn/faust/game/gui/bar/left.png b/vn/game/gui/bar/left.png similarity index 100% rename from vn/faust/game/gui/bar/left.png rename to vn/game/gui/bar/left.png diff --git a/vn/faust/game/gui/bar/right.png b/vn/game/gui/bar/right.png similarity index 100% rename from vn/faust/game/gui/bar/right.png rename to vn/game/gui/bar/right.png diff --git a/vn/faust/game/gui/bar/top.png b/vn/game/gui/bar/top.png similarity index 100% rename from vn/faust/game/gui/bar/top.png rename to vn/game/gui/bar/top.png diff --git a/vn/faust/game/gui/bubble.png b/vn/game/gui/bubble.png similarity index 100% rename from vn/faust/game/gui/bubble.png rename to vn/game/gui/bubble.png diff --git a/vn/faust/game/gui/button/background.png b/vn/game/gui/button/background.png similarity index 100% rename from vn/faust/game/gui/button/background.png rename to vn/game/gui/button/background.png diff --git a/vn/faust/game/gui/button/check_foreground.png b/vn/game/gui/button/check_foreground.png similarity index 100% rename from vn/faust/game/gui/button/check_foreground.png rename to vn/game/gui/button/check_foreground.png diff --git a/vn/faust/game/gui/button/check_selected_foreground.png b/vn/game/gui/button/check_selected_foreground.png similarity index 100% rename from vn/faust/game/gui/button/check_selected_foreground.png rename to vn/game/gui/button/check_selected_foreground.png diff --git a/vn/faust/game/gui/button/choice_hover_background.png b/vn/game/gui/button/choice_hover_background.png similarity index 100% rename from vn/faust/game/gui/button/choice_hover_background.png rename to vn/game/gui/button/choice_hover_background.png diff --git a/vn/faust/game/gui/button/choice_idle_background.png b/vn/game/gui/button/choice_idle_background.png similarity index 100% rename from vn/faust/game/gui/button/choice_idle_background.png rename to vn/game/gui/button/choice_idle_background.png diff --git a/vn/faust/game/gui/button/hover_background.png b/vn/game/gui/button/hover_background.png similarity index 100% rename from vn/faust/game/gui/button/hover_background.png rename to vn/game/gui/button/hover_background.png diff --git a/vn/faust/game/gui/button/quick_hover_background.png b/vn/game/gui/button/quick_hover_background.png similarity index 100% rename from vn/faust/game/gui/button/quick_hover_background.png rename to vn/game/gui/button/quick_hover_background.png diff --git a/vn/faust/game/gui/button/quick_idle_background.png b/vn/game/gui/button/quick_idle_background.png similarity index 100% rename from vn/faust/game/gui/button/quick_idle_background.png rename to vn/game/gui/button/quick_idle_background.png diff --git a/vn/faust/game/gui/button/radio_foreground.png b/vn/game/gui/button/radio_foreground.png similarity index 100% rename from vn/faust/game/gui/button/radio_foreground.png rename to vn/game/gui/button/radio_foreground.png diff --git a/vn/faust/game/gui/button/radio_selected_foreground.png b/vn/game/gui/button/radio_selected_foreground.png similarity index 100% rename from vn/faust/game/gui/button/radio_selected_foreground.png rename to vn/game/gui/button/radio_selected_foreground.png diff --git a/vn/faust/game/gui/button/selected_background.png b/vn/game/gui/button/selected_background.png similarity index 100% rename from vn/faust/game/gui/button/selected_background.png rename to vn/game/gui/button/selected_background.png diff --git a/vn/faust/game/gui/frame.png b/vn/game/gui/frame.png similarity index 100% rename from vn/faust/game/gui/frame.png rename to vn/game/gui/frame.png diff --git a/vn/faust/game/gui/game_menu.png b/vn/game/gui/game_menu.png similarity index 100% rename from vn/faust/game/gui/game_menu.png rename to vn/game/gui/game_menu.png diff --git a/vn/faust/game/gui/main_menu.png b/vn/game/gui/main_menu.png similarity index 100% rename from vn/faust/game/gui/main_menu.png rename to vn/game/gui/main_menu.png diff --git a/vn/faust/game/gui/namebox.png b/vn/game/gui/namebox.png similarity index 100% rename from vn/faust/game/gui/namebox.png rename to vn/game/gui/namebox.png diff --git a/vn/faust/game/gui/notify.png b/vn/game/gui/notify.png similarity index 100% rename from vn/faust/game/gui/notify.png rename to vn/game/gui/notify.png diff --git a/vn/faust/game/gui/nvl.png b/vn/game/gui/nvl.png similarity index 100% rename from vn/faust/game/gui/nvl.png rename to vn/game/gui/nvl.png diff --git a/vn/faust/game/gui/overlay/confirm.png b/vn/game/gui/overlay/confirm.png similarity index 100% rename from vn/faust/game/gui/overlay/confirm.png rename to vn/game/gui/overlay/confirm.png diff --git a/vn/faust/game/gui/overlay/game_menu.png b/vn/game/gui/overlay/game_menu.png similarity index 100% rename from vn/faust/game/gui/overlay/game_menu.png rename to vn/game/gui/overlay/game_menu.png diff --git a/vn/faust/game/gui/overlay/main_menu.png b/vn/game/gui/overlay/main_menu.png similarity index 100% rename from vn/faust/game/gui/overlay/main_menu.png rename to vn/game/gui/overlay/main_menu.png diff --git a/vn/faust/game/gui/phone/bar/bottom.png b/vn/game/gui/phone/bar/bottom.png similarity index 100% rename from vn/faust/game/gui/phone/bar/bottom.png rename to vn/game/gui/phone/bar/bottom.png diff --git a/vn/faust/game/gui/phone/bar/left.png b/vn/game/gui/phone/bar/left.png similarity index 100% rename from vn/faust/game/gui/phone/bar/left.png rename to vn/game/gui/phone/bar/left.png diff --git a/vn/faust/game/gui/phone/bar/right.png b/vn/game/gui/phone/bar/right.png similarity index 100% rename from vn/faust/game/gui/phone/bar/right.png rename to vn/game/gui/phone/bar/right.png diff --git a/vn/faust/game/gui/phone/bar/top.png b/vn/game/gui/phone/bar/top.png similarity index 100% rename from vn/faust/game/gui/phone/bar/top.png rename to vn/game/gui/phone/bar/top.png diff --git a/vn/faust/game/gui/phone/button/background.png b/vn/game/gui/phone/button/background.png similarity index 100% rename from vn/faust/game/gui/phone/button/background.png rename to vn/game/gui/phone/button/background.png diff --git a/vn/faust/game/gui/phone/button/check_foreground.png b/vn/game/gui/phone/button/check_foreground.png similarity index 100% rename from vn/faust/game/gui/phone/button/check_foreground.png rename to vn/game/gui/phone/button/check_foreground.png diff --git a/vn/faust/game/gui/phone/button/check_selected_foreground.png b/vn/game/gui/phone/button/check_selected_foreground.png similarity index 100% rename from vn/faust/game/gui/phone/button/check_selected_foreground.png rename to vn/game/gui/phone/button/check_selected_foreground.png diff --git a/vn/faust/game/gui/phone/button/choice_hover_background.png b/vn/game/gui/phone/button/choice_hover_background.png similarity index 100% rename from vn/faust/game/gui/phone/button/choice_hover_background.png rename to vn/game/gui/phone/button/choice_hover_background.png diff --git a/vn/faust/game/gui/phone/button/choice_idle_background.png b/vn/game/gui/phone/button/choice_idle_background.png similarity index 100% rename from vn/faust/game/gui/phone/button/choice_idle_background.png rename to vn/game/gui/phone/button/choice_idle_background.png diff --git a/vn/faust/game/gui/phone/button/hover_background.png b/vn/game/gui/phone/button/hover_background.png similarity index 100% rename from vn/faust/game/gui/phone/button/hover_background.png rename to vn/game/gui/phone/button/hover_background.png diff --git a/vn/faust/game/gui/phone/button/radio_foreground.png b/vn/game/gui/phone/button/radio_foreground.png similarity index 100% rename from vn/faust/game/gui/phone/button/radio_foreground.png rename to vn/game/gui/phone/button/radio_foreground.png diff --git a/vn/faust/game/gui/phone/button/radio_selected_foreground.png b/vn/game/gui/phone/button/radio_selected_foreground.png similarity index 100% rename from vn/faust/game/gui/phone/button/radio_selected_foreground.png rename to vn/game/gui/phone/button/radio_selected_foreground.png diff --git a/vn/faust/game/gui/phone/button/selected_background.png b/vn/game/gui/phone/button/selected_background.png similarity index 100% rename from vn/faust/game/gui/phone/button/selected_background.png rename to vn/game/gui/phone/button/selected_background.png diff --git a/vn/faust/game/gui/phone/nvl.png b/vn/game/gui/phone/nvl.png similarity index 100% rename from vn/faust/game/gui/phone/nvl.png rename to vn/game/gui/phone/nvl.png diff --git a/vn/faust/game/gui/phone/overlay/game_menu.png b/vn/game/gui/phone/overlay/game_menu.png similarity index 100% rename from vn/faust/game/gui/phone/overlay/game_menu.png rename to vn/game/gui/phone/overlay/game_menu.png diff --git a/vn/faust/game/gui/phone/overlay/main_menu.png b/vn/game/gui/phone/overlay/main_menu.png similarity index 100% rename from vn/faust/game/gui/phone/overlay/main_menu.png rename to vn/game/gui/phone/overlay/main_menu.png diff --git a/vn/faust/game/gui/phone/scrollbar/horizontal_bar.png b/vn/game/gui/phone/scrollbar/horizontal_bar.png similarity index 100% rename from vn/faust/game/gui/phone/scrollbar/horizontal_bar.png rename to vn/game/gui/phone/scrollbar/horizontal_bar.png diff --git a/vn/faust/game/gui/phone/scrollbar/horizontal_thumb.png b/vn/game/gui/phone/scrollbar/horizontal_thumb.png similarity index 100% rename from vn/faust/game/gui/phone/scrollbar/horizontal_thumb.png rename to vn/game/gui/phone/scrollbar/horizontal_thumb.png diff --git a/vn/faust/game/gui/phone/scrollbar/vertical_bar.png b/vn/game/gui/phone/scrollbar/vertical_bar.png similarity index 100% rename from vn/faust/game/gui/phone/scrollbar/vertical_bar.png rename to vn/game/gui/phone/scrollbar/vertical_bar.png diff --git a/vn/faust/game/gui/phone/scrollbar/vertical_thumb.png b/vn/game/gui/phone/scrollbar/vertical_thumb.png similarity index 100% rename from vn/faust/game/gui/phone/scrollbar/vertical_thumb.png rename to vn/game/gui/phone/scrollbar/vertical_thumb.png diff --git a/vn/faust/game/gui/phone/slider/horizontal_bar.png b/vn/game/gui/phone/slider/horizontal_bar.png similarity index 100% rename from vn/faust/game/gui/phone/slider/horizontal_bar.png rename to vn/game/gui/phone/slider/horizontal_bar.png diff --git a/vn/faust/game/gui/phone/slider/horizontal_thumb.png b/vn/game/gui/phone/slider/horizontal_thumb.png similarity index 100% rename from vn/faust/game/gui/phone/slider/horizontal_thumb.png rename to vn/game/gui/phone/slider/horizontal_thumb.png diff --git a/vn/faust/game/gui/phone/slider/vertical_bar.png b/vn/game/gui/phone/slider/vertical_bar.png similarity index 100% rename from vn/faust/game/gui/phone/slider/vertical_bar.png rename to vn/game/gui/phone/slider/vertical_bar.png diff --git a/vn/faust/game/gui/phone/slider/vertical_thumb.png b/vn/game/gui/phone/slider/vertical_thumb.png similarity index 100% rename from vn/faust/game/gui/phone/slider/vertical_thumb.png rename to vn/game/gui/phone/slider/vertical_thumb.png diff --git a/vn/faust/game/gui/phone/textbox.png b/vn/game/gui/phone/textbox.png similarity index 100% rename from vn/faust/game/gui/phone/textbox.png rename to vn/game/gui/phone/textbox.png diff --git a/vn/faust/game/gui/scrollbar/horizontal_bar.png b/vn/game/gui/scrollbar/horizontal_bar.png similarity index 100% rename from vn/faust/game/gui/scrollbar/horizontal_bar.png rename to vn/game/gui/scrollbar/horizontal_bar.png diff --git a/vn/faust/game/gui/scrollbar/horizontal_thumb.png b/vn/game/gui/scrollbar/horizontal_thumb.png similarity index 100% rename from vn/faust/game/gui/scrollbar/horizontal_thumb.png rename to vn/game/gui/scrollbar/horizontal_thumb.png diff --git a/vn/faust/game/gui/scrollbar/vertical_bar.png b/vn/game/gui/scrollbar/vertical_bar.png similarity index 100% rename from vn/faust/game/gui/scrollbar/vertical_bar.png rename to vn/game/gui/scrollbar/vertical_bar.png diff --git a/vn/faust/game/gui/scrollbar/vertical_thumb.png b/vn/game/gui/scrollbar/vertical_thumb.png similarity index 100% rename from vn/faust/game/gui/scrollbar/vertical_thumb.png rename to vn/game/gui/scrollbar/vertical_thumb.png diff --git a/vn/faust/game/gui/skip.png b/vn/game/gui/skip.png similarity index 100% rename from vn/faust/game/gui/skip.png rename to vn/game/gui/skip.png diff --git a/vn/faust/game/gui/slider/horizontal_bar.png b/vn/game/gui/slider/horizontal_bar.png similarity index 100% rename from vn/faust/game/gui/slider/horizontal_bar.png rename to vn/game/gui/slider/horizontal_bar.png diff --git a/vn/faust/game/gui/slider/horizontal_thumb.png b/vn/game/gui/slider/horizontal_thumb.png similarity index 100% rename from vn/faust/game/gui/slider/horizontal_thumb.png rename to vn/game/gui/slider/horizontal_thumb.png diff --git a/vn/faust/game/gui/slider/vertical_bar.png b/vn/game/gui/slider/vertical_bar.png similarity index 100% rename from vn/faust/game/gui/slider/vertical_bar.png rename to vn/game/gui/slider/vertical_bar.png diff --git a/vn/faust/game/gui/slider/vertical_thumb.png b/vn/game/gui/slider/vertical_thumb.png similarity index 100% rename from vn/faust/game/gui/slider/vertical_thumb.png rename to vn/game/gui/slider/vertical_thumb.png diff --git a/vn/faust/game/gui/textbox.png b/vn/game/gui/textbox.png similarity index 100% rename from vn/faust/game/gui/textbox.png rename to vn/game/gui/textbox.png diff --git a/vn/faust/game/gui/thoughtbubble.png b/vn/game/gui/thoughtbubble.png similarity index 100% rename from vn/faust/game/gui/thoughtbubble.png rename to vn/game/gui/thoughtbubble.png diff --git a/vn/faust/game/gui/window_icon.png b/vn/game/gui/window_icon.png similarity index 100% rename from vn/faust/game/gui/window_icon.png rename to vn/game/gui/window_icon.png diff --git a/vn/faust/game/images.rpy b/vn/game/images.rpy similarity index 100% rename from vn/faust/game/images.rpy rename to vn/game/images.rpy diff --git a/works/faust/assets/bg/dedication.webp b/vn/game/images/bg/dedication.webp similarity index 100% rename from works/faust/assets/bg/dedication.webp rename to vn/game/images/bg/dedication.webp diff --git a/works/faust/assets/bg/heaven.webp b/vn/game/images/bg/heaven.webp similarity index 100% rename from works/faust/assets/bg/heaven.webp rename to vn/game/images/bg/heaven.webp diff --git a/works/faust/assets/bg/heaven_lord.webp b/vn/game/images/bg/heaven_lord.webp similarity index 100% rename from works/faust/assets/bg/heaven_lord.webp rename to vn/game/images/bg/heaven_lord.webp diff --git a/works/faust/assets/bg/study.webp b/vn/game/images/bg/study.webp similarity index 100% rename from works/faust/assets/bg/study.webp rename to vn/game/images/bg/study.webp diff --git a/works/faust/assets/bg/study_macrocosm.webp b/vn/game/images/bg/study_macrocosm.webp similarity index 100% rename from works/faust/assets/bg/study_macrocosm.webp rename to vn/game/images/bg/study_macrocosm.webp diff --git a/works/faust/assets/bg/study_spirit.webp b/vn/game/images/bg/study_spirit.webp similarity index 100% rename from works/faust/assets/bg/study_spirit.webp rename to vn/game/images/bg/study_spirit.webp diff --git a/works/faust/assets/bg/theatre.webp b/vn/game/images/bg/theatre.webp similarity index 100% rename from works/faust/assets/bg/theatre.webp rename to vn/game/images/bg/theatre.webp diff --git a/works/faust/assets/sprites/clown_laughing.webp b/vn/game/images/sprites/clown_laughing.webp similarity index 100% rename from works/faust/assets/sprites/clown_laughing.webp rename to vn/game/images/sprites/clown_laughing.webp diff --git a/works/faust/assets/sprites/clown_mocking.webp b/vn/game/images/sprites/clown_mocking.webp similarity index 100% rename from works/faust/assets/sprites/clown_mocking.webp rename to vn/game/images/sprites/clown_mocking.webp diff --git a/works/faust/assets/sprites/clown_neutral.webp b/vn/game/images/sprites/clown_neutral.webp similarity index 100% rename from works/faust/assets/sprites/clown_neutral.webp rename to vn/game/images/sprites/clown_neutral.webp diff --git a/works/faust/assets/sprites/director_neutral.webp b/vn/game/images/sprites/director_neutral.webp similarity index 100% rename from works/faust/assets/sprites/director_neutral.webp rename to vn/game/images/sprites/director_neutral.webp diff --git a/works/faust/assets/sprites/director_pleased.webp b/vn/game/images/sprites/director_pleased.webp similarity index 100% rename from works/faust/assets/sprites/director_pleased.webp rename to vn/game/images/sprites/director_pleased.webp diff --git a/works/faust/assets/sprites/director_worried.webp b/vn/game/images/sprites/director_worried.webp similarity index 100% rename from works/faust/assets/sprites/director_worried.webp rename to vn/game/images/sprites/director_worried.webp diff --git a/works/faust/assets/sprites/faust_anguished.webp b/vn/game/images/sprites/faust_anguished.webp similarity index 100% rename from works/faust/assets/sprites/faust_anguished.webp rename to vn/game/images/sprites/faust_anguished.webp diff --git a/works/faust/assets/sprites/faust_ecstatic.webp b/vn/game/images/sprites/faust_ecstatic.webp similarity index 100% rename from works/faust/assets/sprites/faust_ecstatic.webp rename to vn/game/images/sprites/faust_ecstatic.webp diff --git a/works/faust/assets/sprites/faust_fearful.webp b/vn/game/images/sprites/faust_fearful.webp similarity index 100% rename from works/faust/assets/sprites/faust_fearful.webp rename to vn/game/images/sprites/faust_fearful.webp diff --git a/works/faust/assets/sprites/faust_neutral.webp b/vn/game/images/sprites/faust_neutral.webp similarity index 100% rename from works/faust/assets/sprites/faust_neutral.webp rename to vn/game/images/sprites/faust_neutral.webp diff --git a/works/faust/assets/sprites/mephisto_deferent.webp b/vn/game/images/sprites/mephisto_deferent.webp similarity index 100% rename from works/faust/assets/sprites/mephisto_deferent.webp rename to vn/game/images/sprites/mephisto_deferent.webp diff --git a/works/faust/assets/sprites/mephisto_neutral.webp b/vn/game/images/sprites/mephisto_neutral.webp similarity index 100% rename from works/faust/assets/sprites/mephisto_neutral.webp rename to vn/game/images/sprites/mephisto_neutral.webp diff --git a/works/faust/assets/sprites/mephisto_scornful.webp b/vn/game/images/sprites/mephisto_scornful.webp similarity index 100% rename from works/faust/assets/sprites/mephisto_scornful.webp rename to vn/game/images/sprites/mephisto_scornful.webp diff --git a/works/faust/assets/sprites/mephisto_sly.webp b/vn/game/images/sprites/mephisto_sly.webp similarity index 100% rename from works/faust/assets/sprites/mephisto_sly.webp rename to vn/game/images/sprites/mephisto_sly.webp diff --git a/works/faust/assets/sprites/poet_indignant.webp b/vn/game/images/sprites/poet_indignant.webp similarity index 100% rename from works/faust/assets/sprites/poet_indignant.webp rename to vn/game/images/sprites/poet_indignant.webp diff --git a/works/faust/assets/sprites/poet_inspired.webp b/vn/game/images/sprites/poet_inspired.webp similarity index 100% rename from works/faust/assets/sprites/poet_inspired.webp rename to vn/game/images/sprites/poet_inspired.webp diff --git a/works/faust/assets/sprites/poet_neutral.webp b/vn/game/images/sprites/poet_neutral.webp similarity index 100% rename from works/faust/assets/sprites/poet_neutral.webp rename to vn/game/images/sprites/poet_neutral.webp diff --git a/vn/faust/game/options.rpy b/vn/game/options.rpy similarity index 100% rename from vn/faust/game/options.rpy rename to vn/game/options.rpy diff --git a/vn/faust/game/screens.rpy b/vn/game/screens.rpy similarity index 100% rename from vn/faust/game/screens.rpy rename to vn/game/screens.rpy diff --git a/vn/faust/game/script.rpy b/vn/game/script.rpy similarity index 100% rename from vn/faust/game/script.rpy rename to vn/game/script.rpy diff --git a/vn/faust/game/support.rpy b/vn/game/support.rpy similarity index 100% rename from vn/faust/game/support.rpy rename to vn/game/support.rpy diff --git a/works/faust/work.toml b/work.toml similarity index 98% rename from works/faust/work.toml rename to work.toml index df0631d..7ee258d 100644 --- a/works/faust/work.toml +++ b/work.toml @@ -1,5 +1,5 @@ # Work configuration: everything specific to this text lives here. -# The pipeline code in src/vnpipe must stay work-agnostic. +# The pipeline (vnpipe, ../vnpipe) is work-agnostic; docs/adaptation-rules.md has the rationale. [work] id = "faust"