File tree Expand file tree Collapse file tree 6 files changed +52
-8
lines changed Expand file tree Collapse file tree 6 files changed +52
-8
lines changed Original file line number Diff line number Diff line change
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://d1jo22nh3m8ge"
6
+ path="res://.godot/imported/run.svg-fb1139d6119d4ce68514661058911265.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://assets/icons/run.svg"
14
+ dest_files=["res://.godot/imported/run.svg-fb1139d6119d4ce68514661058911265.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1
35
+ svg/scale=1.0
36
+ editor/scale_with_editor_scale=false
37
+ editor/convert_colors_with_editor_theme=false
Original file line number Diff line number Diff line change @@ -118,9 +118,6 @@ focus_neighbor_bottom = NodePath("../../../../../../HBoxContainer/EmulatorSelect
118
118
[node name ="VarButton" parent ="VBoxContainer/EmulatorEditorsTab/ScrollContainer/EmulatorEditor/HFlowContainer/HBoxContainer2" index ="0" ]
119
119
focus_neighbor_bottom = NodePath ("../../../../../../HBoxContainer/EmulatorSelection" )
120
120
121
- [node name ="AccessibilityFocus" parent ="VBoxContainer/EmulatorEditorsTab/ScrollContainer/EmulatorEditor/HFlowContainer/HBoxContainer2/VarButton" index ="0" ]
122
- next = NodePath ("../../../../../../../HBoxContainer/EmulatorSelection" )
123
-
124
121
[node name ="ScrollHandler" type ="Control" parent ="VBoxContainer/EmulatorEditorsTab/ScrollContainer" ]
125
122
layout_mode = 2
126
123
script = ExtResource ("5" )
@@ -146,9 +143,6 @@ focus_neighbor_bottom = NodePath("../../../../../HBoxContainer/EmulatorSelection
146
143
[node name ="LoadCoreFileName" parent ="VBoxContainer/EmulatorEditorsTab/ScrollContainer2/RetroArchEmulatorEditor/HBoxContainer8" index ="2" ]
147
144
focus_neighbor_bottom = NodePath ("../../../../../HBoxContainer/EmulatorSelection" )
148
145
149
- [node name ="AccessibilityFocus" parent ="VBoxContainer/EmulatorEditorsTab/ScrollContainer2/RetroArchEmulatorEditor/HBoxContainer8/LoadCoreFileName" index ="0" ]
150
- next = NodePath ("../../../../../../HBoxContainer/EmulatorSelection" )
151
-
152
146
[node name ="ScrollHandler" type ="Control" parent ="VBoxContainer/EmulatorEditorsTab/ScrollContainer2" ]
153
147
layout_mode = 2
154
148
script = ExtResource ("5" )
Original file line number Diff line number Diff line change @@ -65,3 +65,8 @@ func _on_LoadPath_pressed():
65
65
if not path .is_empty ():
66
66
n_path .text = path
67
67
emit_signal ("change_ocurred" )
68
+
69
+
70
+ func _on_run_emulator_pressed ():
71
+ var path : String = n_path .text
72
+ OS .create_process (path , [])
Original file line number Diff line number Diff line change 1
- [gd_scene load_steps =4 format =3 uid ="uid://6yp7suicf3ib" ]
1
+ [gd_scene load_steps =5 format =3 uid ="uid://6yp7suicf3ib" ]
2
2
3
3
[ext_resource type ="Script" path ="res://scenes/config/settings/emulator/EmulatorEditor.gd" id ="1" ]
4
4
[ext_resource type ="Texture2D" uid ="uid://dydir8kskmsc6" path ="res://assets/icons/load.svg" id ="2" ]
5
5
[ext_resource type ="Script" path ="res://scenes/ui_nodes/AccessibilityFocus.gd" id ="3" ]
6
+ [ext_resource type ="Texture2D" uid ="uid://d1jo22nh3m8ge" path ="res://assets/icons/run.svg" id ="4_wtvak" ]
6
7
7
8
[node name ="EmulatorEditor" type ="VBoxContainer" ]
8
9
anchors_preset = 15
@@ -91,6 +92,11 @@ layout_mode = 2
91
92
text = "Load"
92
93
icon = ExtResource ("2" )
93
94
95
+ [node name ="RunEmulator" type ="Button" parent ="HBoxContainer4" ]
96
+ layout_mode = 2
97
+ text = "Launch"
98
+ icon = ExtResource ("4_wtvak" )
99
+
94
100
[node name ="HBoxContainer5" type ="HBoxContainer" parent ="." ]
95
101
layout_mode = 2
96
102
@@ -170,6 +176,7 @@ text = "- Game/system folder"
170
176
[connection signal ="text_changed" from ="HBoxContainer3/Name" to ="." method ="_on_item_change" ]
171
177
[connection signal ="text_changed" from ="HBoxContainer4/Path" to ="." method ="_on_item_change" ]
172
178
[connection signal ="pressed" from ="HBoxContainer4/LoadPath" to ="." method ="_on_LoadPath_pressed" ]
179
+ [connection signal ="pressed" from ="HBoxContainer4/RunEmulator" to ="." method ="_on_run_emulator_pressed" ]
173
180
[connection signal ="text_changed" from ="HBoxContainer5/Command" to ="." method ="_on_item_change" ]
174
181
[connection signal ="pressed" from ="HFlowContainer/HBoxContainer/VarButton" to ="." method ="_on_VarButton_pressed" binds = ["{binpath}" ]]
175
182
[connection signal ="pressed" from ="HFlowContainer/HBoxContainer2/VarButton" to ="." method ="_on_VarButton_pressed" binds = ["{rompath}" ]]
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ content_scale_aspect = 4
60
60
61
61
[node name ="Keyboard" type ="Window" parent ="." ]
62
62
unique_name_in_owner = true
63
- position = Vector2i (0 , 348 )
63
+ position = Vector2i (0 , 648 )
64
64
size = Vector2i (1152 , 300 )
65
65
always_on_top = true
66
66
theme = ExtResource ("5" )
You can’t perform that action at this time.
0 commit comments