Added "Yuzu Custom" as additional "custom" emulator

This commit is contained in:
XargonWan 2023-10-07 11:50:16 +02:00
parent f4fe9d6835
commit 28a0b87cda
5 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,15 @@
There is the possibility to provide custom emutlators provided by the user.
At the moment the only one available is Yuzu.
Create a folder named "yuzu" lowercase and place there your AppImage, so the path should be:
retrodeck/customs/yuzu/yuzu*.AppImage
WARNINGS on custom emulators:
- Custom emulators are self managed: means that RetroDECK Team is not supporting nor troubleshooting them.
- Custom emulators could potentially break other included emulators configs: use them at your own risk.
- Remember to make the binary executable, otherwise they won't be launched.
Related wiki article can be found here:
---
The RetroDECK Team

View file

@ -16,3 +16,6 @@ how-to-install-PCSX2-textures.txt^$texture_packs_folder/PCSX2
how-to-install-Mupen64Plus-textures.txt^$texture_packs_folder/RetroArch-Mupen64Plus/cache
how-to-install-Mupen64Plus-textures.txt^$texture_packs_folder/RetroArch-Mupen64Plus/hires_texture
how-to-install-Duckstation-textures.txt^$texture_packs_folder/Duckstation
# customs
how-to-install-custom-emulators.txt^$rdhome/customs

View file

@ -841,6 +841,12 @@
<entry>~/.local/share/flatpak/exports/bin/org.yuzu_emu.yuzu</entry>
</rule>
</emulator>
<emulator name="YUZU-CUSTOM">
<!-- Nintendo Switch emulator Yuzu Custom provided by the user -->
<rule type="staticpath">
<entry>~/retrodeck/customs/yuzu/yuzu*.AppImage</entry>
</rule>
</emulator>
<emulator name="ZESARUX">
<!-- Sinclair ZX Spectrum emulator ZEsarUX -->
<rule type="systempath">

View file

@ -1657,6 +1657,7 @@
<extension>.nca .NCA .nro .NRO .nso .NSO .nsp .NSP .xci .XCI</extension>
<command label="Yuzu (Standalone)">%INJECT%=%BASENAME%.esprefix %EMULATOR_YUZU% -f -g %ROM%</command>
<command label="Ryujinx (Standalone)">%EMULATOR_RYUJINX% %ROM%</command>
<command label="Yuzu (User provided)">%INJECT%=%BASENAME%.esprefix %EMULATOR_YUZU-CUSTOM% -f -g %ROM%</command>
<platform>switch</platform>
<theme>switch</theme>
</system>

View file

@ -642,6 +642,7 @@ prepare_emulator() {
dir_prep "$logs_folder/yuzu" "/var/data/yuzu/log"
dir_prep "$screenshots_folder" "/var/data/yuzu/screenshots"
dir_prep "$mods_folder/Yuzu" "/var/data/yuzu/load"
mkdir -pv "$rdhome/customs/yuzu"
# removing dead symlinks as they were present in a past version
if [ -d $bios_folder/switch ]; then
find $bios_folder/switch -xtype l -exec rm {} \;