art/tools: Workbench-Spiegel per FTP (Programmschmiede)

- sync_workbench.sh: --scan/--check/--upload/--download, Dry-Run,
  SHA-256-Manifest, optionaler Rück-Hash nach dem Upload
- Ziel taloria/workbench; Zugang aus docs/credentials.txt (gitignored)
  oder TALORIA_CREDENTIALS, auf dieser Maschine Fallback auf rinkplanner
- workbench-manifest.json: 116 Raws, 63 MB, ohne die Raws selbst
- SETUP/stand/README dokumentiert
This commit is contained in:
torsten 2026-11-15 17:39:59 +01:00
parent eadd587cff
commit 3219649727
7 changed files with 1016 additions and 0 deletions

3
.gitignore vendored
View file

@ -22,3 +22,6 @@ mono_crash.*.json
# Python (art/tools)
__pycache__/
*.py[cod]
# Zugänge (FTP-Programmschmiede, Workbench-Spiegel)
docs/credentials.txt

View file

@ -91,6 +91,7 @@ art/
tools/map_mock.py Karten-Mock: Stadt/Dungeon mit Dialog und Party, 640x360
tools/weltpalette.py Weltpalette: Entwuerfe vergleichen, --install schreibt final/
tools/setup.py check / deps / comfy / models / workbench
tools/sync_workbench.sh Raws per FTP auf die Programmschmiede spiegeln
workflows/ ComfyUI-Jobdateien, eine pro Motiv (flux2_klein9b_api.json = Standard)
license-log.csv jede Generierung, mit Prompt und Seed
final/<Kategorie>/ pixelize-Ergebnisse, engine-fertig

View file

