Skip to content

Commit

Permalink
Merge pull request #1031 from r3claimer/dev
Browse files Browse the repository at this point in the history
Add MelonDS and Duckstation tools script, SD865 panda3ds-lr support
  • Loading branch information
r3claimer authored Dec 27, 2024
2 parents 3224b5e + 05f9930 commit 6286682
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)<br>**retroarch:** sameboy<br>**retroarch:** gearboy<br>**retroarch:** tgbdual<br>**retroarch:** mgba<br>**retroarch:** vbam<br>**retroarch:** DoubleCherryGB<br>|
|Nintendo|GameCube (gamecube)|2001|`gamecube`|.gcm .iso .gcz .ciso .wbfs .rvz .dol|**dolphin:** dolphin-sa-gc<br>**dolphin:** dolphin-qt-gc (default)<br>**retroarch:** dolphin<br>|
|Nintendo|NES (Hacks) (nesh)|1985|`nesh`|.nes .unif .unf .zip .7z|**retroarch:** nestopia (default)<br>**retroarch:** fceumm<br>**retroarch:** quicknes<br>**retroarch:** mesen<br>|
|Nintendo|Nintendo 3DS (3ds)|2010|`3ds`|.3ds .3dsx .elf .axf .cci .cxi .app|**lime3ds:** lime3ds-sa (default)<br>|
|Nintendo|Nintendo 3DS (3ds)|2010|`3ds`|.3ds .3dsx .elf .axf .cci .cxi .app|**lime3ds:** lime3ds-sa (default)<br>**retroarch:** panda3ds<br>|
|Nintendo|Nintendo 64 (n64)|1996|`n64`|.z64 .n64 .v64 .zip .7z|**retroarch:** mupen64plus_next (default)<br>**retroarch:** parallel_n64<br>**mupen64plus:** mupen64plus-sa<br>|
|Nintendo|Nintendo DS (nds)|2005|`nds`|.nds .zip .7z|**drastic:** drastic-sa<br>**retroarch:** melonds<br>**retroarch:** melondsds<br>**melonds:** melonds-sa (default)<br>**retroarch:** desmume<br>|
|Nintendo|Nintendo Entertainment System (nes)|1985|`nes`|.nes .unif .unf .zip .7z|**retroarch:** nestopia (default)<br>**retroarch:** fceumm<br>**retroarch:** quicknes<br>**retroarch:** mesen<br>|
Expand Down
2 changes: 1 addition & 1 deletion packages/emulators/libretro/panda3ds-lr/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
24 changes: 24 additions & 0 deletions packages/misc/modules/sources/gamelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@
<players>1</players>
<image>./images/dolphin.svg</image>
</game>
<game>
<path>./Start Duckstation.sh</path>
<name>Start Duckstation</name>
<desc>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.</desc>
<developer>ROCKNIX</developer>
<publisher>ROCKNIX</publisher>
<rating>5.0</rating>
<releasedate>2024</releasedate>
<genre>Emulator</genre>
<players>1</players>
<image>./images/duckstation.svg</image>
</game>
<game>
<path>./Start HATARISA.sh</path>
<name>Start Hatari</name>
Expand All @@ -120,6 +132,18 @@
<players>1</players>
<image>./images/hatari.svg</image>
</game>
<game>
<path>./Start MelonDS.sh</path>
<name>Start MelonDS</name>
<desc>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.</desc>
<developer>ROCKNIX</developer>
<publisher>ROCKNIX</publisher>
<rating>5.0</rating>
<releasedate>2024</releasedate>
<genre>Emulator</genre>
<players>1</players>
<image>./images/melonds.svg</image>
</game>
<game>
<path>./Start Moonlight.sh</path>
<name>Start Moonlight</name>
Expand Down
17 changes: 11 additions & 6 deletions packages/virtual/emulators/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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"
Expand All @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
;;
Expand Down Expand Up @@ -726,13 +727,15 @@ 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
add_emu_core nds retroarch melonds false
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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions packages/virtual/emulators/sources/Start Duckstation.sh
Original file line number Diff line number Diff line change
@@ -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"
13 changes: 13 additions & 0 deletions packages/virtual/emulators/sources/Start MelonDS.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6286682

Please sign in to comment.