Подготовить автономную сборку и запуск перед разделением проектов

This commit is contained in:
Александр Петров
2026-09-15 23:04:04 +03:00
parent 5323b168a7
commit 0e74aaa7ee
116 changed files with 6908 additions and 333 deletions
@@ -22,9 +22,10 @@ kid.pal).
import subprocess
import sys
from pathlib import Path
import os
HERE = Path(__file__).resolve().parent
PROJ_ROOT = HERE.parents[3]
PROJ_ROOT = Path(os.environ["SPRINTER_ROOT"]).resolve()
TILES_DIR = HERE.parent / "res" / "tiles"
PNG_STRIP = PROJ_ROOT / "toolchain" / "png_strip.py"
MKATLAS = PROJ_ROOT / "toolchain" / "mkatlas.py"
@@ -15,9 +15,10 @@ import re
import subprocess
import sys
from pathlib import Path
import os
HERE = Path(__file__).resolve().parent
PROJ_ROOT = HERE.parents[3] # .../C-Compiler
PROJ_ROOT = Path(os.environ["SPRINTER_ROOT"]).resolve()
TILES_DIR = HERE.parent / "res" / "tiles"
OUT_DIR = HERE.parent / "res" / "tiles"
PNG_STRIP = PROJ_ROOT / "toolchain" / "png_strip.py"
@@ -18,7 +18,7 @@ third_party/16x16-RPG-characters, один персонаж (индекс 0) т
"""
from PIL import Image
SRC = ("../../../../third_party/16x16-RPG-characters/sprites/"
SRC = ("../../third_party/16x16-RPG-characters/sprites/"
"old-style/02-bard.png")
CHAR = 0 # какой из 8 персонажей листа берём