From 61fde7009943cd0da1ec7eea6a224d5c2567c6e1 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Tue, 12 Sep 2023 10:40:28 -0400 Subject: [PATCH] Deploy helper files on finit and update Add Citra mod helper file --- .../how-to-install-citra-mods.txt | 19 +++++++++++++++++++ .../reference_lists/helper_files_list.cfg | 2 +- functions/functions.sh | 1 + functions/post_update.sh | 1 + 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 emu-configs/defaults/retrodeck/helper_files/how-to-install-citra-mods.txt diff --git a/emu-configs/defaults/retrodeck/helper_files/how-to-install-citra-mods.txt b/emu-configs/defaults/retrodeck/helper_files/how-to-install-citra-mods.txt new file mode 100644 index 00000000..f9ce75bc --- /dev/null +++ b/emu-configs/defaults/retrodeck/helper_files/how-to-install-citra-mods.txt @@ -0,0 +1,19 @@ +There are two ways of adding mods into Citra + +From Citra +- Extract any mod from compressed .zip or any other format to folders. +- Open up Citra inside RetroDECK Configurator by pressing Open Emulator - Citra. +- Right click on the game you want to add mods into. +- Click on Open Mods Location. +- Paste the mod files inside that directory, each folder is stored by the TITLLEID of the game. +- Quit Citra + +From the mod folder directly +- Extract any mod files from compressed .zip or any other format into folders. +- Go into ~/retrodeck/mods/citra/. The folders are all named by TITLEID. +- Past the mods into the right ~/retrodeck/mods/yuzu/ folder. + +Related wiki article can be found here: +https://github.com/XargonWan/RetroDECK/wiki/Citra%3A-Mods#citra---3ds + +The RetroDECK Team diff --git a/emu-configs/defaults/retrodeck/reference_lists/helper_files_list.cfg b/emu-configs/defaults/retrodeck/reference_lists/helper_files_list.cfg index d5a1be95..1b05ffff 100644 --- a/emu-configs/defaults/retrodeck/reference_lists/helper_files_list.cfg +++ b/emu-configs/defaults/retrodeck/reference_lists/helper_files_list.cfg @@ -2,4 +2,4 @@ # FILE NAME^DESTINATION # The destination can be an internal variable name like $roms_folder if needed # The FILE name can have spaces in it, but the DESTINATION cannot, even in variable form -RetroDECK Example Readme.txt^$rdhome +how-to-install-citra-mods.txt^$mods_folder/Citra diff --git a/functions/functions.sh b/functions/functions.sh index 7bcc6499..e6b6f9ed 100644 --- a/functions/functions.sh +++ b/functions/functions.sh @@ -422,6 +422,7 @@ finit() { ( prepare_emulator "reset" "all" build_retrodeck_current_presets + deploy_helper_files # Optional actions based on user choices if [[ "$finit_options_choices" =~ (rpcs3_firmware|Enable All) ]]; then diff --git a/functions/post_update.sh b/functions/post_update.sh index c65bd9f2..69194993 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -244,6 +244,7 @@ post_update() { fi update_splashscreens + deploy_helper_files build_retrodeck_current_presets ) | zenity --icon-name=net.retrodeck.retrodeck --progress --no-cancel --pulsate --auto-close \