From 4ddcbd80005cc4e8fd5eec05de2a431e8973f72a Mon Sep 17 00:00:00 2001 From: Olof Pettersson Date: Wed, 19 Nov 2025 22:44:07 +0100 Subject: [PATCH] Connectable but buggy exported exe --- .gitignore | 1 + src/export_presets.cfg | 67 ++++++++++++++++++++++++++++++++++++++++++ src/project.godot | 5 ++-- 3 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 src/export_presets.cfg diff --git a/.gitignore b/.gitignore index d478d4e..befcd7f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /android/ *.tmp +/export/ \ No newline at end of file diff --git a/src/export_presets.cfg b/src/export_presets.cfg new file mode 100644 index 0000000..7aca03c --- /dev/null +++ b/src/export_presets.cfg @@ -0,0 +1,67 @@ +[preset.0] + +name="Windows Desktop" +platform="Windows Desktop" +runnable=true +advanced_options=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../export/moa.exe" +patches=PackedStringArray() +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +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="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'" diff --git a/src/project.godot b/src/project.godot index b64875e..308adfd 100644 --- a/src/project.godot +++ b/src/project.godot @@ -10,9 +10,10 @@ config_version=5 [application] -config/name="space_simulation" +config/name="Millimeters of Aluminum" +config/version="0.1" run/main_scene="uid://dogqi2c58qdc0" -config/features=PackedStringArray("4.6", "Double Precision", "Forward Plus") +config/features=PackedStringArray("4.5", "Double Precision", "Forward Plus") config/icon="res://icon.svg" [autoload]