PRIMEHACK: fixed an issue where wii folder was not mapped as roms path in GTK GUI

This commit is contained in:
XargonWan 2025-02-19 15:35:23 +09:00
parent 56d15cf32e
commit 98c9c4706c
4 changed files with 12 additions and 4 deletions

View file

@ -41,8 +41,9 @@ UseDiscordPresence = True
HotkeysRequireFocus = True
UseGameCovers = False
RecursiveISOPaths = False
ISOPath0 = RETRODECKHOMEDIR/roms/gc
ISOPaths = 1
ISOPath0 = RETRODECKHOMEDIR/roms/wii
ISOPath1 = RETRODECKHOMEDIR/roms/gc
ISOPaths = 2
[Display]
DisableScreenSaver = True
KeepWindowOnTop = False

View file

@ -663,6 +663,10 @@ post_update() {
log i "Preparing the RetroAchievements for Dolphin..."
cp -vn "$config/dolphin/"* /var/config/dolphin-emu/
log i "Fixing PrimeHack roms paths..."
set_setting_value "$rd_conf" "ppsspp" "$(get_setting_value "$rd_defaults" "ppsspp" "retrodeck" "cheevos")" "retrodeck" "cheevos"
set_setting_value "$rd_conf" "ppsspp" "$(get_setting_value "$rd_defaults" "ppsspp" "retrodeck" "cheevos_hardcore")" "retrodeck" "cheevos_hardcore"
fi # end of 0.9.1b
# The following commands are run every time.

View file

@ -621,12 +621,14 @@ prepare_component() {
if [[ $multi_user_mode == "true" ]]; then # Multi-user actions
create_dir -d "$multi_user_data_folder/$SteamAppUser/config/primehack"
cp -fvr "$config/primehack/config/"* "$multi_user_data_folder/$SteamAppUser/config/primehack/"
set_setting_value ""$multi_user_data_folder/$SteamAppUser/config/primehack/Dolphin.ini"" "ISOPath0" "$roms_folder/gc" "primehack" "General"
set_setting_value ""$multi_user_data_folder/$SteamAppUser/config/primehack/Dolphin.ini"" "ISOPath0" "$roms_folder/wii" "primehack" "General"
set_setting_value ""$multi_user_data_folder/$SteamAppUser/config/primehack/Dolphin.ini"" "ISOPath1" "$roms_folder/gc" "primehack" "General"
dir_prep "$multi_user_data_folder/$SteamAppUser/config/primehack" "/var/config/primehack"
else # Single-user actions
create_dir -d /var/config/primehack/
cp -fvr "$config/primehack/config/"* /var/config/primehack/
set_setting_value "$primehackconf" "ISOPath0" "$roms_folder/gc" "primehack" "General"
set_setting_value "$primehackconf" "ISOPath0" "$roms_folder/wii" "primehack" "General"
set_setting_value "$primehackconf" "ISOPath1" "$roms_folder/gc" "primehack" "General"
fi
# Shared actions
dir_prep "$saves_folder/gc/primehack/EU" "/var/data/primehack/GC/EUR"

View file

@ -86,6 +86,7 @@
<li>DOLPHIN and PRIMEHACK: Fixed a bug where the Universal Dynamic Input was missing from the build</li>
<li>DOLPHIN: fixed a bug where it wouldn't start in some Wayland configurations</li>
<li>DOLPHIN: fixed a trigger issue in the controller configuration</li>
<li>PRIMEHACK: fixed an issue where wii folder was not mapped as roms path in GTK GUI</li>
<li>PORTMASTER: added the ability to hide PortMaster from ES-DE</li>
<li>PSX: fixed an issue that was not showing the borders correctly</li>
<li>BIOS CHECKER: fixed wrong folder check</li>