diff --git a/game/assets/font/pirataone_36_atlas.png.import b/game/assets/font/pirataone_36_atlas.png.import index 25f132f..4812a94 100644 --- a/game/assets/font/pirataone_36_atlas.png.import +++ b/game/assets/font/pirataone_36_atlas.png.import @@ -1,40 +1,3 @@ [remap] -importer="texture" -type="CompressedTexture2D" -uid="uid://bo5r2v50k7kj4" -path="res://.godot/imported/pirataone_36_atlas.png-188e09c7f60b65132246d51ecefb5674.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/font/pirataone_36_atlas.png" -dest_files=["res://.godot/imported/pirataone_36_atlas.png-188e09c7f60b65132246d51ecefb5674.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 +importer="skip" diff --git a/game/assets/font/pressstart2p_24_atlas.png.import b/game/assets/font/pressstart2p_24_atlas.png.import index c761eff..4812a94 100644 --- a/game/assets/font/pressstart2p_24_atlas.png.import +++ b/game/assets/font/pressstart2p_24_atlas.png.import @@ -1,40 +1,3 @@ [remap] -importer="texture" -type="CompressedTexture2D" -uid="uid://c5wk8c6lhd0xe" -path="res://.godot/imported/pressstart2p_24_atlas.png-9b7d5da784680c1985808bde5fdf9235.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/font/pressstart2p_24_atlas.png" -dest_files=["res://.godot/imported/pressstart2p_24_atlas.png-9b7d5da784680c1985808bde5fdf9235.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/uastc_level=0 -compress/rdo_quality_loss=0.0 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/channel_remap/red=0 -process/channel_remap/green=1 -process/channel_remap/blue=2 -process/channel_remap/alpha=3 -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 +importer="skip" diff --git a/spielen.sh b/spielen.sh index 6db5316..9408fa1 100755 --- a/spielen.sh +++ b/spielen.sh @@ -15,4 +15,16 @@ else echo "Godot nicht gefunden. Setze GODOT=/pfad/zu/godot" >&2 exit 1 fi +# Frischer Klon / neue Maschine: ohne .godot/ fehlt der Cache der globalen +# class_name (Dice, Auftrag, Charakter …) — die Skripte scheitern dann schon +# beim Parsen. Einmal importieren, dann starten. +if [ ! -f "$HIER/game/.godot/global_script_class_cache.cfg" ]; then + echo "Erster Start: importiere Assets …" >&2 + IMPORT_LOG="${TMPDIR:-/tmp}/taloria-import.log" + "$GODOT" --headless --path "$HIER/game" --import >"$IMPORT_LOG" 2>&1 || { + echo "Import fehlgeschlagen — siehe $IMPORT_LOG" >&2 + exit 1 + } +fi + exec "$GODOT" --path "$HIER/game" "$@"