Skip to content

Commit 2108685

Browse files
authored
Fix build (#490)
* Fix build * ?
1 parent 2bb517f commit 2108685

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

Scenes/MainScene/MainScene.tscn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[ext_resource type="PackedScene" uid="uid://dbac8bagk4vn6" path="res://Scenes/TitleBar/TitleBar.tscn" id="2"]
44
[ext_resource type="Script" uid="uid://bipq3r7cvwx40" path="res://addons/controller_icons/objects/Button.gd" id="3"]
5-
[ext_resource type="Texture2D" uid="uid://coqj2fcsaxvcn" path="res://addons/controller_icons/assets/key/space.png" id="6_pp8t3"]
5+
[ext_resource type="Texture2D" uid="uid://bva4iswwvta5d" path="res://addons/controller_icons/assets/xbox360/y.png" id="6_pp8t3"]
66
[ext_resource type="PackedScene" uid="uid://csmcqsj428pin" path="res://Scenes/Choices/Choices.tscn" id="8"]
7-
[ext_resource type="Texture2D" uid="uid://bp58drjdgvxsi" path="res://addons/controller_icons/assets/key/enter_alt.png" id="8_4jmv2"]
7+
[ext_resource type="Texture2D" uid="uid://d284wkmo0vqfk" path="res://addons/controller_icons/assets/xbox360/a.png" id="8_4jmv2"]
88
[ext_resource type="Script" uid="uid://c1qx3r8mdk8m8" path="res://Scenes/MainScene/Controls.gd" id="9"]
9-
[ext_resource type="Texture2D" uid="uid://cnghdqiitl0fu" path="res://addons/controller_icons/assets/key/esc.png" id="9_0y6a4"]
9+
[ext_resource type="Texture2D" uid="uid://bufx8lu1tny4o" path="res://addons/controller_icons/assets/xbox360/b.png" id="9_0y6a4"]
1010
[ext_resource type="PackedScene" uid="uid://kl1iyl6xknhw" path="res://Scenes/Progress/Progress.tscn" id="10"]
1111
[ext_resource type="PackedScene" uid="uid://b1k4ekp8y8p7c" path="res://Scenes/Prompt/Prompt.tscn" id="11"]
1212

export_presets.cfg

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
[preset.0]
22

33
name="Linux/X11"
4-
platform="Linux/X11"
4+
platform="Linux"
55
runnable=true
6+
advanced_options=false
67
dedicated_server=false
78
custom_features=""
89
export_filter="all_resources"
910
include_filter=""
1011
exclude_filter="cargo/*,godot-build/*,target/*"
1112
export_path="../../Downloads/luxtorpeda.x86_64"
13+
patches=PackedStringArray()
1214
encryption_include_filters=""
1315
encryption_exclude_filters=""
16+
seed=0
1417
encrypt_pck=false
1518
encrypt_directory=false
19+
script_export_mode=2
1620

1721
[preset.0.options]
1822

1923
custom_template/debug=""
2024
custom_template/release=""
2125
debug/export_console_wrapper=1
2226
binary_format/embed_pck=false
23-
texture_format/bptc=false
24-
texture_format/s3tc=true
25-
texture_format/etc=false
26-
texture_format/etc2=false
27+
texture_format/s3tc_bptc=true
28+
texture_format/etc2_astc=false
2729
binary_format/architecture="x86_64"
2830
ssh_remote_deploy/enabled=false
2931
ssh_remote_deploy/host="user@host_ip"
@@ -37,3 +39,7 @@ unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
3739
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
3840
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
3941
rm -rf \"{temp_dir}\""
42+
texture_format/bptc=false
43+
texture_format/s3tc=true
44+
texture_format/etc=false
45+
texture_format/etc2=false

post_build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fn build_godot_project(out_dir: &str, godot_path: &str, profile: &str) {
100100
println!("build_godot_project");
101101
let out_path = Path::new(out_dir).join("luxtorpeda.x86_64").into_os_string().into_string().unwrap();
102102
let build_cmd = Command::new(godot_path)
103-
.args(["--path", ".", &std::format!("--export-{}", profile).to_string(), "Linux/X11", &out_path, "--display-driver", "headless"])
103+
.args(["--path", ".", &std::format!("--export-{}", profile).to_string(), "Linux/X11", &out_path, "--display-driver", "headless", "--audio-driver", "Dummy"])
104104
.status()
105105
.expect("failed to execute godot");
106106

0 commit comments

Comments
 (0)