diff --git a/games-emulation/mednafen_psx_hw_libretro/additional-files/mednafen_psx_hw_libretro.info.in b/games-emulation/mednafen_psx_hw_libretro/additional-files/mednafen_psx_hw_libretro.info.in index 5025f9665..cd96e13bb 100644 --- a/games-emulation/mednafen_psx_hw_libretro/additional-files/mednafen_psx_hw_libretro.info.in +++ b/games-emulation/mednafen_psx_hw_libretro/additional-files/mednafen_psx_hw_libretro.info.in @@ -1,7 +1,10 @@ +# Software Information display_name = "Sony - PlayStation (Beetle PSX HW)" authors = "Mednafen Team" supported_extensions = "cue|toc|m3u|ccd|exe|pbp|chd" corename = "Beetle PSX HW" + +# Hardware Information manufacturer = "Sony" categories = "Emulator" systemname = "PlayStation" @@ -10,7 +13,23 @@ database = "Sony - PlayStation" license = "GPLv2" permissions = "" display_version = "@DISPLAY_VERSION@" + +# Libretro Features supports_no_game = "false" +needs_fullpath = "true" +disk_control = "true" +savestate = "true" +savestate_features = "serialized" +cheats = "true" +input_descriptors = "true" +memory_descriptors = "true" +libretro_saves = "true" +core_options = "true" +load_subsystem = "false" +hw_render = "true" +required_hw_api = "OpenGL Core >= 3.3 | Vulkan >= 1.0" + +# Firmware / BIOS firmware_count = 3 firmware0_desc = "scph5500.bin (PS1 JP BIOS)" firmware0_path = "scph5500.bin" @@ -22,4 +41,5 @@ firmware2_desc = "scph5502.bin (PS1 EU BIOS)" firmware2_path = "scph5502.bin" firmware2_opt = "true" notes = "(!) scph5500.bin (md5): 8dd7d5296a650fac7319bce665a6a53c|(!) scph5501.bin (md5): 490f666e1afb15b7362b406ed1cea246|(!) scph5502.bin (md5): 32736f17079d0b2b7024407c39bd3050" + description = "A significantly modified fork of Mednafen's Playstation emulator, this core differs from the non-HW version by providing GPU-accelerated renderers for OpenGL and Vulkan. These renderers provide increased internal resolution for smooth, high-res polygons with minimal performance impact, texture filtering and other cosmetic changes. Both varieties of Beetle-PSX are more accurate than PCSX-ReARMed but also significantly slower, so they are generally a better choice for higher-specced devices that can benefit from the additional features and accuracy while maintaining full speed. The Beetle-PSX cores are also very particular about requiring BIOS images, so make sure you have the correct BIOS files available and make sure they are named exactly as the core expects." diff --git a/games-emulation/mednafen_psx_hw_libretro/mednafen_psx_hw_libretro-0.9.38.6_20201112.recipe b/games-emulation/mednafen_psx_hw_libretro/mednafen_psx_hw_libretro-0.9.44.1_20210422.recipe similarity index 84% rename from games-emulation/mednafen_psx_hw_libretro/mednafen_psx_hw_libretro-0.9.38.6_20201112.recipe rename to games-emulation/mednafen_psx_hw_libretro/mednafen_psx_hw_libretro-0.9.44.1_20210422.recipe index e235f0882..b8cca747b 100644 --- a/games-emulation/mednafen_psx_hw_libretro/mednafen_psx_hw_libretro-0.9.38.6_20201112.recipe +++ b/games-emulation/mednafen_psx_hw_libretro/mednafen_psx_hw_libretro-0.9.44.1_20210422.recipe @@ -1,5 +1,5 @@ -SUMMARY="A standalone port of Mednafen PSX HW to libretro" -DESCRIPTION="This is a port of the Mednafen PSX HW module to libretro, a Sony \ +SUMMARY="A standalone port of Mednafen PSX to libretro" +DESCRIPTION="This is a port of the Mednafen PSX module to libretro, a Sony \ PlayStation emulator. It is one of the original systems supported by Mednafen. \ This package provides the hardware rendering core. It offers a speed bump \ along with graphical acceleration and visual improvements. If you are looking \ @@ -8,9 +8,9 @@ HOMEPAGE="https://mednafen.github.io/documentation/psx.html" COPYRIGHT="2005-2020 Forgotten, the Mednafen team, the libretro team" LICENSE="GNU GPL v2" REVISION="1" -srcGitRev="dd97d81aa7754f6efe6ebdbeaba3f84418a33b9e" +srcGitRev="9589dddd67ef3725929eb6a953f27950c872ca7d" SOURCE_URI="https://github.com/libretro/beetle-psx-libretro/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="b7f3b0614990b02742c48822beaf0f850edaef4ec537d2180611861f7247eba4" +CHECKSUM_SHA256="5637a2a959f139e061570536b4813bdb192c7856a9790df9bd0fbf02b01c2750" SOURCE_FILENAME="libretro-mednafen-psx-hw-${portVersion/_/-}-$srcGitRev.tar.gz" SOURCE_DIR="beetle-psx-libretro-$srcGitRev" PATCHES="mednafen_psx_hw_libretro-$portVersion.patchset" @@ -43,7 +43,7 @@ BUILD() sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \ $portDir/additional-files/mednafen_psx_hw_libretro.info.in \ > mednafen_psx_hw_libretro.info - make $jobArgs + make LINK_STATIC_LIBCPLUSPLUS=0 $jobArgs } INSTALL() diff --git a/games-emulation/mednafen_psx_hw_libretro/patches/mednafen_psx_hw_libretro-0.9.38.6_20201112.patchset b/games-emulation/mednafen_psx_hw_libretro/patches/mednafen_psx_hw_libretro-0.9.39.2_20210422.patchset similarity index 100% rename from games-emulation/mednafen_psx_hw_libretro/patches/mednafen_psx_hw_libretro-0.9.38.6_20201112.patchset rename to games-emulation/mednafen_psx_hw_libretro/patches/mednafen_psx_hw_libretro-0.9.39.2_20210422.patchset diff --git a/games-emulation/mednafen_psx_libretro/additional-files/mednafen_psx_libretro.info.in b/games-emulation/mednafen_psx_libretro/additional-files/mednafen_psx_libretro.info.in index 266aced9a..43db87139 100644 --- a/games-emulation/mednafen_psx_libretro/additional-files/mednafen_psx_libretro.info.in +++ b/games-emulation/mednafen_psx_libretro/additional-files/mednafen_psx_libretro.info.in @@ -1,7 +1,10 @@ +# Software Information display_name = "Sony - PlayStation (Beetle PSX)" authors = "Mednafen Team" supported_extensions = "cue|toc|m3u|ccd|exe|pbp|chd" corename = "Beetle PSX" + +# Hardware Information manufacturer = "Sony" categories = "Emulator" systemname = "PlayStation" @@ -10,7 +13,23 @@ database = "Sony - PlayStation" license = "GPLv2" permissions = "" display_version = "@DISPLAY_VERSION@" + +# Libretro Features supports_no_game = "false" +hw_render = "false" +needs_fullpath = "true" +disk_control = "true" +savestate = "true" +savestate_features = "serialized" +cheats = "true" +input_descriptors = "true" +memory_descriptors = "true" +libretro_saves = "true" +core_options = "true" +load_subsystem = "false" +hw_render = "false" + +# Firmware / BIOS firmware_count = 3 firmware0_desc = "scph5500.bin (PS1 JP BIOS)" firmware0_path = "scph5500.bin" @@ -22,4 +41,5 @@ firmware2_desc = "scph5502.bin (PS1 EU BIOS)" firmware2_path = "scph5502.bin" firmware2_opt = "true" notes = "(!) scph5500.bin (md5): 8dd7d5296a650fac7319bce665a6a53c|(!) scph5501.bin (md5): 490f666e1afb15b7362b406ed1cea246|(!) scph5502.bin (md5): 32736f17079d0b2b7024407c39bd3050" + description = "A significantly modified fork of Mednafen's Playstation emulator, this core differs from the -HW version by focusing on software rendering (i.e., instead of hardware-accelerated rendering). The software renderer is more accurate than the OpenGL and Vulkan renderers used in the -HW core, but it lacks some of the cosmetic options and performs any internal resolution increases on the CPU instead of the GPU, which is very demanding (devices with fast CPUs may reach 2x scale but nothing can maintain full speed at 4x at the time of this writing). Both varieties of Beetle-PSX are more accurate than PCSX-ReARMed but also significantly slower, so they are generally a better choice for higher-specced devices that can benefit from the additional features and accuracy while maintaining full speed. The Beetle-PSX cores are also very particular about requiring BIOS images, so make sure you have the correct BIOS files available and make sure they are named exactly as the core expects." diff --git a/games-emulation/mednafen_psx_libretro/mednafen_psx_libretro-0.9.39.2_20201112.recipe b/games-emulation/mednafen_psx_libretro/mednafen_psx_libretro-0.9.44.1_20210422.recipe similarity index 90% rename from games-emulation/mednafen_psx_libretro/mednafen_psx_libretro-0.9.39.2_20201112.recipe rename to games-emulation/mednafen_psx_libretro/mednafen_psx_libretro-0.9.44.1_20210422.recipe index 1b1e6166e..ebef3e029 100644 --- a/games-emulation/mednafen_psx_libretro/mednafen_psx_libretro-0.9.39.2_20201112.recipe +++ b/games-emulation/mednafen_psx_libretro/mednafen_psx_libretro-0.9.44.1_20210422.recipe @@ -8,9 +8,9 @@ HOMEPAGE="https://mednafen.github.io/documentation/psx.html" COPYRIGHT="2005-2020 Forgotten, the Mednafen team, the libretro team" LICENSE="GNU GPL v2" REVISION="1" -srcGitRev="dd97d81aa7754f6efe6ebdbeaba3f84418a33b9e" +srcGitRev="9589dddd67ef3725929eb6a953f27950c872ca7d" SOURCE_URI="https://github.com/libretro/beetle-psx-libretro/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="b7f3b0614990b02742c48822beaf0f850edaef4ec537d2180611861f7247eba4" +CHECKSUM_SHA256="5637a2a959f139e061570536b4813bdb192c7856a9790df9bd0fbf02b01c2750" SOURCE_FILENAME="libretro-mednafen-psx-${portVersion/_/-}-$srcGitRev.tar.gz" SOURCE_DIR="beetle-psx-libretro-$srcGitRev" ADDITIONAL_FILES="mednafen_psx_libretro.info.in" @@ -40,7 +40,7 @@ BUILD() sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \ $portDir/additional-files/mednafen_psx_libretro.info.in \ > mednafen_psx_libretro.info - make $jobArgs + make LINK_STATIC_LIBCPLUSPLUS=0 $jobArgs } INSTALL()