games/mesen-x: Updated for version 0.9.9.3364.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Steven Voges 2023-09-02 09:40:57 +09:00 committed by Willy Sudiarto Raharjo
parent d00eb0c912
commit 1fc643a8d1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 64 additions and 13 deletions

View file

@ -9,3 +9,6 @@ Changes include:
* HD Pack improvements
* Replaced VRC7 synth code with Nuked-OPLL
* Debugger improvements, for Alchemy65
If you would like to build the libretro core, pass LIBRETRO=yes to
the SlackBuild script.

View file

@ -26,9 +26,10 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mesen-x
SRCNAM=Mesen-X
VERSION=${VERSION:-0.9.9.3363}
SRCVER=${SRCVER:-e6d75fcf58da2ccc1b89ed1d3c99f74925f2907e}
VERSION=${VERSION:-0.9.9.3364}
SRCVER=${SRCVER:-9760d07474881588051d620b3c230bcdf5be08ec}
MESENPLATFORM=${MESENPLATFORM:-x64}
LIBRETRO=${LIBRETRO:-no}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -89,14 +90,22 @@ export CFLAGS="$SLKCFLAGS"
LTO=true \
MESENPLATFORM=$MESENPLATFORM \
make
install -Dm755 bin/$MESENPLATFORM/Release/Mesen.exe $PKG/usr/bin/$SRCNAM
install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
install -Dm644 InteropDLL/obj.$MESENPLATFORM/libMesenCore.$MESENPLATFORM.dll \
$PKG/usr/lib$LIBDIRSUFFIX/libMesenCore.dll
install -Dm644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
install -Dm644 GUI.NET/Resources/MesenIconSmall.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png
install -Dm644 GUI.NET/Resources/MesenIconMedium.png $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
install -Dm644 GUI.NET/Resources/MesenIcon.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png
install -Dm755 bin/$MESENPLATFORM/Release/Mesen.exe $PKG/usr/bin/$SRCNAM
install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
install -Dm644 InteropDLL/obj.$MESENPLATFORM/libMesenCore.$MESENPLATFORM.dll \
$PKG/usr/lib$LIBDIRSUFFIX/libMesenCore.dll
install -Dm644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
install -Dm644 GUI.NET/Resources/MesenIconSmall.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png
install -Dm644 GUI.NET/Resources/MesenIconMedium.png $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
install -Dm644 GUI.NET/Resources/MesenIcon.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png
chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/libMesenCore.dll
if [ $LIBRETRO = "yes" ]; then
cd Libretro
make
install -Dm755 Libretro/mesen_libretro.so $PKG/usr/lib$LIBDIRSUFFIX/libretro/${PRGNAM}_libretro.so
install -Dm644 $CWD/${PRGNAM}_libretro.info.in $PKG/usr/lib$LIBDIRSUFFIX/libretro/info/${PRGNAM}_libretro.info
cd ..
fi
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,8 +1,8 @@
PRGNAM="mesen-x"
VERSION="0.9.9.3363"
VERSION="0.9.9.3364"
HOMEPAGE="https://www.mesen.ca"
DOWNLOAD="https://github.com/NovaSquirrel/Mesen-X/archive/e6d75fcf58da2ccc1b89ed1d3c99f74925f2907e/Mesen-X-e6d75fcf58da2ccc1b89ed1d3c99f74925f2907e.tar.gz"
MD5SUM="00800b2499c29d184e6283a430ab420a"
DOWNLOAD="https://github.com/NovaSquirrel/Mesen-X/archive/9760d07474881588051d620b3c230bcdf5be08ec/Mesen-X-9760d07474881588051d620b3c230bcdf5be08ec.tar.gz"
MD5SUM="3803c949b9eef45f4900a8d257e60fb5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mono"

View file

@ -0,0 +1,39 @@
# Software Information
display_name = "Nintendo - NES / Famicom (Mesen-X)"
authors = "M. Bibaud (aka Sour)|NovaSquirrel"
supported_extensions = "nes|fds|unf|unif"
corename = "Mesen-X"
license = "GPLv3"
permissions = ""
display_version = "0.9.9-20230711_e49165c"
categories = "Emulator"
# Hardware Information
manufacturer = "Nintendo"
systemname = "Nintendo Entertainment System"
systemid = "nes"
# Libretro Features
supports_no_game = "false"
savestate = "true"
savestate_features = "deterministic"
cheats = "true"
input_descriptors = "true"
memory_descriptors = "true"
libretro_saves = "true"
core_options = "true"
core_options_version = "1.0"
load_subsystem = "false"
hw_render = "false"
needs_fullpath = "false"
disk_control = "false"
database = "Nintendo - Nintendo Entertainment System|Nintendo - Family Computer Disk System"
# Firmware / BIOS
firmware_count = 1
firmware0_desc = "disksys.rom (Family Computer Disk System BIOS)"
firmware0_path = "disksys.rom"
firmware0_opt = "true"
notes = "(!) disksys.rom (md5): ca30b50f880eb660a320674ed365ef7a|Press Retropad R1 to switch disk side.|HD Packs go in %system%/HdPacks/%game_name%|Custom palette in %system%/MesenPalette.pal"
description = "Mesen a relatively new but highly accurate NES emulator. With great accuracy comes great resource requirements (relative to other NES emulators, at least), so this core is not a great choice for weak mobile devices or other low-power/embedded platforms. However, it is the best choice for users who seek the most accurate reproduction of the NES hardware. Mesen also supports some fun enhancements, such as HD sprite replacement packs."