generate_screenshots.py regenerates epigraph.png and ginger.png using the current GUI. This single script requires Python 3.9 or later, uses only the standard library, and needs a working graphical desktop.
From the repository root, build the GUI-enabled CLI:
cargo build --locked --release -p tdector-cli --features gui-control --target-dir target/gui-control
On macOS or Linux:
python3 sample/generate_screenshots.py --tdector ./target/gui-control/release/tdectorOn Windows:
py -3 sample/generate_screenshots.py --tdector ./target/gui-control/release/tdector.exeUse python instead of py -3 if that is how Python is installed. If the GUI-enabled tdector is on PATH, omit --tdector. The generator locates sample files relative to its own location; a supplied executable path is relative to your current directory.
The generator arranges each sample, captures its rendered framebuffer, and closes its GUI session. It overwrites the two PNG files only after both captures succeed; a failed capture leaves the existing images in place. The sample project files remain unchanged. The compositions use logical client sizes of 1280 × 960 for Epigraph and 1400 × 1000 for Ginger, so output pixel dimensions and font rendering vary with display DPI and platform. See the GUI-control guide for display constraints and composition details.
ginger.txt and it's translation come from:
- https://discord.com/channels/1201585304964976820/1293941074464735262/1355309770264936549
- https://discord.com/channels/1201585304964976820/1293941074464735262/1355308821056192802
- https://github.com/DesiQuintans/gingergame
- https://github.com/jcoglan/ginger/blob/main/translations.txt
- https://github.com/kai-tk/Ginger
epigraph.txt and it's translation come from:
- https://steamcommunity.com/sharedfiles/filedetails/?id=3428231195
- https://steamcommunity.com/sharedfiles/filedetails/?id=3171688772
epigraph.otf is made by myself using FontForge, you can access the source file in NewNariSans.sfd.