From 09173aabc41d63ada26a2b327b8157ce00c84355 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sat, 7 Apr 2018 11:24:19 -0400 Subject: [PATCH] Add pack export --- Makefile | 3 +++ game/export_presets.cfg | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/Makefile b/Makefile index e093196..c081555 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,9 @@ clean: export-all: export-html5 export-windows export-osx export-linux +export-pack: build-dir + $(GODOT) --path "$(GODOT_PROJECT_PATH)" --export "pack" "../$(BUILD_DIR)/$(PROJECT_NAME).pck" + export-html5: build-dir mkdir -p "$(BUILD_DIR)/html" $(GODOT) --path "$(GODOT_PROJECT_PATH)" --export "$(TARGET_HTML5)" "../$(BUILD_DIR)/html/$(PROJECT_NAME).html" diff --git a/game/export_presets.cfg b/game/export_presets.cfg index e39c271..8bfb82a 100644 --- a/game/export_presets.cfg +++ b/game/export_presets.cfg @@ -96,3 +96,22 @@ binary_format/64_bits=true custom_template/release="" custom_template/debug="" +[preset.4] + +name="pack" +platform="Linux/X11" +runnable=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +patch_list=PoolStringArray( ) + +[preset.4.options] + +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +binary_format/64_bits=true +custom_template/release="" +custom_template/debug=""