diff --git a/.gitignore b/.gitignore index ebf7e55..508a3a6 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ godot/maps/entity_models # Rust ignores rust/target -target \ No newline at end of file +target + +dist \ No newline at end of file diff --git a/godot/export_presets.cfg b/godot/export_presets.cfg index fbcc6d1..953dc82 100644 --- a/godot/export_presets.cfg +++ b/godot/export_presets.cfg @@ -1,6 +1,7 @@ [runnable_presets] "Windows Desktop"="Windows Desktop" +Linux="Linux" [preset.0] @@ -11,7 +12,7 @@ custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="dist/quakeball.exe" +export_path="../dist/windows/quakeball.exe" patches=PackedStringArray() patch_delta_encoding=false patch_delta_compression_level_zstd=19 @@ -33,7 +34,7 @@ debug/export_console_wrapper=1 binary_format/embed_pck=false texture_format/s3tc_bptc=true texture_format/etc2_astc=false -shader_baker/enabled=false +shader_baker/enabled=true binary_format/architecture="x86_64" codesign/enable=false codesign/timestamp=true @@ -75,3 +76,52 @@ Remove-Item -Recurse -Force '{temp_dir}'" dotnet/include_scripts_content=false dotnet/include_debug_symbols=true dotnet/embed_build_outputs=false + +[preset.1] + +name="Linux" +platform="Linux" +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../dist/linux/quakeball.x86_64" +patches=PackedStringArray() +patch_delta_encoding=false +patch_delta_compression_level_zstd=19 +patch_delta_min_reduction=0.1 +patch_delta_include_filters="*" +patch_delta_exclude_filters="" +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +pkill -x -f \"{temp_dir}/{exe_name} {cmd_args}\" +rm -rf \"{temp_dir}\"" +dotnet/include_scripts_content=false +dotnet/include_debug_symbols=true +dotnet/embed_build_outputs=false