Install MelonDS emulator (#18)

* Adding MelonDS

* melonds adding to Jelos package.mk

* Update es_systems.cfg

* update drastic location

* fix typo

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* Update package.mk

* adding back in melon DS

* fix typo

* Update es_features.cfg

* Update retroarch-core-options.cfg
This commit is contained in:
Brooksytech 2022-04-16 05:53:05 -07:00 committed by GitHub
parent 5ce1aa06fb
commit 4dc3db2e62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 53 additions and 5 deletions

View file

@ -82,3 +82,5 @@ opera_swi_hle = "enabled"
opera_dsp_threaded = "enabled"
opera_madam_matrix_engine = "software"
puae_deadzone = "25"
melonds_screen_layout="left/right"
melonds_touch_mode="joystick"

View file

@ -0,0 +1,34 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="melonds"
PKG_VERSION="e93ec3e462d3dfc1556781510a3cee113f02abb2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://git.libretro.com/libretro/melonDS"
PKG_URL="$PKG_SITE.git"
PKG_DEPENDS_TARGET="toolchain $OPENGLES"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="MeloDS - Nintendo DS emulator for libretro"
PKG_TOOLCHAIN="make"
pre_make_target() {
cd ${PKG_BUILD}
rm CMakeLists.txt
if [[ "${DEVICE}" =~ RG351 ]]
then
PKG_MAKE_OPTS_TARGET=" platform=odroidgoa"
elif [[ "${DEVICE}" =~ RG552 ]]
then
PKG_MAKE_OPTS_TARGET=" platform=RK3399"
fi
}
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp melonds_libretro.so $INSTALL/usr/lib/libretro/
}

View file

@ -29,10 +29,10 @@ PKG_EMUS="common-shaders glsl-shaders libretro-database retroarch hatarisa openb
LIBRETRO_CORES="2048 81 a5200 atari800 beetle-gba beetle-lynx beetle-ngp beetle-pce beetle-pcfx \
beetle-supafaust beetle-supergrafx beetle-vb beetle-wswan bluemsx cannonball cap32 \
crocods daphne dinothawr dosbox-svn dosbox-pure duckstation easyrpg fbalpha2012 \
fbalpha2019 fbneo fceumm fmsx flycast flycast_libretro freechaf freeintv \
fbalpha2019 fbneo fceumm fmsx flycast flycast_libretro freechaf freeintv \
freej2me fuse-libretro gambatte gearboy gearcoleco gearsystem genesis-plus-gx \
genesis-plus-gx-wide gme gpsp gw-libretro handy hatari mame2000 mame2003-plus \
mame2010 mame2015 mame meowpc98 mgba mrboom mupen64plus mupen64plus-nx \
mame2010 mame2015 mame melonds meowpc98 mgba mrboom mupen64plus mupen64plus-nx \
neocd_libretro nestopia np2kai nxengine o2em opera parallel-n64_rice \
parallel-n64_gln64 parallel-n64_glide64 pcsx_rearmed picodrive pokemini potator \
ppsspp prboom prosystem puae px68k quasi88 quicknes race reminiscence sameboy \

View file

@ -247,7 +247,7 @@ then
;;
"nds")
jslisten set "drastic"
RUNTHIS='${TBASH} /usr/bin/drastic.sh "${ROMNAME}"'
RUNTHIS='${TBASH} /storage/.config/drastic/drastic.sh "${ROMNAME}"'
;;
"solarus")
if [ "$EMU" = "solarus" ]

View file

@ -48,6 +48,7 @@
<core name="mame2003_plus" features="netplay, rewind, autosave" />
<core name="mame2010" features="netplay, rewind, autosave" />
<core name="mame2016" features="netplay, rewind, autosave" />
<core name="melonds" features="netplay, rewind, autosave" />
<core name="beetle_gba" features="netplay, rewind, autosave, cheevos" />
<core name="beetle_lynx" features="netplay, rewind, autosave, cheevos" />
<core name="beetle_ngp" features="decoration, netplay, rewind, autosave, cheevos" />

View file

@ -18,7 +18,6 @@
<string name="FolderViewMode" value="always" />
<string name="GameTransitionStyle" value="instant" />
<string name="GamelistViewStyle" value="automatic" />
<string name="HiddenSystems" value="nds" />
<string name="INPUT P1" value="DEFAULT" />
<string name="INPUT P1NAME" value="DEFAULT" />
<string name="INPUT P2" value="DEFAULT" />

View file

@ -1130,9 +1130,21 @@
<release>2005</release>
<hardware>portable</hardware>
<extension>.nds .zip .NDS .ZIP</extension>
<command>/storage/.config/drastic/drastic.sh %ROM%</command>
<command>/usr/bin/runemu.sh %ROM% -P%SYSTEM% --core=%CORE% --emulator=%EMULATOR% --controllers="%CONTROLLERSCONFIG%"</command>
<platform>nds</platform>
<theme>nds</theme>
<emulators>
<emulator name="retroarch">
<cores>
<core default="true">melonds</core>
</cores>
</emulator>
<emulator name="drastic">
<cores>
<core>drastic</core>
</cores>
</emulator>
</emulators>
</system>
<system>
<name>nes</name>