Skip to content

Commit 4b78411

Browse files
committed
wiki
1 parent 8131d90 commit 4b78411

3 files changed

Lines changed: 10 additions & 35 deletions

File tree

archive_later/ironwail/component_launcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ log d "QT plugin path is: $QT_PLUGIN_PATH"
1515
log d "QT QPA PLATFORM plugin path is: $QT_QPA_PLATFORM_PLUGIN_PATH"
1616

1717
# Launch
18-
exec "$component_path/bin/ironwail" "$@"
18+
exec "$component_path/bin/ironwail" -basedir /var/config/ironwail/ "$@"

archive_later/ironwail/component_prepare.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_config="/app/retrodeck/components/$component_name/rd_config"
66

77
if [[ "$action" == "reset" ]]; then # Run reset-only commands
8+
log i "----------------------"
9+
log i "Resetting $component_name"
10+
log i "----------------------"
11+
12+
dir_prep "$roms_path/quake/ironwail/id1" "$XDG_CONFIG_HOME/ironwail/id1"
13+
fi
814

15+
if [[ "$action" == "postmove" ]]; then # Run commands that apply to both resets and moves
916
log i "----------------------"
10-
log i "Preparing $component_name"
17+
log i "Post-moving $component_name"
1118
log i "----------------------"
19+
fi

archive_later/librequake/component_prepare.sh

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,43 +8,10 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands
88
log i "----------------------"
99
log i "Resetting $component_name"
1010
log i "----------------------"
11-
12-
create_dir -d "$azahar_config_path"
13-
create_dir -d "$azahar_mods_path"
14-
create_dir -d "$azahar_textures_path"
15-
create_dir "$screenshots_path/Azahar"
16-
create_dir "$saves_path/n3ds/azahar/nand/"
17-
create_dir "$saves_path/n3ds/azahar/sdmc/"
18-
19-
cp -fT "$component_config/qt-config.ini" "$azahar_config_path/qt-config.ini"
20-
21-
set_setting_value "$azahar_qtconfig" "use_custom_storage" "true" "azahar" "Data%20Storage"
22-
set_setting_value "$azahar_qtconfig" "nand_directory" "$saves_path/n3ds/azahar/nand/" "azahar" "Data%20Storage"
23-
set_setting_value "$azahar_qtconfig" "sdmc_directory" "$saves_path/n3ds/azahar/sdmc/" "azahar" "Data%20Storage"
24-
set_setting_value "$azahar_qtconfig" "Paths\gamedirs\3\path" "$roms_path/n3ds" "azahar" "UI"
25-
set_setting_value "$azahar_qtconfig" "Paths\screenshotPath" "$screenshots_path/Azahar" "azahar" "UI"
26-
27-
dir_prep "$mods_path/Azahar/mods" "$azahar_mods_path"
28-
dir_prep "$texture_packs_path/Azahar/textures" "$azahar_textures_path"
29-
dir_prep "$shaders_path/Azahar/" "$azahar_shaders_path"
30-
dir_prep "$logs_path/Azahar/" "$azahar_logs_path"
31-
dir_prep "$cheats_path/Azahar/" "$azahar_cheats_path"
3211
fi
3312

3413
if [[ "$action" == "postmove" ]]; then # Run commands that apply to both resets and moves
3514
log i "----------------------"
3615
log i "Post-moving $component_name"
3716
log i "----------------------"
38-
39-
set_setting_value "$azahar_qtconfig" "use_custom_storage" "true" "azahar" "Data%20Storage"
40-
set_setting_value "$azahar_qtconfig" "nand_directory" "$saves_path/n3ds/azahar/nand/" "azahar" "Data%20Storage"
41-
set_setting_value "$azahar_qtconfig" "sdmc_directory" "$saves_path/n3ds/azahar/sdmc/" "azahar" "Data%20Storage"
42-
set_setting_value "$azahar_qtconfig" "Paths\gamedirs\3\path" "$roms_path/n3ds" "azahar" "UI"
43-
set_setting_value "$azahar_qtconfig" "Paths\screenshotPath" "$screenshots_path/Azahar" "azahar" "UI"
44-
45-
dir_prep "$mods_path/Azahar/mods" "$azahar_mods_path"
46-
dir_prep "$texture_packs_path/Azahar/textures" "$azahar_textures_path"
47-
dir_prep "$shaders_path/Azahar/" "$azahar_shaders_path"
48-
dir_prep "$logs_path/Azahar/" "$azahar_logs_path"
49-
dir_prep "$cheats_path/Azahar/" "$azahar_cheats_path"
5017
fi

0 commit comments

Comments
 (0)