@@ -50,6 +50,59 @@ focus_neighbor_top = NodePath("../../NextButton")
50
50
text = "Choose directory"
51
51
icon = ExtResource ("2" )
52
52
53
+ [node name ="HBoxContainer2" type ="HBoxContainer" parent ="VBoxContainer" ]
54
+ layout_mode = 2
55
+
56
+ [node name ="Label" type ="Label" parent ="VBoxContainer/HBoxContainer2" ]
57
+ layout_mode = 2
58
+ size_flags_horizontal = 3
59
+ text = "Store downloaded media in the configuration directory?"
60
+
61
+ [node name ="UseCustomMedia" type ="CheckButton" parent ="VBoxContainer/HBoxContainer2" ]
62
+ unique_name_in_owner = true
63
+ layout_mode = 2
64
+ button_pressed = true
65
+
66
+ [node name ="CustomMediaContainer" type ="MarginContainer" parent ="VBoxContainer" ]
67
+ unique_name_in_owner = true
68
+ layout_mode = 2
69
+ theme_override_constants/margin_left = 3
70
+ theme_override_constants/margin_top = 10
71
+ theme_override_constants/margin_right = 3
72
+
73
+ [node name ="VBoxContainer" type ="VBoxContainer" parent ="VBoxContainer/CustomMediaContainer" ]
74
+ layout_mode = 2
75
+
76
+ [node name ="Label" type ="Label" parent ="VBoxContainer/CustomMediaContainer/VBoxContainer" ]
77
+ layout_mode = 2
78
+ text = "Game media location"
79
+
80
+ [node name ="HBoxContainer3" type ="HBoxContainer" parent ="VBoxContainer/CustomMediaContainer/VBoxContainer" ]
81
+ layout_mode = 2
82
+ theme_override_constants/separation = 15
83
+
84
+ [node name ="MediaPath" type ="LineEdit" parent ="VBoxContainer/CustomMediaContainer/VBoxContainer/HBoxContainer3" ]
85
+ unique_name_in_owner = true
86
+ layout_mode = 2
87
+ size_flags_horizontal = 3
88
+ focus_mode = 0
89
+ placeholder_text = "<empty>"
90
+ editable = false
91
+
92
+ [node name ="MediaChooseDir" type ="Button" parent ="VBoxContainer/CustomMediaContainer/VBoxContainer/HBoxContainer3" ]
93
+ unique_name_in_owner = true
94
+ layout_mode = 2
95
+ focus_neighbor_top = NodePath ("../../../../NextButton" )
96
+ text = "Choose directory"
97
+ icon = ExtResource ("2" )
98
+
99
+ [node name ="MediaWarningEmpty" type ="RichTextLabel" parent ="VBoxContainer/CustomMediaContainer/VBoxContainer" ]
100
+ unique_name_in_owner = true
101
+ layout_mode = 2
102
+ bbcode_enabled = true
103
+ text = "[img]assets/icons/warning.svg[/img] The selected directory isn't currently empty."
104
+ fit_content = true
105
+
53
106
[node name ="HSeparator" type ="HSeparator" parent ="VBoxContainer" ]
54
107
layout_mode = 2
55
108
@@ -60,7 +113,7 @@ text = "This directory will contain all your games. It has a special structure:
60
113
61
114
To add games, simply create the system folder if it doesn't exist (either from RetroHub in the next section or manually) and drop your games inside it.
62
115
63
- RetroHub will automatically filter files based on common extensions per system and _recognize your game files. This is configurable per system if tweaks are needed."
116
+ RetroHub will automatically filter files based on common extensions per system and recognize your game files. This is configurable per system if tweaks are needed."
64
117
autowrap_mode = 2
65
118
66
119
[node name ="AccessibilityFocus" type ="Node" parent ="VBoxContainer/Label2" ]
@@ -74,4 +127,6 @@ disabled = true
74
127
text = "Next"
75
128
76
129
[connection signal ="pressed" from ="VBoxContainer/HBoxContainer/ChooseDir" to ="." method ="_on_ChooseDir_pressed" ]
130
+ [connection signal ="toggled" from ="VBoxContainer/HBoxContainer2/UseCustomMedia" to ="." method ="_on_use_custom_media_toggled" ]
131
+ [connection signal ="pressed" from ="VBoxContainer/CustomMediaContainer/VBoxContainer/HBoxContainer3/MediaChooseDir" to ="." method ="_on_media_choose_dir_pressed" ]
77
132
[connection signal ="pressed" from ="VBoxContainer/NextButton" to ="." method ="_on_NextButton_pressed" ]
0 commit comments