Skip to content

Commit 777372d

Browse files
authored
Merge pull request #13 from RetroDECK/cooker
Merge cooker changes into main
2 parents 053fd50 + aabf05a commit 777372d

File tree

10 files changed

+24
-18
lines changed

10 files changed

+24
-18
lines changed

pcsx2/component_functions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pcsx2_config_PCSX2_vm="$XDG_CONFIG_HOME/PCSX2/inis/PCSX2_vm.ini"
55
pcsx2_config_PCSX2_ui="$XDG_CONFIG_HOME/PCSX2/inis/PCSX2_ui.ini"
66
pcsx2_config_GS="$XDG_CONFIG_HOME/PCSX2/inis/GS.ini"
77
pcsx2_rd_config_dir="$rd_components/pcsx2/rd_config"
8+
pcsx2_rd_extras_dir="$rd_components/pcsx2/rd_extras"
89
pcsx2_textures_path="$XDG_CONFIG_HOME/PCSX2/textures"
910
pcsx2_vidoes_path="$XDG_CONFIG_HOME/PCSX2/videos"
1011
pcsx2_patches_path="$XDG_CONFIG_HOME/PCSX2/patches"

pcsx2/component_launcher.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
component_name="$(basename "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
55
component_path="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
66

7-
source "$component_path/apprun-hooks/linuxdeploy-plugin-qt-hook.sh"
8-
97
log i "RetroDECK is now launching $component_name"
108
log d "Library path is: $LD_LIBRARY_PATH"
119
log d "QT plugin path is: $QT_PLUGIN_PATH"
1210

1311
log i "RetroDECK is now launching $component_name"
14-
log d "Loaded app run hooks in apprun-hooks/linuxdeploy-plugin-qt-hook.sh"
1512

1613
exec "$component_path/bin/pcsx2-qt" "$@"

pcsx2/component_update.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.0b") == "true
3333
create_dir -d "$logs_path/PCSX2"
3434
create_dir -d "$cheats_path/PCSX2/cheats_ws"
3535
create_dir -d "$cheats_path/PCSX2/cheats_ni"
36-
tar -xzf "$component_extras/pcsx2-cheats.tar.gz" -C "$cheats_path/PCSX2" --overwrite
36+
move "$cheats_path/pcsx2" "$cheats_path/PCSX2"
37+
tar -xzf "$pcsx2_rd_extras_dir/pcsx2-cheats.tar.gz" -C "$cheats_path/PCSX2" --overwrite
3738
create_dir -d "$storage_path/PCSX2/covers"
3839
create_dir -d "$texture_packs_path/PCSX2/textures"
3940
create_dir -d "$videos_path/PCSX2"
40-
prepare_component "postmove" "pcxs2"
41-
tar -xzf "$component_extras/pcsx2-patches.tar.gz" -C "$mods_path/PCSX2/patches" --overwrite
41+
prepare_component "postmove" "pcsx2"
42+
tar -xzf "$pcsx2_rd_extras_dir/pcsx2-patches.tar.gz" -C "$mods_path/PCSX2/patches" --overwrite
4243
fi

ppsspp/component_functions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ ppsspp_config_controls="$XDG_CONFIG_HOME/ppsspp/PSP/SYSTEM/controls.ini"
55
ppsspp_retroachievements_dat="$XDG_CONFIG_HOME/ppsspp/PSP/SYSTEM/ppsspp_retroachievements.dat"
66
ppsspp_cheats_db="$rd_components/ppsspp/cheats/cheat.db"
77
ppsspp_rd_config_dir="$rd_components/ppsspp/rd_config"
8+
ppsspp_rd_extras_dir="$rd_components/ppsspp/rd_extras"
89
ppsspp_textures_path="$XDG_CONFIG_HOME/ppsspp/PSP/TEXTURES"
910
ppsspp_shaders_path="$XDG_CONFIG_HOME/ppsspp/assets/shaders"
1011
ppsspp_cheats_path="$XDG_CONFIG_HOME/ppsspp/PSP/Cheats"
1112
ppsspp_mods_path="$XDG_CONFIG_HOME/ppsspp/PSP/PLUGINS"
12-
ppsspp_logs_path="$XDG_CONFIG_HOME/ppsspp/PSP/SYSTEM/DUMP"
13+
ppsspp_logs_path="$XDG_CONFIG_HOME/ppsspp/PSP/SYSTEM/DUMP"

ppsspp/component_update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.0b") == "true
3737

