From a3925545b3610141f560a04c5d97a0997d45a6f9 Mon Sep 17 00:00:00 2001 From: lazzite Date: Fri, 23 Jan 2026 12:17:00 +0100 Subject: [PATCH 1/3] primehack fixes [skip ci] --- primehack/component_prepare.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/primehack/component_prepare.sh b/primehack/component_prepare.sh index cc4e52ea..5b08d36a 100755 --- a/primehack/component_prepare.sh +++ b/primehack/component_prepare.sh @@ -11,8 +11,7 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands create_dir -d "$XDG_CONFIG_HOME/primehack/" cp -fvr "$component_config/config/"* "$XDG_CONFIG_HOME/primehack/" - set_setting_value "$primehack_config" "ISOPath0" "$roms_path/wii" "primehack" "General" - set_setting_value "$primehack_config" "ISOPath1" "$roms_path/gc" "primehack" "General" + set_setting_value "$primehack_config" "ISOPath0" "$roms_path/primehack" "primehack" "General" dir_prep "$saves_path/gc/primehack/EU" "$XDG_DATA_HOME/primehack/GC/EUR" dir_prep "$saves_path/gc/primehack/US" "$XDG_DATA_HOME/primehack/GC/USA" dir_prep "$saves_path/gc/primehack/JP" "$XDG_DATA_HOME/primehack/GC/JAP" @@ -42,5 +41,5 @@ if [[ "$action" == "postmove" ]]; then # Run only post-move commands dir_prep "$shaders_path/Primehack" "$XDG_DATA_HOME/primehack/Shaders" dir_prep "$logs_path/Primehack" "$XDG_DATA_HOME/primehack/Logs" dir_prep "$storage_path/Primehack/Dump" "$XDG_DATA_HOME/Primehack/Dump" - set_setting_value "$primehack_config" "ISOPath0" "$roms_path/gc" "primehack" "General" + set_setting_value "$primehack_config" "ISOPath0" "$roms_path/primehack" "primehack" "General" fi From 7cfd4dc3762d3b4a9aae5720348e12ce348e777f Mon Sep 17 00:00:00 2001 From: lazzite Date: Fri, 23 Jan 2026 12:19:13 +0100 Subject: [PATCH 2/3] primehack fixes [skip ci] --- primehack/assets/rd_config/config/Dolphin.ini | 5 ++--- primehack/component_update.sh | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/primehack/assets/rd_config/config/Dolphin.ini b/primehack/assets/rd_config/config/Dolphin.ini index 40ad614b..f42357f1 100644 --- a/primehack/assets/rd_config/config/Dolphin.ini +++ b/primehack/assets/rd_config/config/Dolphin.ini @@ -41,9 +41,8 @@ UseDiscordPresence = False HotkeysRequireFocus = True UseGameCovers = False RecursiveISOPaths = False -ISOPath0 = RETRODECKHOMEDIR/roms/wii -ISOPath1 = RETRODECKHOMEDIR/roms/gc -ISOPaths = 2 +ISOPath0 = RETRODECKHOMEDIR/roms/primehack +ISOPaths = 1 [Display] DisableScreenSaver = True KeepWindowOnTop = False diff --git a/primehack/component_update.sh b/primehack/component_update.sh index 06353969..48c7f165 100644 --- a/primehack/component_update.sh +++ b/primehack/component_update.sh @@ -52,6 +52,8 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.2b") == "true create_dir "$roms_path/primehack" set_setting_value "$primehack_config" "SIDevice0" "0" "primehack" "Core" + set_setting_value "$primehack_config" "ISOPath0" "$roms_path/primehack" "primehack" "General" + set_setting_value "$primehack_config" "ISOPaths" "1" "primehack" "General" rsync -rlD --mkpath "$primehack_rd_config_dir/config/Profiles/Wiimote/" "$XDG_CONFIG_HOME/primehack/Profiles/Wiimote/" rsync -rlD --mkpath "$primehack_rd_config_dir/config/WiimoteNew.ini" "$XDG_CONFIG_HOME/primehack/WiimoteNew.ini" fi From 4a6f3ae4209f10e765cfa9d7310a099108a8bb15 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Fri, 23 Jan 2026 09:04:55 -0500 Subject: [PATCH 3/3] Remove extra line from Primehack config on update. [skip ci] --- primehack/component_update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/primehack/component_update.sh b/primehack/component_update.sh index 48c7f165..29cd9531 100644 --- a/primehack/component_update.sh +++ b/primehack/component_update.sh @@ -54,6 +54,7 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.2b") == "true set_setting_value "$primehack_config" "SIDevice0" "0" "primehack" "Core" set_setting_value "$primehack_config" "ISOPath0" "$roms_path/primehack" "primehack" "General" set_setting_value "$primehack_config" "ISOPaths" "1" "primehack" "General" + sed -i '/ISOPath1/d' "$primehack_config" # Remove unneeded second ISO path rsync -rlD --mkpath "$primehack_rd_config_dir/config/Profiles/Wiimote/" "$XDG_CONFIG_HOME/primehack/Profiles/Wiimote/" rsync -rlD --mkpath "$primehack_rd_config_dir/config/WiimoteNew.ini" "$XDG_CONFIG_HOME/primehack/WiimoteNew.ini" fi