Added Yuzu and Ryujinx emulators (installer + scripts)

This commit is contained in:
XargonWan 2022-03-18 14:30:55 +01:00
parent 87b1248f3a
commit 085723cbf3
5 changed files with 35 additions and 19 deletions

3
emulators/ryujinx/ryujinx.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
ARG=${1//[\\]/}
./emulators/ryujinx/Ryujinx --fullscreen $ARG

3
emulators/yuzu.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
ARG=${1//[\\]/}
flatpak run org.yuzu_emu.yuzu -f -g "$ARG"

View file

@ -2146,9 +2146,14 @@
<platform>switch</platform> <platform>switch</platform>
<theme>switch</theme> <theme>switch</theme>
<emulators> <emulators>
<emulator name="solarus"> <emulator name="yuzu">
<cores> <cores>
<core default="true">solarus</core> <core default="true">yuzu</core>
</cores>
</emulator>
<emulator name="ryujinx">
<cores>
<core>ryujinx</core>
</cores> </cores>
</emulator> </emulator>
</emulators> </emulators>

View file

@ -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 tar -xvf ryujinx-1.1.76-linux_x64.tar.gz
mv publish ryujinx mv publish ryujinx
# PS3 - RPCS3
# DOS - dosbox-pure is included?
# PSVITA - vita3k
# Installing 351elec-emulationstation # Installing 351elec-emulationstation
cd $INSTALL_DIR 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 # 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-Linux-x86_64
#rm -rf $INSTALL_DIR/emulators/RetroArch_cores.7z #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_systems.cfg
#rm $INSTALL_DIR/es_settings.cfg #rm $INSTALL_DIR/es_settings.cfg
#rm $INSTALL_DIR/es_input.cfg #rm $INSTALL_DIR/es_input.cfg

View file

@ -116,22 +116,24 @@ class StandaloneEmulator():
should_extract: bool = False should_extract: bool = False
standalone_emulators: 'MutableMapping[str, StandaloneEmulator]' = { standalone_emulators: 'MutableMapping[str, StandaloneEmulator]' = {
'AMIBERRY': StandaloneEmulator('amiberry', ['/usr/bin/amiberry.start', '<path>']), 'AMIBERRY': StandaloneEmulator('amiberry', [INSTALL_DIR + '/usr/bin/amiberry.start', '<path>']),
'AdvanceMame': StandaloneEmulator('advmame', ['/usr/bin/advmame.sh', '<path>']), 'AdvanceMame': StandaloneEmulator('advmame', [INSTALL_DIR + '/usr/bin/advmame.sh', '<path>']),
'HATARISA': StandaloneEmulator('hatari', ['/usr/bin/hatari.start', '<path>']), 'HATARISA': StandaloneEmulator('hatari', [INSTALL_DIR + '/usr/bin/hatari.start', '<path>']),
'hypseus_singe': StandaloneEmulator('hypseus', ['/usr/bin/hypseus.sh', '<path>']), 'hypseus_singe': StandaloneEmulator('hypseus', [INSTALL_DIR + '/usr/bin/hypseus.sh', '<path>']),
'OPENBOR': StandaloneEmulator('openbor', ['/usr/bin/openbor.sh', '<path>']), 'OPENBOR': StandaloneEmulator('openbor', [INSTALL_DIR + '/usr/bin/openbor.sh', '<path>']),
'PPSSPPSDL': StandaloneEmulator('PPSSPPSDL', ['/usr/bin/ppsspp.sh', '<path>']), 'PPSSPPSDL': StandaloneEmulator('PPSSPPSDL', [INSTALL_DIR + '/usr/bin/ppsspp.sh', '<path>']),
'SCUMMVMSA': StandaloneEmulator('scummvm', ['/usr/bin/scummvm.start', 'sa', '<path>']), 'SCUMMVMSA': StandaloneEmulator('scummvm', [INSTALL_DIR + '/usr/bin/scummvm.start', 'sa', '<path>']),
'drastic': StandaloneEmulator('drastic', ['/usr/bin/drastic.sh', '<path>']), 'drastic': StandaloneEmulator('drastic', [INSTALL_DIR + '/usr/bin/drastic.sh', '<path>']),
'ecwolf': StandaloneEmulator('ecwolf', ['/usr/bin/ecwolf.sh', '<path>']), 'ecwolf': StandaloneEmulator('ecwolf', [INSTALL_DIR + '/usr/bin/ecwolf.sh', '<path>']),
'gzdoom': StandaloneEmulator('gzdoom', ['/usr/bin/gzdoom.sh', '<path>']), 'gzdoom': StandaloneEmulator('gzdoom', [INSTALL_DIR + '/usr/bin/gzdoom.sh', '<path>']),
'lzdoom': StandaloneEmulator('lzdoom', ['/usr/bin/lzdoom.sh', '<path>']), 'lzdoom': StandaloneEmulator('lzdoom', [INSTALL_DIR + '/usr/bin/lzdoom.sh', '<path>']),
'mpv': StandaloneEmulator('mpv', ['/usr/bin/mpv_video.sh', '<path>']), 'mpv': StandaloneEmulator('mpv', [INSTALL_DIR + '/usr/bin/mpv_video.sh', '<path>']),
'pico8': StandaloneEmulator('pico8_dyn', ['/usr/bin/pico-8.sh', '<path>']), 'pico8': StandaloneEmulator('pico8_dyn', [INSTALL_DIR + '/usr/bin/pico-8.sh', '<path>']),
'piemu': StandaloneEmulator('piemu', ['/usr/bin/bash', '-l', '/usr/bin/piemu.sh', '<path>']), 'piemu': StandaloneEmulator('piemu', [INSTALL_DIR + '/usr/bin/bash', '-l', '/usr/bin/piemu.sh', '<path>']),
'raze': StandaloneEmulator('raze', ['/usr/bin/raze.sh', '<path>']), 'raze': StandaloneEmulator('raze', [INSTALL_DIR + '/usr/bin/raze.sh', '<path>']),
'solarus': StandaloneEmulator('solarus-run', ['/usr/bin/solarus.sh', '<path>']), 'solarus': StandaloneEmulator('solarus-run', [INSTALL_DIR + '/usr/bin/solarus.sh', '<path>']),
'yuzu': StandaloneEmulator('yuzu', [INSTALL_DIR + '/emulators/yuzu.sh', '<path>']),
'ryujinx': StandaloneEmulator('ryujinx', [INSTALL_DIR + '/emulators/ryujinx/ryujinx.sh', '<path>']),
} }
def _load_customized_standalone_emulators(): def _load_customized_standalone_emulators():