3838
prepare_component "postmove" "ppsspp"
3939

40-
unzip -q -o -j "$component_extras/CWCheat-Database-Plus--master.zip" "*/cheat.db" -d "$cheats_path/PPSSPP"
40+
unzip -q -o -j "$ppsspp_rd_extras_dir/CWCheat-Database-Plus--master.zip" "*/cheat.db" -d "$cheats_path/PPSSPP"
4141
fi

retroarch/component_update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.0b") == "true
8181
create_dir "$bios_path/mame2010/artwork"
8282
create_dir "$bios_path/mame2010/crosshairs"
8383
create_dir "$bios_path/mame2010/fonts"
84-
tar -xzf "$component_extras/mame2003-plus" -C "$bios_path/mame2003-plus" --overwrite
84+
tar -xzf "$retroarch_extras_path/mame2003-plus.tar.gz" -C "$bios_path/mame2003-plus" --overwrite
8585

8686
prepare_component "postmove" "retroarch"
8787
fi

rpcs3/component_update.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.0b") == "true
5858

5959
# Since in 0.10.0b we added the storage folder we need to migrate the folders
6060

61-
move "$bios_folder/rpcs3/dev_hdd0" "$storage_path/rpcs3/dev_hdd0"
62-
move "$bios_folder/rpcs3/dev_hdd1" "$storage_path/rpcs3/dev_hdd1"
63-
move "$bios_folder/rpcs3/dev_flash" "$storage_path/rpcs3/dev_flash"
64-
move "$bios_folder/rpcs3/dev_flash2" "$storage_path/rpcs3/dev_flash2"
65-
move "$bios_folder/rpcs3/dev_flash3" "$storage_path/rpcs3/dev_flash3"
66-
move "$bios_folder/rpcs3/dev_bdvd" "$storage_path/rpcs3/dev_bdvd"
67-
move "$bios_folder/rpcs3/dev_usb000" "$storage_path/rpcs3/dev_usb000"
68-
61+
unlink "$bios_path/rpcs3/dev_hdd0/home/00000001/savedata"
62+
move "$bios_path/rpcs3/dev_hdd0" "$storage_path/rpcs3/dev_hdd0"
63+
move "$bios_path/rpcs3/dev_hdd1" "$storage_path/rpcs3/dev_hdd1"
64+
move "$bios_path/rpcs3/dev_flash" "$storage_path/rpcs3/dev_flash"
65+
move "$bios_path/rpcs3/dev_flash2" "$storage_path/rpcs3/dev_flash2"
66+
move "$bios_path/rpcs3/dev_flash3" "$storage_path/rpcs3/dev_flash3"
67+
move "$bios_path/rpcs3/dev_bdvd" "$storage_path/rpcs3/dev_bdvd"
68+
move "$bios_path/rpcs3/dev_usb000" "$storage_path/rpcs3/dev_usb000"
6969
fi

ruffle/component_recipe.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"dest": "component_version",
1818
"contents": "$SOURCE_VERSION"
1919
},
20+
{
21+
"type": "dir",
22+
"source": "$REPO_ROOT/$COMPONENT_NAME/assets/rd_config",
23+
"dest": "rd_config"
24+
},
2025
{
2126
"type": "file",
2227
"source": "$REPO_ROOT/$COMPONENT_NAME/component_functions.sh",

vita3k/component_functions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ vita3k_textures_path="$storage_path/Vita3K/ux0/textures/import"
99
vita3k_lang_path="$XDG_DATA_HOME/Vita3K/lang"
1010
vita3k_patch_path="$XDG_DATA_HOME/Vita3K/patch"
1111
vita3k_shaders_path="$XDG_CACHE_HOME/Vita3K/shaders"
12+
vita3k_rd_config_dir="$rd_components/vita3k/rd_config"
1213

1314
update_vita3k_firmware() {
1415
if [[ $(check_network_connectivity) == "true" ]]; then

vita3k/component_update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.10.0b") == "true
2121
log i "0.10.0b Upgrade - Postmove: Vita3K - Folder Creation"
2222

2323
create_dir "$storage_path/Vita3K/"
24-
cp -frv "$component_config/ux0" "$storage_path/Vita3K/" # User config
24+
cp -frv "$vita3k_rd_config_dir/ux0" "$storage_path/Vita3K/" # User config
2525
prepare_component "postmove" "vita3k"
2626
fi

0 commit comments

Comments
 (0)