@ -90,6 +90,28 @@ Damit laufen alle dokumentierten Kommandos unverändert von dort
trotzdem nur einen Stand. `inspire/` bleibt bewusst leer — die
Referenz-Screenshots sind geschützte Spiele und werden nicht verteilt.
### Workbench-Spiegel (FTP)
Die Raws sind **nicht** im Repo. `art/tools/sync_workbench.sh` hält sie als
Verteilungskopie auf der Programmschmiede; Integritätsanker ist
[`workbench-manifest.json`](workbench-manifest.json) (SHA-256 je Datei,
committet, die Raws selbst nicht).
```bash
art/tools/sync_workbench.sh --scan # Manifest aus assets/raw/ neu schreiben
art/tools/sync_workbench.sh --check # lokale Raws gegen das Manifest prüfen
art/tools/sync_workbench.sh --upload # Raws + Manifest hochladen
art/tools/sync_workbench.sh --download # fehlende Raws in die Workbench holen
```
Ziel ist `taloria/workbench` auf dem FTP-Server. Zugang:
`docs/credentials.txt` (gitignored, Vorlage:
[`../docs/credentials.example.txt`](../docs/credentials.example.txt)) oder
`TALORIA_CREDENTIALS=/pfad/zu/credentials.txt`. Auf diesem Rechner fällt das
Skript auf `~/repos/rinkplanner/docs/credentials.txt` zurück, solange die
lokale Datei fehlt. `FTP_DIRECTORY` aus der Rinkplanner-Datei wird ignoriert;
das Ziel steuert `TALORIA_FTP_DIR` (Standard `taloria/workbench`).
## 4. Erster Lauf (Ende-zu-Ende)
```bash

382
art/tools/sync_workbench.sh Executable file
View file

@ -0,0 +1,382 @@
#!/usr/bin/env bash
# sync_workbench.sh - Workbench-Raws auf die Programmschmiede spiegeln.
#
# Die Workbench ist nicht versioniert; die fertigen Assets liegen im Repo.
# Dieses Skript hält die **Rohbilder** als Verteilungskopie auf dem FTP-Spiegel
# und holt sie auf einem Rechner ohne Workbench zurück.
#
# Integritätsanker ist der SHA-256 aus art/workbench-manifest.json. Der
# FTP-Spiegel ist eine Kopie, keine zweite Quelle der Wahrheit.
#
# tools/sync_workbench.sh --scan Manifest aus der Workbench schreiben
# tools/sync_workbench.sh --check lokale Raws gegen das Manifest prüfen
# tools/sync_workbench.sh --upload Raws hochladen (+ Manifest)
# tools/sync_workbench.sh --download fehlende Raws vom FTP holen
# tools/sync_workbench.sh --upload --dry-run
#
# Zugang: docs/credentials.txt (gitignored) oder TALORIA_CREDENTIALS.
# Die Werte FTP_URL, FTP_USER, FTP_PASSWORD, FTP_PORT, FTP_VERIFY werden
# gelesen; FTP_DIRECTORY wird ignoriert, das Ziel ist TALORIA_FTP_DIR
# (Standard: taloria/workbench).
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
MANIFEST="$REPO_ROOT/art/workbench-manifest.json"
WORKBENCH="${TALORIA_WORKBENCH:-$HOME/Dokumente/workbench_taloria}"
RAW="$WORKBENCH/assets/raw"
FTP_ASSET_DIR="${TALORIA_FTP_DIR:-taloria/workbench}"
CREDENTIALS="${TALORIA_CREDENTIALS:-$REPO_ROOT/docs/credentials.txt}"
if [[ ! -f "$CREDENTIALS" && -f "$HOME/repos/rinkplanner/docs/credentials.txt" ]]; then
CREDENTIALS="$HOME/repos/rinkplanner/docs/credentials.txt"
echo "Hinweis: nutze Zugang aus $CREDENTIALS" >&2
fi
MODE="check"
DRY=0
VERIFY=1
FORCE=0
ENV_FTP_HOST="${TALORIA_FTP_HOST:-}"
ENV_FTP_PORT="${TALORIA_FTP_PORT:-}"
ENV_FTP_USER="${TALORIA_FTP_USER:-}"
ENV_FTP_PASSWORD="${TALORIA_FTP_PASSWORD:-}"
ENV_FTP_VERIFY="${TALORIA_FTP_VERIFY:-}"
FILE_FTP_URL=""
FILE_FTP_USER=""
FILE_FTP_PASSWORD=""
FILE_FTP_VERIFY=""
FILE_FTP_PORT=""
usage() {
cat <<'EOF'
Aufruf: art/tools/sync_workbench.sh [--scan|--check|--upload|--download]
[--dry-run] [--no-verify] [--force]
--scan art/workbench-manifest.json aus assets/raw/ neu schreiben.
--check Lokale Workbench gegen das Manifest prüfen (Standard).
--upload Raws und Manifest auf den FTP-Spiegel laden.
--download Manifest holen und fehlende Raws in die Workbench laden.
--dry-run Nur zeigen, was passieren würde.
--no-verify Nicht nach dem Upload herunterladen und hashen (schneller).
--force Vorhandene Ziele mit abweichendem Hash überschreiben.
Umgebung:
TALORIA_WORKBENCH Workbench (Standard: ~/Dokumente/workbench_taloria)
TALORIA_CREDENTIALS Zugangsdatei (Standard: <repo>/docs/credentials.txt)
TALORIA_FTP_DIR Ziel auf dem Server (Standard: taloria/workbench)
TALORIA_FTP_HOST/PORT/USER/PASSWORD/VERIFY überschreiben die Datei
EOF
}
while [[ $# -gt 0 ]]; do
case "$1" in
--scan) MODE="scan" ;;
--check) MODE="check" ;;
--upload) MODE="upload" ;;
--download) MODE="download" ;;
--dry-run) DRY=1 ;;
--no-verify) VERIFY=0 ;;
--force) FORCE=1 ;;
-h|--help) usage; exit 0 ;;
*) echo "Unbekannte Option: $1" >&2; usage >&2; exit 2 ;;
esac
shift
done
# --- Manifest ---------------------------------------------------------------
scan() {
if [[ ! -d "$RAW" ]]; then
echo "Workbench fehlt: $RAW" >&2
echo "Erst anlegen: python3 art/tools/setup.py workbench \"$WORKBENCH\"" >&2
exit 1
fi
python3 - "$RAW" "$MANIFEST" "$FTP_ASSET_DIR" <<'PY'
import hashlib
import json
import sys
from pathlib import Path
root = Path(sys.argv[1])
out = Path(sys.argv[2])
remote = sys.argv[3]
files = []
for p in sorted(root.rglob("*")):
if not p.is_file():
continue
h = hashlib.sha256()
with p.open("rb") as fh:
for block in iter(lambda: fh.read(1 << 20), b""):
h.update(block)
files.append({
"path": str(p.relative_to(root)),
"bytes": p.stat().st_size,
"sha256": h.hexdigest(),
})
doc = {
"schema": 1,
"root": "assets/raw",
"remote": f"{remote}/raw",
"files": files,
}
out.parent.mkdir(parents=True, exist_ok=True)
out.write_text(json.dumps(doc, indent=2, ensure_ascii=False) + "\n")
print(f"{out}: {len(files)} Dateien")
PY
}
rows() {
python3 - "$MANIFEST" <<'PY'
import json
import sys
with open(sys.argv[1], encoding="utf-8") as fh:
doc = json.load(fh)
for e in doc.get("files", []):
print("\t".join([e["path"], str(e["bytes"]), e["sha256"]]))
PY
}
# --- Werkzeug ---------------------------------------------------------------
file_size() {
if stat -c '%s' "$1" >/dev/null 2>&1; then
stat -c '%s' "$1"
else
stat -f '%z' "$1"
fi
}
if command -v sha256sum >/dev/null 2>&1; then
file_sha() { sha256sum "$1" | cut -d' ' -f1; }
else
file_sha() { shasum -a 256 "$1" | cut -d' ' -f1; }
fi
matches() {
local path="$1" bytes="$2" sha="$3"
[[ -f "$path" ]] || return 1
[[ "$(file_size "$path")" == "$bytes" ]] || return 1
[[ "$(file_sha "$path")" == "$sha" ]]
}
# --- FTP --------------------------------------------------------------------
REMOTE_READY=0
CURL_BASE=()
read_creds() {
[[ -f "$CREDENTIALS" ]] || return 0
while IFS= read -r line || [[ -n "$line" ]]; do
line="${line%$'\r'}"
[[ -z "$line" || "$line" == \#* || "$line" != *=* ]] && continue
key="${line%%=*}"; value="${line#*=}"
value="${value#\"}"; value="${value%\"}"
value="${value#\'}"; value="${value%\'}"
case "$key" in
FTP_URL) FILE_FTP_URL="$value" ;;
FTP_USER) FILE_FTP_USER="$value" ;;
FTP_PASSWORD) FILE_FTP_PASSWORD="$value" ;;
FTP_VERIFY) FILE_FTP_VERIFY="$value" ;;
FTP_PORT) FILE_FTP_PORT="$value" ;;
esac
done < "$CREDENTIALS"
}
ensure_remote() {
[[ "$REMOTE_READY" -eq 1 ]] && return
read_creds
case "$FILE_FTP_URL" in
ftp://*) FILE_FTP_URL="${FILE_FTP_URL#ftp://}" ;;
ftps://*) FILE_FTP_URL="${FILE_FTP_URL#ftps://}" ;;
esac
FILE_FTP_URL="${FILE_FTP_URL%%/*}"
if [[ "$FILE_FTP_URL" == *:* ]]; then
FILE_FTP_PORT="${FILE_FTP_URL##*:}"
FILE_FTP_URL="${FILE_FTP_URL%:*}"
fi
FTP_HOST="${ENV_FTP_HOST:-$FILE_FTP_URL}"
FTP_PORT="${ENV_FTP_PORT:-${FILE_FTP_PORT:-21}}"
FTP_USER="${ENV_FTP_USER:-$FILE_FTP_USER}"
FTP_PASSWORD="${ENV_FTP_PASSWORD:-$FILE_FTP_PASSWORD}"
FTP_VERIFY="${ENV_FTP_VERIFY:-${FILE_FTP_VERIFY:-0}}"
if [[ -z "$FTP_HOST" || -z "$FTP_USER" || -z "$FTP_PASSWORD" ]]; then
echo "FTP-Zugang fehlt: $CREDENTIALS" >&2
echo "Setze TALORIA_CREDENTIALS oder TALORIA_FTP_*." >&2
exit 1
fi
CURL_BASE=(--ssl-reqd --silent --show-error --connect-timeout 20
--max-time 900 --user "$FTP_USER:$FTP_PASSWORD")
case "$FTP_VERIFY" in
1|true|TRUE|yes|YES) ;;
*) CURL_BASE+=(--insecure)
echo "Hinweis: TLS-Zertifikat wird nicht geprüft; Integrität sichert der SHA-256." >&2 ;;
esac
REMOTE_READY=1
}
remote_url() {
local p="${1#/}"
printf 'ftp://%s:%s/%s/%s' "$FTP_HOST" "$FTP_PORT" "$FTP_ASSET_DIR" "$p"
}
remote_upload() {
local p="$1" src="$2"
curl "${CURL_BASE[@]}" --ftp-create-dirs --upload-file "$src" "$(remote_url "$p")"
}
remote_download() {
local p="$1" dst="$2"
curl "${CURL_BASE[@]}" --output "$dst" "$(remote_url "$p")"
}
# --- Modi -------------------------------------------------------------------
if [[ "$MODE" == "scan" ]]; then
scan
exit 0
fi
if [[ ! -f "$MANIFEST" ]]; then
echo "Manifest fehlt: $MANIFEST" >&2
echo "Erst scannen: art/tools/sync_workbench.sh --scan" >&2
exit 1
fi
case "$MODE" in
check)
problems=0
while IFS=$'\t' read -r rel bytes sha; do
if matches "$RAW/$rel" "$bytes" "$sha"; then
echo " ok $rel"
else
if [[ ! -f "$RAW/$rel" ]]; then
echo " FEHLT $rel" >&2
else
echo " ABWEICHUNG $rel" >&2
fi
problems=$((problems + 1))
fi
done < <(rows)
if [[ "$problems" -gt 0 ]]; then
echo "" >&2
echo "$problems Datei(en) fehlen oder weichen ab." >&2
exit 1
fi
echo "Workbench OK."
;;
upload)
ensure_remote
problems=0
while IFS=$'\t' read -r rel bytes sha; do
src="$RAW/$rel"
if ! matches "$src" "$bytes" "$sha"; then
echo " QUELLE FEHLT/FALSCH $rel" >&2
problems=$((problems + 1))
continue
fi
if [[ "$DRY" -eq 1 ]]; then
echo " würde laden raw/$rel"
continue
fi
echo " lade hoch raw/$rel"
if ! remote_upload "raw/$rel" "$src"; then
echo " UPLOAD FEHLGESCHLAGEN $rel" >&2
problems=$((problems + 1))
continue
fi
if [[ "$VERIFY" -eq 1 ]]; then
tmp="$(mktemp "${TMPDIR:-/tmp}/taloria-raw.XXXXXX")"
if remote_download "raw/$rel" "$tmp" && matches "$tmp" "$bytes" "$sha"; then
rm -f "$tmp"
else
echo " KONTROLLE FEHLGESCHLAGEN $rel" >&2
rm -f "$tmp"
problems=$((problems + 1))
fi
fi
done < <(rows)
if [[ "$problems" -eq 0 ]]; then
if [[ "$DRY" -eq 1 ]]; then
echo " würde laden manifest.json"
else
echo " lade hoch manifest.json"
remote_upload "manifest.json" "$MANIFEST" || problems=$((problems + 1))
fi
fi
if [[ "$problems" -gt 0 ]]; then
echo "" >&2
echo "$problems Datei(en) nicht hochgeladen." >&2
exit 1
fi
if [[ "$DRY" -eq 1 ]]; then
echo "Dry-run: nichts hochgeladen."
else
echo "FTP-Spiegel OK: $FTP_ASSET_DIR"
fi
;;
download)
ensure_remote
tmp_manifest="$(mktemp "${TMPDIR:-/tmp}/taloria-manifest.XXXXXX")"
if ! remote_download "manifest.json" "$tmp_manifest"; then
rm -f "$tmp_manifest"
echo "Remote-Manifest fehlt: $FTP_ASSET_DIR/manifest.json" >&2
exit 1
fi
problems=0
while IFS=$'\t' read -r rel bytes sha; do
dst="$RAW/$rel"
if matches "$dst" "$bytes" "$sha"; then
echo " ok $rel"
continue
fi
if [[ -f "$dst" && "$FORCE" -ne 1 ]]; then
echo " ABWEICHUNG $rel (--force zum Überschreiben)" >&2
problems=$((problems + 1))
continue
fi
if [[ "$DRY" -eq 1 ]]; then
echo " würde holen raw/$rel"
continue
fi
mkdir -p "$(dirname "$dst")"
tmp="$(mktemp "${TMPDIR:-/tmp}/taloria-raw.XXXXXX")"
if remote_download "raw/$rel" "$tmp" && matches "$tmp" "$bytes" "$sha"; then
mv "$tmp" "$dst"
echo " geholt $rel"
else
rm -f "$tmp"
echo " DOWNLOAD FEHLGESCHLAGEN $rel" >&2
problems=$((problems + 1))
fi
done < <(python3 - "$tmp_manifest" <<'PY'
import json, sys
with open(sys.argv[1], encoding="utf-8") as fh:
doc = json.load(fh)
for e in doc.get("files", []):
print("\t".join([e["path"], str(e["bytes"]), e["sha256"]]))
PY
)
rm -f "$tmp_manifest"
if [[ "$problems" -gt 0 ]]; then
echo "" >&2
echo "$problems Datei(en) nicht geladen." >&2
exit 1
fi
if [[ "$DRY" -eq 1 ]]; then
echo "Dry-run: nichts geladen."
else
echo "Workbench ergänzt."
fi
;;
esac

587
art/workbench-manifest.json Normal file
View file

@ -0,0 +1,587 @@
{
"schema": 1,
"root": "assets/raw",
"remote": "taloria/workbench/raw",
"files": [
{
"path": "Creatures/monster_ghul_fal_s271828.json",
"bytes": 800,
"sha256": "9025071506b49e5eb088307f94d5b86703fc0511f8af71bd6219fe94c3518f54"
},
{
"path": "Creatures/monster_ghul_fal_s271828.png",
"bytes": 1156535,
"sha256": "9e2c0479878a9267bd61a0a26e89f3921a3bcb07c9d47e946f0ca3b95249318c"
},
{
"path": "Creatures/monster_goblin_fal_s271828.json",
"bytes": 797,
"sha256": "e76d370060c37bd3bfff99bad23f417fca50f9dc45848814e5ae4451d3b02beb"
},
{
"path": "Creatures/monster_goblin_fal_s271828.png",
"bytes": 1061645,
"sha256": "4412ee7f014a46c0f11ef27a69912df5dee7d0c4611db63975efc84c3d8da10a"
},
{
"path": "Creatures/monster_goblin_fal_s271828_b.json",
"bytes": 828,
"sha256": "f4be521196d858b013341c3da722005980c9dea1185cc3257eb4a41d098d1bd6"
},
{
"path": "Creatures/monster_goblin_fal_s271828_b.png",
"bytes": 1075898,
"sha256": "cc357fabfb8d14afb8583342e4bb4b70cd82736951ece8d94bb5400a2a82c51f"
},
{
"path": "Creatures/monster_goblin_fal_s271828_magenta.json",
"bytes": 825,
"sha256": "89de634749ee1efd3f9c9f2037bd3baf9ead59b4274dc861a5d52761dba67805"
},
{
"path": "Creatures/monster_goblin_fal_s271828_magenta.png",
"bytes": 1076669,
"sha256": "092e123284c35bad4e19e26667d55dbd932f02c03cfd4cfba626f0d64ccd7c5c"
},
{
"path": "Creatures/monster_goblin_fal_s314159.json",
"bytes": 797,
"sha256": "4f37dd2bb9d46b0feca5143681cf99dccc1503e026511fab8a2816b15523ff6f"
},
{
"path": "Creatures/monster_goblin_fal_s314159.png",
"bytes": 820084,
"sha256": "2b1aad6ac4befa622f150676539a8465f35d33dd23b1ae00605f34488887a465"
},
{
"path": "Creatures/monster_goblin_fal_s880417.json",
"bytes": 797,
"sha256": "0a864a0961020245e9be696f47824fe27e8bfd3c75f806724c4ee348f1b29307"
},
{
"path": "Creatures/monster_goblin_fal_s880417.png",
"bytes": 883909,
"sha256": "d2133f0a84eed4605f6544376d74cace7e0b7554b81621cb01ac51466de673b0"
},
{
"path": "Creatures/monster_orc_fal_s271828.json",
"bytes": 811,
"sha256": "0e69451660accdb7abb7ca3037ec80d866efa312d0e9e108b9e5555b00dfd9cf"
},
{
"path": "Creatures/monster_orc_fal_s271828.png",
"bytes": 1160835,
"sha256": "83f61a9c51c8a4bd712f79384e522db1ad985ff4592849b7a0899aff7f385fda"
},
{
"path": "Creatures/monster_ratte_fal_s271828.json",
"bytes": 729,
"sha256": "e4880e4a2c3060ad771fb1f49a54de8db978b2736851e192b67c7d3e863ebfcf"
},
{
"path": "Creatures/monster_ratte_fal_s271828.png",
"bytes": 1070673,
"sha256": "3e1fa091cee47626227668830b1c17470a096851b419d2298c7642aef93c6bd4"
},
{
"path": "Creatures/monster_ratte_v2_fal_s271828.json",
"bytes": 758,
"sha256": "ffa489e94dabddc7181b7700cdbb10d2a3b54af258d8403ff8605fabd58df2fd"
},
{
"path": "Creatures/monster_ratte_v2_fal_s271828.png",
"bytes": 1085191,
"sha256": "3b9de02ef11623c6ce3f5f97d429af23a01c6b4e831dfce6bed59f7663a743ad"
},
{
"path": "Creatures/monster_schwertkaempfer_fal_s271828.json",
"bytes": 780,
"sha256": "85a44e034d09610096cae7329108d7bfe04c463b17e8666d068bc1752b31d327"
},
{
"path": "Creatures/monster_schwertkaempfer_fal_s271828.png",
"bytes": 1067194,
"sha256": "9dd9539d58115bcc6b5e193a3c4a235e5afae570664da796da78dd53ba4327d3"
},
{
"path": "Creatures/monster_skelett_fal_s271828.json",
"bytes": 770,
"sha256": "ea7ce587ce149ca6615dbbf4c46e53e77a9400ee62d9037d07c3982900564d61"
},
{
"path": "Creatures/monster_skelett_fal_s271828.png",
"bytes": 1018831,
"sha256": "1c707c5d60a6461c798b47007046b6b7eecf8f04cb9a6177ba96215b80bd7a58"
},
{
"path": "Creatures/monster_skelett_v2_fal_s271828.json",
"bytes": 814,
"sha256": "f2a44195706d4b71d08dfd046313f9a8346004b1e495adb374b359deeaca7a14"
},
{
"path": "Creatures/monster_skelett_v2_fal_s271828.png",
"bytes": 954554,
"sha256": "e2f22a76ac3e2a14ea9704f5b23afa253dc46b5f5b31a39d310564ad0b3ce24c"
},
{
"path": "Creatures/monster_skelett_v3_fal_s271828.json",
"bytes": 804,
"sha256": "c8dedb8afe37f3b91c1e1108ab434232900a0e0bdce398ed993021fde010be7b"
},
{
"path": "Creatures/monster_skelett_v3_fal_s271828.png",
"bytes": 1002972,
"sha256": "09486b3c871b2731728319e4d811ff31aa76af0bd27d7fb6adaa82a1d40f211d"
},
{
"path": "Creatures/monster_spinne_fal_s271828.json",
"bytes": 733,
"sha256": "86be116ca3780ceafe5e3e916defb646d8e115a9d88d38997931761354c4a938"
},
{
"path": "Creatures/monster_spinne_fal_s271828.png",
"bytes": 1071143,
"sha256": "042143ff8718eb10b182b7996b8666b38f9d387280530b860bafd765082718d8"
},
{
"path": "Creatures/monster_spinne_grau_fal_s271828.json",
"bytes": 735,
"sha256": "0ee4d12aa5cc4f2d74f1d3289d4096f13707e3af077912456f1c205335e5af00"
},
{
"path": "Creatures/monster_spinne_grau_fal_s271828.png",
"bytes": 1134156,
"sha256": "8ceb22c781be262f3ef51ba2352e920c31b292f8f311cfbe8ae184f9647f49cf"
},
{
"path": "Creatures/monster_spinne_seite_grau_fal_s271828.json",
"bytes": 736,
"sha256": "21655af849869448543fba7ea680fb7d70554bdcf925884cc7ceb6c3c158015c"
},
{
"path": "Creatures/monster_spinne_seite_grau_fal_s271828.png",
"bytes": 1034905,
"sha256": "5e003f8ff1d4b08487c898c9ce01b2bddc6357cd7bd70f082a1ae228bdf9e20e"
},
{
"path": "Creatures/monster_spinne_v2_fal_s271828.json",
"bytes": 732,
"sha256": "4317ac6573a7eabbd0cf9a183ad5eb8f53ef46807655e858dfd989f3684ebf77"
},
{
"path": "Creatures/monster_spinne_v2_fal_s271828.png",
"bytes": 1252251,
"sha256": "5b391c8f0b0aa09ea6cbf5b52fb1a3c1b7ffd54bb107c88f088d7c90e59c641a"
},
{
"path": "Creatures/monster_spinne_v3_fal_s271828.json",
"bytes": 743,
"sha256": "8c55db871c165e4f98af88c4b793977d50c46f17f4d162f6e9f54712b2b5a726"
},
{
"path": "Creatures/monster_spinne_v3_fal_s271828.png",
"bytes": 1247543,
"sha256": "ea0775060f2b36eec9e811b278ec461a0fe90f1547647b8ae5be04cfd83f3867"
},
{
"path": "Creatures/monster_wolf_fal_s271828.json",
"bytes": 745,
"sha256": "5a6eb6b5da1a3de3fa0f2f6d868e455931aa90008b0e19b9b34d2449e2c7a48f"
},
{
"path": "Creatures/monster_wolf_fal_s271828.png",
"bytes": 996264,
"sha256": "6241cfbbcc9ea064d43f2bdf14d0e81ae76efa3ee955d66ebb2d467b2cd14da7"
},
{
"path": "NPCs/nsc_bettler_s8006.json",
"bytes": 771,
"sha256": "fe0b6476caacbfc0749ceef8b583f79cd5bf0911dd2cf0cd85b203d1e28592dd"
},
{
"path": "NPCs/nsc_bettler_s8006.png",
"bytes": 1136804,
"sha256": "06531785428e2d6f46351c0139b88aaaaf42113d09f07e359cfc6b577e0b5254"
},
{
"path": "NPCs/nsc_dorfbewohner_s8001.json",
"bytes": 789,
"sha256": "2398ca75d9ae8ad968e99b107e9e2a3bdb02dd9c75fbb765cd342f0547975ed0"
},
{
"path": "NPCs/nsc_dorfbewohner_s8001.png",
"bytes": 879206,
"sha256": "ebdd86c4f4b836879b066608ff2fa43c5609a89532e45bfca15a01a63f237c59"
},
{
"path": "NPCs/nsc_dorfbewohnerin_s8002.json",
"bytes": 786,
"sha256": "86f40be312d5bd35a817858037ea35b681f01c0439748590af6b41225f76955a"
},
{
"path": "NPCs/nsc_dorfbewohnerin_s8002.png",
"bytes": 1032698,
"sha256": "7c09eddef7fcd8f9a6299c28c3162573049da9feecfe145766ee98f2baf5c549"
},
{
"path": "NPCs/nsc_druide_s8005.json",
"bytes": 778,
"sha256": "80db22e3db97d9794df0fe8b0df8ced0d45c8e81b27272ed13bdebd2ff9919e2"
},
{
"path": "NPCs/nsc_druide_s8005.png",
"bytes": 979967,
"sha256": "80e7626b5d81e143896479723c8ef29c2e31a228f199ebc56e8f4a2fc08ed04f"
},
{
"path": "NPCs/nsc_haendler_s8004.json",
"bytes": 796,
"sha256": "967ed164a5f4afba1b5e6f924527bbec47a30e0c7f32f64f8644e15359042ef3"
},
{
"path": "NPCs/nsc_haendler_s8004.png",
"bytes": 1235468,
"sha256": "f90ae43a98e327cfa3b4b6cc481c725969d4bd492ba87aa57d997fcf7f705818"
},
{
"path": "NPCs/nsc_wache_s8003.json",
"bytes": 798,
"sha256": "70382f56852797447c35be1e3681d3ca1d984e2b4d90c49fe03e7a55fab44772"
},
{
"path": "NPCs/nsc_wache_s8003.png",
"bytes": 1267737,
"sha256": "5d42c6bfa88ea50bbe8ef68a288e5557ef9806ecef381f8cbb0e06ce49a9448d"
},
{
"path": "Objects/objekt_bett_s7055.json",
"bytes": 688,
"sha256": "d16d175bc5fde232d3b27db72d22671d4c5e2cb639e12a839481f60fafaef86f"
},
{
"path": "Objects/objekt_bett_s7055.png",
"bytes": 1059722,
"sha256": "a35a0b7486a2b40ee5efe2c71d410d96610fcb8251ac6affdd021c363ab79229"
},
{
"path": "Objects/objekt_brunnen_s7054.json",
"bytes": 676,
"sha256": "3e8dff114615958ee18581c24cbde18cfd87a6cead2ad649ef199d7eb8c1da05"
},
{
"path": "Objects/objekt_brunnen_s7054.png",
"bytes": 982355,
"sha256": "1bc3b62252b409bf53086f976daa16f06215350e868050230ee80c1570e6fb8a"
},
{
"path": "Objects/objekt_fackel_s7044.json",
"bytes": 666,
"sha256": "8ec0b1a1444de8208229ed806de873eaf62128fe57b3b6516a5ce58d1d0e5a45"
},
{
"path": "Objects/objekt_fackel_s7044.png",
"bytes": 758307,
"sha256": "d4d0b95ddef2523b192de0e2804d6a023b7e56b566231f69165ed0841ff4884f"
},
{
"path": "Objects/objekt_fass_s7041.json",
"bytes": 658,
"sha256": "055d769a4b92ddb326553be29902761575c4c98481081fbc88fef297a74cd2a8"
},
{
"path": "Objects/objekt_fass_s7041.png",
"bytes": 1235965,
"sha256": "bafeb42151c38f9311be8ffc314e2ecc1c5e1a2d52cf2c615328e8713fdb20f8"
},
{
"path": "Objects/objekt_geroell_s7053.json",
"bytes": 675,
"sha256": "d26c79db9c79f1bdcb8f597e1ce1a387743abe64684bd27eef4e4e5f205505ca"
},
{
"path": "Objects/objekt_geroell_s7053.png",
"bytes": 1243089,
"sha256": "46428706419b5afd682283dac5a9f05288ef340ac643d5e8732d84f5d80f0555"
},
{
"path": "Objects/objekt_grabstein_s7058.json",
"bytes": 657,
"sha256": "a929a71d4141b5054ca8fb03376ab2c1d9be80465ce15b1845af77e2787a7ca4"
},
{
"path": "Objects/objekt_grabstein_s7058.png",
"bytes": 1005852,
"sha256": "a4eabc9e240ffd5bb582228815efb77f80965d747ce19123319463f94b5afbd4"
},
{
"path": "Objects/objekt_kiste_s7042.json",
"bytes": 662,
"sha256": "9c0656c12920f7feaaa0621931630e5f3e392844f2552d93afaef09c4a91515a"
},
{
"path": "Objects/objekt_kiste_s7042.png",
"bytes": 1247731,
"sha256": "50ac879ea8c53b2a6ff59c75981174792c47d58aa5341ac6956cace7ffcfb295"
},
{
"path": "Objects/objekt_regal_s7056.json",
"bytes": 679,
"sha256": "c593f96319d5d046d906147f7380ad104af8be6fd0d29eaccff33ef0b297f2f4"
},
{
"path": "Objects/objekt_regal_s7056.png",
"bytes": 926106,
"sha256": "23df81d0c02adf769954355a9007d07d71113ae6e8d85a099d120f1aef25a9a5"
},
{
"path": "Objects/objekt_tisch_s7043.json",
"bytes": 664,
"sha256": "c437c956837a65e1d86754e6c6f5141b67a50517b5966917fba6a6828bf735ff"
},
{
"path": "Objects/objekt_tisch_s7043.png",
"bytes": 1312873,
"sha256": "9bb9cf3ae1019738029681ab5df7f8e86e0c1178a7289104b79ab166b3d44eed"
},
{
"path": "Objects/objekt_tor_s7051.json",
"bytes": 697,
"sha256": "33a47b00eb9102be904d46380aaaa5f7355db38cdaec5de43f2b35802404cd09"
},
{
"path": "Objects/objekt_tor_s7051.png",
"bytes": 1071416,
"sha256": "beb6268fcfcfdb316a138cfb2991d164f091f48b65310c091b4c603fd081e4f6"
},
{
"path": "Objects/objekt_treppe_s7052.json",
"bytes": 687,
"sha256": "641a01625343b9bb9552c08d6ea1e0dc2350246023fab2596df1ad44b2ee7707"
},
{
"path": "Objects/objekt_treppe_s7052.png",
"bytes": 1097543,
"sha256": "598af133fca89ef09c8ad1935cfa2041ed21a5467f6e46236f6dd089735bb760"
},
{
"path": "Objects/objekt_truhe_s7006.json",
"bytes": 673,
"sha256": "c01972811911de721e8280dbf8a2cf1ceefd646a487354b852b29ccef27aceed"
},
{
"path": "Objects/objekt_truhe_s7006.png",
"bytes": 1291018,
"sha256": "8b89c99a6df1f2417be05e0f57ec06e00d8732c327ad8b89a9aa8385ed6a92ba"
},
{
"path": "Objects/objekt_tuer_s7005.json",
"bytes": 682,
"sha256": "1a2d13a23d9413458c52075cf9b39b834ec15cb2d555e4d61917b5a8d8bce4b8"
},
{
"path": "Objects/objekt_tuer_s7005.png",
"bytes": 1111365,
"sha256": "b8a56a8153fa1bbdc9956d2a8d48b24f5314a38ae8976416cb28febb3790bce7"
},
{
"path": "Objects/objekt_wagen_s7057.json",
"bytes": 662,
"sha256": "56221f5faf0516d7c2fb69fe2b5fd4eb7ea2706f2ba52052f9ad25c22bfa1359"
},
{
"path": "Objects/objekt_wagen_s7057.png",
"bytes": 1272435,
"sha256": "1e28c98386f1571f5361079d63ef781942e5bdd466e4ea548950948edddfc38e"
},
{
"path": "Objects/objekt_wand_stein_s7013.json",
"bytes": 717,
"sha256": "5ef5e488df6149229e93c302f9deed251ea8bf575b628a7033040f90b1de3448"
},
{
"path": "Objects/objekt_wand_stein_s7013.png",
"bytes": 1076134,
"sha256": "c388807d283944a2fa4647b6e684900b1bbd71f350e00ff4e767a2b00f50737d"
},
{
"path": "Players/portrait_elfin_s6104.json",
"bytes": 676,
"sha256": "e9687e42e93eef7b66550d5a8e6e625e7f4627aaeda0696a14162c21ef5ac1d4"
},
{
"path": "Players/portrait_elfin_s6104.png",
"bytes": 1327519,
"sha256": "9a97e50fe8dde50964eb19f5649730bc7cc5a779772ba5dea652fb40f05a647b"
},
{
"path": "Players/portrait_gelehrter_s6106.json",
"bytes": 680,
"sha256": "82daaf389263381979de286f0031d9ce7607484024bf1370c7a4e5757300a615"
},
{
"path": "Players/portrait_gelehrter_s6106.png",
"bytes": 1327436,
"sha256": "b1d71b0035593b30542e5a89ad54b3ad491628e30661b65b22f39c7b1d5e6879"
},
{
"path": "Players/portrait_halbling_s6105.json",
"bytes": 674,
"sha256": "e401609ea64b313600b578de5a1549905f7f88e76dc94ccb7bcbdf9e606e47e1"
},
{
"path": "Players/portrait_halbling_s6105.png",
"bytes": 1236119,
"sha256": "e26dbbba66ad64f4cef91597974c033bb5a8e5722a392f2bcc066e42997d1761"
},
{
"path": "Players/portrait_krieger_s6101.json",
"bytes": 702,
"sha256": "d35417d3d781535081c31abdf41e1d918ad897320f7bfacfa661d0e2b49aec93"
},
{
"path": "Players/portrait_krieger_s6101.png",
"bytes": 1436761,
"sha256": "eda09da9c2ca3f3d99de8b45146cc515c7037ac02ceba2ceb079722b3d34e5b9"
},
{
"path": "Players/portrait_magierin_s6102.json",
"bytes": 677,
"sha256": "c54ff34a4249f6929cbc0dc989fb888917b9c99ff7a906b25cfba423a43c87eb"
},
{
"path": "Players/portrait_magierin_s6102.png",
"bytes": 1301590,
"sha256": "53b48de6aeaf707f2b6232d7c2bc7b9037c987b8eaba58ae7ea247fe7f0986c3"
},
{
"path": "Players/portrait_zwerg_s6103.json",
"bytes": 683,
"sha256": "0ccd1abd1f4b659aa8cf50624b971c34020d31c53c07825a26d45476f7522f18"
},
{
"path": "Players/portrait_zwerg_s6103.png",
"bytes": 1402177,
"sha256": "dd69bf5caa394461410575d1d7d224302c6964447d0c00078b5ee43e19d2c87b"
},
{
"path": "Terrain/battle_erde_s4001.json",
"bytes": 694,
"sha256": "239966cf2e7c9b52a74ef48e5848e978ae286b57de1ab6392c0ef7c85f79c6a6"
},
{
"path": "Terrain/battle_erde_s4001.png",
"bytes": 986984,
"sha256": "0fa9cd33b56f13a57b37cf13465816f42b143e633cc345d67daee9721505f86d"
},
{
"path": "Terrain/battle_gras_s4001.json",
"bytes": 708,
"sha256": "2c5943ed6e96657a27d8494be5b181651d70812a5ddd50b8dc86109940f902a8"
},
{
"path": "Terrain/battle_gras_s4001.png",
"bytes": 861891,
"sha256": "d9ce3fbadf018e0833450822925a9644ed69c42521e0a339b1d133f6e9cfde0c"
},
{
"path": "Terrain/battle_stein_s4001.json",
"bytes": 680,
"sha256": "b010e5fadc0fa16791b7669f08c1afe3ca3100e18b66d447a109cbbcf489a7f4"
},
{
"path": "Terrain/battle_stein_s4001.png",
"bytes": 1234888,
"sha256": "0550135e84619796fbab57c3ddd80aeff6fc0d09a1a6ef51ae6d34d11858dc4b"
},
{
"path": "Terrain/tile_dungeon_boden_s7002.json",
"bytes": 664,
"sha256": "b30a47c150deedf0f8177bd28745e1b85d02b95600c1210c9b068d03e2d23da3"
},
{
"path": "Terrain/tile_dungeon_boden_s7002.png",
"bytes": 1250369,
"sha256": "fea335b0f1b97a204fba9ad2ff72b0ffea0e227d96eaaf1e6a7a6f5eb5cf3ef0"
},
{
"path": "Terrain/tile_dungeon_boden_v2_s7012.json",
"bytes": 691,
"sha256": "63400858e209aca86b6f3930ff4791d601e151475fad907c35bf45d3fc2a5bb4"
},
{
"path": "Terrain/tile_dungeon_boden_v2_s7012.png",
"bytes": 1239701,
"sha256": "ae26ba5a3eee713d3107e9865f5c69da64d24e82b21dbb3ce4b78d6397848bd0"
},
{
"path": "Terrain/tile_dungeon_wand_s7004.json",
"bytes": 664,
"sha256": "35c6240e2316357d74dae415cf757ff3c671c1f0c63a3030f4fde8798732db47"
},
{
"path": "Terrain/tile_dungeon_wand_s7004.png",
"bytes": 1226124,
"sha256": "2972db033112512a0486f6d38dba145fa8a30afee404a105380998536d0e800b"
},
{
"path": "Terrain/tile_dungeon_wand_v2_s7022.json",
"bytes": 692,
"sha256": "6092ac9ed0f9e8155e26e5b3ce9708de37414dbc767db1cfb0a8594f742bd41e"
},
{
"path": "Terrain/tile_dungeon_wand_v2_s7022.png",
"bytes": 1185384,
"sha256": "8f0279af76a181b288aa98ee69db0917906a225acfd0c1f10101b3ece84638f0"
},
{
"path": "Terrain/tile_stadt_pflaster_s7001.json",
"bytes": 644,
"sha256": "fe5b6afa1c0925fd15836eee580ff69ecf945c19fd9d4021afe2cf8ae0a0d057"
},
{
"path": "Terrain/tile_stadt_pflaster_s7001.png",
"bytes": 1544078,
"sha256": "0b87a293f4855b3772eac916eab602605b3a027533606a1d58278b714af2845f"
},
{
"path": "Terrain/tile_stadt_pflaster_v2_s7011.json",
"bytes": 687,
"sha256": "fa6ef0e239f9386541f277aa53853f91521d0d4629b49610e67973a3d7d2ff9b"
},
{
"path": "Terrain/tile_stadt_pflaster_v2_s7011.png",
"bytes": 1495232,
"sha256": "a7982e4bc3396030f7f96203835b8bc61feaec4303e430b6eb873f9231e57b41"
},
{
"path": "Terrain/tile_stadt_pflaster_v3_s7031.json",
"bytes": 704,
"sha256": "2f2b44a326a00d9e0a95f089052cf7125accbc1c07e917fa57e22e45f623f42f"
},
{
"path": "Terrain/tile_stadt_pflaster_v3_s7031.png",
"bytes": 1422640,
"sha256": "3970242835ac2106dd7105fb40af5674b05175ced00ab6062ef42b14c419006d"
},
{
"path": "Terrain/tile_stadt_wand_s7003.json",
"bytes": 686,
"sha256": "39fa087eac8005273a26e7eac1d0e8abcda48e09e8896def8a64515821aab036"
},
{
"path": "Terrain/tile_stadt_wand_s7003.png",
"bytes": 1189601,
"sha256": "c90ae05df02f23187364a5ad86398231541de59934c4af45a5de2daa80f7e4b7"
},
{
"path": "Terrain/tile_stadt_wand_v2_s7021.json",
"bytes": 705,
"sha256": "cf0fdcaa6d6e1e187cd875027767ffd6999fea50d08601d7ffb530dd55718af9"
},
{
"path": "Terrain/tile_stadt_wand_v2_s7021.png",
"bytes": 905541,
"sha256": "b6d7abcf640cec0c493e9e8591744e3b676ed621be7e6a072681895c0514e541"
}
]
}

View file

@ -0,0 +1,11 @@
# Vorlage für den Workbench-Spiegel auf die Programmschmiede.
# Die echte Datei heißt docs/credentials.txt und ist gitignored.
#
# Gelesen von art/tools/sync_workbench.sh: FTP_URL, FTP_PORT (optional),
# FTP_USER, FTP_PASSWORD, FTP_VERIFY (1 = TLS prüfen, 0 = nicht prüfen).
# FTP_DIRECTORY wird ignoriert; das Ziel steuert TALORIA_FTP_DIR
# (Standard: taloria/workbench).
FTP_URL=programmschmiede.de
FTP_USER=benutzer
FTP_PASSWORD=passwort
FTP_VERIFY=0

View file

@ -91,6 +91,16 @@ und der Ordner ist bewusst nicht versioniert. Auf dem Mac fehlen sie — das ist
nur dann ein Problem, wenn ein Asset **neu abgeleitet** werden soll
(`pixelize.py`, `freistellen.py`). Die fertigen Fassungen liegen im Repo.
**Spiegel für den Rechnerwechsel:** `art/tools/sync_workbench.sh` hält die Raws
auf der Programmschmiede (`taloria/workbench`) und holt sie zurück. Der
SHA-256-Anker ist `art/workbench-manifest.json` (committet, ohne Raws).
```bash
art/tools/sync_workbench.sh --check # lokal gegen das Manifest
art/tools/sync_workbench.sh --upload # Raws + Manifest hochladen
art/tools/sync_workbench.sh --download # auf einem Rechner ohne Workbench
```
**Was noch nicht automatisiert ist:** die gemalten Assets liegen in
`art/final/gemalt/` (Master) und als Kopie in `game/assets/gemalt/`. Der Schritt
dazwischen ist Handarbeit — `engine_assets.py` kennt die Kategorie noch nicht.