From 05f9930dbcac8c04ad49f074eb41f31847a5d4f3 Mon Sep 17 00:00:00 2001 From: rmake Date: Fri, 27 Dec 2024 16:30:11 +0000 Subject: [PATCH] Add MelonDS and Duckstation tools script, SD865 panda3ds-lr support --- .../SD865/SUPPORTED_EMULATORS_AND_CORES.md | 2 +- .../emulators/libretro/panda3ds-lr/package.mk | 2 +- packages/misc/modules/sources/gamelist.xml | 24 +++++++++++++++++++ packages/virtual/emulators/package.mk | 17 ++++++++----- .../emulators/sources/Start Duckstation.sh | 10 ++++++++ .../emulators/sources/Start MelonDS.sh | 13 ++++++++++ 6 files changed, 60 insertions(+), 8 deletions(-) create mode 100644 packages/virtual/emulators/sources/Start Duckstation.sh create mode 100644 packages/virtual/emulators/sources/Start MelonDS.sh diff --git a/documentation/PER_DEVICE_DOCUMENTATION/SD865/SUPPORTED_EMULATORS_AND_CORES.md b/documentation/PER_DEVICE_DOCUMENTATION/SD865/SUPPORTED_EMULATORS_AND_CORES.md index a38508e858..cb6d48a964 100644 --- a/documentation/PER_DEVICE_DOCUMENTATION/SD865/SUPPORTED_EMULATORS_AND_CORES.md +++ b/documentation/PER_DEVICE_DOCUMENTATION/SD865/SUPPORTED_EMULATORS_AND_CORES.md @@ -73,7 +73,7 @@ This document describes all available systems emulators and cores available for |Nintendo|Game Boy Color (Hacks) (gbch)|1998|`gbch`|.gb .gbc .zip .7z|**retroarch:** gambatte (default)
**retroarch:** sameboy
**retroarch:** gearboy
**retroarch:** tgbdual
**retroarch:** mgba
**retroarch:** vbam
**retroarch:** DoubleCherryGB
| |Nintendo|GameCube (gamecube)|2001|`gamecube`|.gcm .iso .gcz .ciso .wbfs .rvz .dol|**dolphin:** dolphin-sa-gc
**dolphin:** dolphin-qt-gc (default)
**retroarch:** dolphin
| |Nintendo|NES (Hacks) (nesh)|1985|`nesh`|.nes .unif .unf .zip .7z|**retroarch:** nestopia (default)
**retroarch:** fceumm
**retroarch:** quicknes
**retroarch:** mesen
| -|Nintendo|Nintendo 3DS (3ds)|2010|`3ds`|.3ds .3dsx .elf .axf .cci .cxi .app|**lime3ds:** lime3ds-sa (default)
| +|Nintendo|Nintendo 3DS (3ds)|2010|`3ds`|.3ds .3dsx .elf .axf .cci .cxi .app|**lime3ds:** lime3ds-sa (default)
**retroarch:** panda3ds
| |Nintendo|Nintendo 64 (n64)|1996|`n64`|.z64 .n64 .v64 .zip .7z|**retroarch:** mupen64plus_next (default)
**retroarch:** parallel_n64
**mupen64plus:** mupen64plus-sa
| |Nintendo|Nintendo DS (nds)|2005|`nds`|.nds .zip .7z|**drastic:** drastic-sa
**retroarch:** melonds
**retroarch:** melondsds
**melonds:** melonds-sa (default)
**retroarch:** desmume
| |Nintendo|Nintendo Entertainment System (nes)|1985|`nes`|.nes .unif .unf .zip .7z|**retroarch:** nestopia (default)
**retroarch:** fceumm
**retroarch:** quicknes
**retroarch:** mesen
| diff --git a/packages/emulators/libretro/panda3ds-lr/package.mk b/packages/emulators/libretro/panda3ds-lr/package.mk index 64d0d72685..d039269192 100644 --- a/packages/emulators/libretro/panda3ds-lr/package.mk +++ b/packages/emulators/libretro/panda3ds-lr/package.mk @@ -2,7 +2,7 @@ # Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX) PKG_NAME="panda3ds-lr" -PKG_VERSION="f1b7830952e98299a62d325333cbe83b7bf81e83" +PKG_VERSION="7c2918f3f749b9f93e7bd69fdff7055d29164457" PKG_LICENSE="GPLv3" PKG_SITE="https://github.com/wheremyfoodat/Panda3DS" PKG_URL="${PKG_SITE}.git" diff --git a/packages/misc/modules/sources/gamelist.xml b/packages/misc/modules/sources/gamelist.xml index f49243fda4..4fe24b5cfe 100755 --- a/packages/misc/modules/sources/gamelist.xml +++ b/packages/misc/modules/sources/gamelist.xml @@ -108,6 +108,18 @@ 1 ./images/dolphin.svg + + ./Start Duckstation.sh + Start Duckstation + Opens the Duckstation GUI (PS1) to enable global configuration changes to be made directly to the emulator. It's recommended to have a mouse and keyboard to modify settings. + ROCKNIX + ROCKNIX + 5.0 + 2024 + Emulator + 1 + ./images/duckstation.svg + ./Start HATARISA.sh Start Hatari @@ -120,6 +132,18 @@ 1 ./images/hatari.svg + + ./Start MelonDS.sh + Start MelonDS + Opens the MelonDS GUI (Nintendo DS) to enable global configuration changes to be made directly to the emulator. It's recommended to have a mouse and keyboard to modify settings. + ROCKNIX + ROCKNIX + 5.0 + 2024 + Emulator + 1 + ./images/melonds.svg + ./Start Moonlight.sh Start Moonlight diff --git a/packages/virtual/emulators/package.mk b/packages/virtual/emulators/package.mk index da170c1238..0dc1ee6858 100644 --- a/packages/virtual/emulators/package.mk +++ b/packages/virtual/emulators/package.mk @@ -8,14 +8,14 @@ PKG_SECTION="emulation" # Do not change to virtual or makeinstall_target will no PKG_LONGDESC="Emulation metapackage." PKG_TOOLCHAIN="manual" -PKG_EMUS="amiberry flycast-sa gzdoom-sa hatarisa hypseus-singe moonlight mupen64plus-sa openbor pico-8 ppsspp-sa vice-sa" +PKG_EMUS="amiberry duckstation-sa flycast-sa gzdoom-sa hatarisa hypseus-singe moonlight mupen64plus-sa openbor pico-8 ppsspp-sa vice-sa" PKG_RETROARCH="core-info libretro-database retroarch retroarch-assets retroarch-joypads retroarch-overlays slang-shaders" LIBRETRO_CORES="81-lr a5200-lr arduous-lr atari800-lr beetle-gba-lr beetle-lynx-lr beetle-ngp-lr beetle-pce-lr beetle-pce-fast-lr \ beetle-pcfx-lr bsnes-mercury-accuracy-lr bsnes-mercury-balanced-lr bsnes-mercury-performance-lr beetle-supafaust-lr \ beetle-supergrafx-lr beetle-vb-lr beetle-wswan-lr bluemsx-lr cap32-lr crocods-lr daphne-lr doublecherrygb-lr \ - dosbox-svn-lr dosbox-pure-lr duckstation-lr duckstation-sa easyrpg-lr emuscv-lr fake08-lr fbalpha2012-lr \ + dosbox-svn-lr dosbox-pure-lr duckstation-lr easyrpg-lr emuscv-lr fake08-lr fbalpha2012-lr \ fbalpha2019-lr fbneo-lr fceumm-lr flycast2021-lr fmsx-lr freechaf-lr freeintv-lr freej2me-lr fuse-lr gambatte-lr \ gearboy-lr gearcoleco-lr gearsystem-lr genesis-plus-gx-lr genesis-plus-gx-wide-lr gw-lr handy-lr hatari-lr idtech-lr \ jaxe-lr mame-lr mame2003-plus-lr mame2010-lr mame2015-lr melonds-lr melonds-ds-lr mesen-lr mgba-lr minivmac-lr \ @@ -31,7 +31,7 @@ case "${DEVICE}" in [ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="wine" PKG_EMUS+=" cemu-sa dolphin-sa lime3ds-sa mednafen melonds-sa minivmacsa mupen64plus-sa nanoboyadvance-sa pcsx2-sa \ rpcs3-sa scummvmsa vita3k-sa xemu-sa" - LIBRETRO_CORES+=" beetle-psx-lr beetle-saturn-lr bsnes-lr bsnes-hd-lr desmume-lr dolphin-lr flycast-lr lrps2-lr play-lr" + LIBRETRO_CORES+=" beetle-psx-lr beetle-saturn-lr bsnes-lr bsnes-hd-lr desmume-lr dolphin-lr flycast-lr lrps2-lr panda3ds-lr play-lr" ;; RK3588) [ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="box86 desmume-lr gpsp-lr pcsx_rearmed-lr wine" @@ -55,7 +55,7 @@ case "${DEVICE}" in S922X) [ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="box86 pcsx_rearmed-lr wine" PKG_EMUS+=" aethersx2-sa box64 dolphin-sa drastic-sa portmaster scummvmsa yabasanshiro-sa" - LIBRETRO_CORES+=" beetle-psx-lr beetle-saturn-lr bsnes-lr bsnes-hd-lr dolphin-lr geolith-lr flycast-lr lime3ds-sa uae4arm" + LIBRETRO_CORES+=" beetle-psx-lr beetle-saturn-lr bsnes-lr bsnes-hd-lr dolphin-lr geolith-lr flycast-lr lime3ds-sa panda3ds-lr uae4arm" PKG_RETROARCH+=" retropie-shaders" ;; RK3326) @@ -76,7 +76,7 @@ case "${DEVICE}" in [ "${ENABLE_32BIT}" == "true" ] && EMUS_32BIT="box86 desmume-lr gpsp-lr pcsx_rearmed-lr wine" PKG_EMUS+=" aethersx2-sa box64 dolphin-sa drastic-sa lime3ds-sa melonds-sa portmaster rpcs3-sa scummvmsa supermodel-sa \ yabasanshiro-sa xemu-sa" - LIBRETRO_CORES+=" beetle-psx-lr beetle-saturn-lr bsnes-lr bsnes-hd-lr dolphin-lr flycast-lr geolith-lr pcsx_rearmed-lr uae4arm kronos-lr" + LIBRETRO_CORES+=" beetle-psx-lr beetle-saturn-lr bsnes-lr bsnes-hd-lr dolphin-lr flycast-lr geolith-lr panda3ds-lr pcsx_rearmed-lr uae4arm kronos-lr" PKG_RETROARCH+=" retropie-shaders" ;; esac @@ -141,9 +141,10 @@ makeinstall_target() { case ${DEVICE} in AMD64|S922X|SD865) add_emu_core 3ds lime3ds lime3ds-sa true + add_emu_core 3ds retroarch panda3ds false add_es_system 3ds ;; - *) + RK3588) add_emu_core 3ds retroarch panda3ds true add_es_system 3ds ;; @@ -726,6 +727,7 @@ makeinstall_target() { add_emu_core nds retroarch melondsds false add_emu_core nds retroarch desmume false add_emu_core nds melonds melonds-sa false + install_script "Start MelonDS.sh" ;; RK3399|RK3*) add_emu_core nds drastic drastic-sa true @@ -733,6 +735,7 @@ makeinstall_target() { add_emu_core nds retroarch melondsds false add_emu_core nds melonds melonds-sa false add_emu_core nds retroarch desmume false + install_script "Start MelonDS.sh" ;; RK3326|H700) add_emu_core nds drastic drastic-sa true @@ -746,6 +749,7 @@ makeinstall_target() { add_emu_core nds retroarch melondsds false add_emu_core nds melonds melonds-sa true add_emu_core nds retroarch desmume false + install_script "Start MelonDS.sh" ;; *) add_emu_core nds drastic drastic-sa true @@ -867,6 +871,7 @@ makeinstall_target() { add_emu_core psx retroarch duckstation false add_emu_core psx retroarch swanstation false add_es_system psx + install_script "Start Duckstation.sh" ### Sony Playstation 2 case ${DEVICE} in diff --git a/packages/virtual/emulators/sources/Start Duckstation.sh b/packages/virtual/emulators/sources/Start Duckstation.sh new file mode 100644 index 0000000000..45701d8d83 --- /dev/null +++ b/packages/virtual/emulators/sources/Start Duckstation.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX) + +. /etc/profile + +set_kill set "-9 duckstation-nogui" + +/usr/bin/duckstation-nogui -fullscreen -settings "/storage/.config/duckstation/settings.ini" diff --git a/packages/virtual/emulators/sources/Start MelonDS.sh b/packages/virtual/emulators/sources/Start MelonDS.sh new file mode 100644 index 0000000000..b1dbd4aabb --- /dev/null +++ b/packages/virtual/emulators/sources/Start MelonDS.sh @@ -0,0 +1,13 @@ + +#!/bin/bash + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX) + +. /etc/profile + +set_kill set "-9 melonDS" + +export QT_QPA_PLATFORM=wayland + +/usr/bin/melonDS