Compare commits

...

7 commits

Author SHA1 Message Date
Jools Wills bbc3658ce9
Merge a0b3162926 into 5e0ab1f859 2024-05-08 13:08:45 +01:00
retropieuser 5e0ab1f859
Update platforms.cfg for pc98 and add .cmd files
* Update platforms.cfg for pc98 and add .cmd files
2024-05-06 15:53:49 +03:00
Jools Wills 2c955ef02a
Merge pull request #3914 from cmitu/mame-update4
lr-mame: fix the build for 2016 repository
2024-05-01 07:29:24 +01:00
cmitu 6105ee21d5 lr-mame: fix the build for 2016 repository
We removed the `python3` parameter setup in commit 2a95dd076a, but the build parameters are also used by Mame/Mess 2016.
Mame2016/Mess2016 have python2 still as default, so re-add the `PYTHON_EXECUTABLE` configuration.
2024-05-01 05:53:26 +01:00
Jools Wills d47d4c55b6
Merge pull request #3913 from cmitu/mame-update3
mame: add GCC requirements for version 0.265
2024-04-30 16:56:20 +01:00
cmitu b3fc3bed50 mame: add GCC requirements for version 0.265
Starting with version 0.265 (April 2024), GCC 10.3 is required for building MAME.
Enforce this requirement when building the emulator and libretro cores, Debian Buster will be getting 0.264 as the last version.
2024-04-30 15:45:07 +01:00
Jools Wills a0b3162926 added lr-citra core (x86 / opengl only) 2020-12-17 02:17:12 +00:00
5 changed files with 65 additions and 5 deletions

View file

@ -140,7 +140,7 @@ moto_fullname="Thomson MO/TO"
n64_exts=".z64 .n64 .v64 .zip"
n64_fullname="Nintendo 64"
nds_exts=".nds .zip"
nds_exts=".3ds .3dsx .7z .app .axf .cci .cxi .nds .zip"
nds_fullname="Nintendo DS"
neogeo_exts=".7z .chd .cue .fba .iso .zip"
@ -164,7 +164,7 @@ oric_fullname="Oric 1"
pc88_exts=".d88 .cmt .m3u .t88"
pc88_fullname="NEC PC-8801"
pc98_exts=".d88 .d98 .88d .98d .fdi .fdd .xdf .hdm .dup .2hd .tfd .hdi .thd .nhd .hdd .zip"
pc98_exts=".2hd .88d .98d .cmd .d88 .d98 .dup .fdi .fdd .hdd .hdi .hdm .nhd .thd .tfd .xdf .zip"
pc98_fullname="NEC PC-9801"
pc_exts=".bat .com .conf .cue .dosz .exe .ins .ima .img .iso .m3u .m3u8 .sh .vhd .zip"

View file

@ -18,6 +18,11 @@ rp_module_section="exp"
rp_module_flags="!mali !armv6"
function _get_branch_mame() {
# starting with 0.265, GCC 10.3 or later is required for full C++17 support
if [[ "$__gcc_version" -lt 10 ]]; then
echo "mame0264"
return
fi
download https://api.github.com/repos/mamedev/mame/releases/latest - | grep -m 1 tag_name | cut -d\" -f4
}

View file

@ -0,0 +1,48 @@
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="lr-citra"
rp_module_desc="Nintendo 3DS Emulator - libretro port of Citra"
rp_module_help="ROM Extensions: .7z .nds .zip\n\nCopy your Nintendo DS roms to $romdir/nds"
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/citra/master/license.txt"
rp_module_section="exp"
rp_module_flags="!gles !arm"
function depends_lr-citra() {
getDepends cmake
}
function sources_lr-citra() {
gitPullOrClone "$md_build" https://github.com/libretro/citra.git
}
function build_lr-citra() {
mkdir -p build
cd build
cmake -DENABLE_LIBRETRO=1 -DENABLE_SDL2=0 -DENABLE_QT=0 -DCMAKE_BUILD_TYPE="Release" -DENABLE_WEB_SERVICE=0 --target citra_libretro ..
make clean
make
md_ret_require="$md_build/build/src/citra_libretro/citra_libretro.so"
}
function install_lr-citra() {
md_ret_files=(
'build/src/citra_libretro/citra_libretro.so'
)
}
function configure_lr-citra() {
mkRomDir "nds"
ensureSystemretroconfig "nds"
addEmulator 0 "$md_id" "nds" "$md_inst/citra_libretro.so"
addSystem "nds"
}

View file

@ -13,12 +13,19 @@ rp_module_id="lr-mame"
rp_module_desc="MAME emulator - MAME (current) port for libretro"
rp_module_help="ROM Extension: .zip\n\nCopy your MAME roms to either $romdir/mame-libretro or\n$romdir/arcade"
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/mame/master/COPYING"
rp_module_repo="git https://github.com/libretro/mame.git master"
rp_module_repo="git https://github.com/libretro/mame.git master :_get_version_lr-mame"
rp_module_section="exp"
rp_module_flags=""
function _get_version_lr-mame() {
local tagname
if [[ "$__gcc_version" -lt 10 ]]; then
tagname="lrmame0264"
fi
echo "$tagname"
}
function _get_params_lr-mame() {
local params=(OSD=retro RETRO=1 NOWERROR=1 OS=linux OPTIMIZE=2 TARGETOS=linux CONFIG=libretro NO_USE_MIDI=1 NO_USE_PORTAUDIO=1 TARGET=mame)
local params=(OSD=retro RETRO=1 PYTHON_EXECUTABLE=python3 NOWERROR=1 OS=linux OPTIMIZE=2 TARGETOS=linux CONFIG=libretro NO_USE_MIDI=1 NO_USE_PORTAUDIO=1 TARGET=mame)
isPlatform "64bit" && params+=(PTR64=1)
echo "${params[@]}"
}

View file

@ -13,7 +13,7 @@ rp_module_id="lr-mess"
rp_module_desc="MESS emulator - MESS Port for libretro"
rp_module_help="see wiki for detailed explanation"
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/mame/master/COPYING"
rp_module_repo="git https://github.com/libretro/mame.git master"
rp_module_repo="git https://github.com/libretro/mame.git master :_get_version_lr-mame"
rp_module_section="exp"
rp_module_flags=""