From 19018f713307910c217e54c74b00480ead404c1b Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 18 Mar 2022 14:30:55 +0100 Subject: [PATCH] Added Yuzu and Ryujinx emulators (installer + scripts) --- emulators/ryujinx/ryujinx.sh | 3 +++ emulators/yuzu.sh | 3 +++ es_systems.cfg | 9 +++++++-- install-retrodeck.sh | 5 ++++- usr/bin/runemu.py | 34 ++++++++++++++++++---------------- 5 files changed, 35 insertions(+), 19 deletions(-) create mode 100755 emulators/ryujinx/ryujinx.sh create mode 100755 emulators/yuzu.sh diff --git a/emulators/ryujinx/ryujinx.sh b/emulators/ryujinx/ryujinx.sh new file mode 100755 index 00000000..671405df --- /dev/null +++ b/emulators/ryujinx/ryujinx.sh @@ -0,0 +1,3 @@ +#!/bin/bash +ARG=${1//[\\]/} +./emulators/ryujinx/Ryujinx --fullscreen $ARG \ No newline at end of file diff --git a/emulators/yuzu.sh b/emulators/yuzu.sh new file mode 100755 index 00000000..0d73d3ad --- /dev/null +++ b/emulators/yuzu.sh @@ -0,0 +1,3 @@ +#!/bin/bash +ARG=${1//[\\]/} +flatpak run org.yuzu_emu.yuzu -f -g "$ARG" \ No newline at end of file diff --git a/es_systems.cfg b/es_systems.cfg index 78adb842..08928555 100644 --- a/es_systems.cfg +++ b/es_systems.cfg @@ -2146,9 +2146,14 @@ switch switch - + - solarus + yuzu + + + + + ryujinx diff --git a/install-retrodeck.sh b/install-retrodeck.sh index f8cb5c6d..ca547ebd 100755 --- a/install-retrodeck.sh +++ b/install-retrodeck.sh @@ -179,7 +179,9 @@ wget https://github.com/Ryujinx/release-channel-master/releases/download/1.1.76/ tar -xvf ryujinx-1.1.76-linux_x64.tar.gz mv publish ryujinx - +# PS3 - RPCS3 +# DOS - dosbox-pure is included? +# PSVITA - vita3k # Installing 351elec-emulationstation cd $INSTALL_DIR @@ -253,6 +255,7 @@ chmod 777 $INSTALL_DIR/export_func.sh # TODO: these removal must be made when I am sure this files are safe on github #rm -rf $INSTALL_DIR/emulators/RetroArch-Linux-x86_64 #rm -rf $INSTALL_DIR/emulators/RetroArch_cores.7z +#rm -rf $INSTALL_DIR/emulators/ryujinx-1.1.76-linux_x64.tar.gz #rm $INSTALL_DIR/es_systems.cfg #rm $INSTALL_DIR/es_settings.cfg #rm $INSTALL_DIR/es_input.cfg diff --git a/usr/bin/runemu.py b/usr/bin/runemu.py index 32ba1400..cd530f1c 100755 --- a/usr/bin/runemu.py +++ b/usr/bin/runemu.py @@ -116,22 +116,24 @@ class StandaloneEmulator(): should_extract: bool = False standalone_emulators: 'MutableMapping[str, StandaloneEmulator]' = { - 'AMIBERRY': StandaloneEmulator('amiberry', ['/usr/bin/amiberry.start', '']), - 'AdvanceMame': StandaloneEmulator('advmame', ['/usr/bin/advmame.sh', '']), - 'HATARISA': StandaloneEmulator('hatari', ['/usr/bin/hatari.start', '']), - 'hypseus_singe': StandaloneEmulator('hypseus', ['/usr/bin/hypseus.sh', '']), - 'OPENBOR': StandaloneEmulator('openbor', ['/usr/bin/openbor.sh', '']), - 'PPSSPPSDL': StandaloneEmulator('PPSSPPSDL', ['/usr/bin/ppsspp.sh', '']), - 'SCUMMVMSA': StandaloneEmulator('scummvm', ['/usr/bin/scummvm.start', 'sa', '']), - 'drastic': StandaloneEmulator('drastic', ['/usr/bin/drastic.sh', '']), - 'ecwolf': StandaloneEmulator('ecwolf', ['/usr/bin/ecwolf.sh', '']), - 'gzdoom': StandaloneEmulator('gzdoom', ['/usr/bin/gzdoom.sh', '']), - 'lzdoom': StandaloneEmulator('lzdoom', ['/usr/bin/lzdoom.sh', '']), - 'mpv': StandaloneEmulator('mpv', ['/usr/bin/mpv_video.sh', '']), - 'pico8': StandaloneEmulator('pico8_dyn', ['/usr/bin/pico-8.sh', '']), - 'piemu': StandaloneEmulator('piemu', ['/usr/bin/bash', '-l', '/usr/bin/piemu.sh', '']), - 'raze': StandaloneEmulator('raze', ['/usr/bin/raze.sh', '']), - 'solarus': StandaloneEmulator('solarus-run', ['/usr/bin/solarus.sh', '']), + 'AMIBERRY': StandaloneEmulator('amiberry', [INSTALL_DIR + '/usr/bin/amiberry.start', '']), + 'AdvanceMame': StandaloneEmulator('advmame', [INSTALL_DIR + '/usr/bin/advmame.sh', '']), + 'HATARISA': StandaloneEmulator('hatari', [INSTALL_DIR + '/usr/bin/hatari.start', '']), + 'hypseus_singe': StandaloneEmulator('hypseus', [INSTALL_DIR + '/usr/bin/hypseus.sh', '']), + 'OPENBOR': StandaloneEmulator('openbor', [INSTALL_DIR + '/usr/bin/openbor.sh', '']), + 'PPSSPPSDL': StandaloneEmulator('PPSSPPSDL', [INSTALL_DIR + '/usr/bin/ppsspp.sh', '']), + 'SCUMMVMSA': StandaloneEmulator('scummvm', [INSTALL_DIR + '/usr/bin/scummvm.start', 'sa', '']), + 'drastic': StandaloneEmulator('drastic', [INSTALL_DIR + '/usr/bin/drastic.sh', '']), + 'ecwolf': StandaloneEmulator('ecwolf', [INSTALL_DIR + '/usr/bin/ecwolf.sh', '']), + 'gzdoom': StandaloneEmulator('gzdoom', [INSTALL_DIR + '/usr/bin/gzdoom.sh', '']), + 'lzdoom': StandaloneEmulator('lzdoom', [INSTALL_DIR + '/usr/bin/lzdoom.sh', '']), + 'mpv': StandaloneEmulator('mpv', [INSTALL_DIR + '/usr/bin/mpv_video.sh', '']), + 'pico8': StandaloneEmulator('pico8_dyn', [INSTALL_DIR + '/usr/bin/pico-8.sh', '']), + 'piemu': StandaloneEmulator('piemu', [INSTALL_DIR + '/usr/bin/bash', '-l', '/usr/bin/piemu.sh', '']), + 'raze': StandaloneEmulator('raze', [INSTALL_DIR + '/usr/bin/raze.sh', '']), + 'solarus': StandaloneEmulator('solarus-run', [INSTALL_DIR + '/usr/bin/solarus.sh', '']), + 'yuzu': StandaloneEmulator('yuzu', [INSTALL_DIR + '/emulators/yuzu.sh', '']), + 'ryujinx': StandaloneEmulator('ryujinx', [INSTALL_DIR + '/emulators/ryujinx/ryujinx.sh', '']), } def _load_customized_standalone_emulators():