Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions primehack/assets/rd_config/config/Dolphin.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions primehack/component_prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
3 changes: 3 additions & 0 deletions primehack/component_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ 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"
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
Expand Down