From f56541c020036c1d0c3e03d8de2796a7768b7b8d Mon Sep 17 00:00:00 2001 From: Keith Bourdon <33245078+celerizer@users.noreply.github.com> Date: Sun, 22 Sep 2024 13:13:24 -0500 Subject: [PATCH] Add TamaLIBretro (#1842) * Update core-rules.sh * Update build-config.sh * Update cores-android * Update cores-linux-arm7neonhf * Update cores-linux-x86-generic * Update cores-windows-x86_dw2-generic * Update cores-windows-x64_seh-generic * Update libnx * Update 3ds * Update emscripten * Update cores-ios-arm64-generic * Update cores-osx-x64-generic * Update cores-linux-x64-generic * Update cores-linux-armhf-generic * Update vita * Update cores-ios9-generic * Update cores-ios-generic * Create tamalibretro_libretro.info --- build-config.sh | 1 + dist/info/tamalibretro_libretro.info | 31 +++++++++++++++++++ recipes/android/cores-android | 1 + recipes/apple/cores-ios-arm64-generic | 1 + recipes/apple/cores-ios-generic | 1 + recipes/apple/cores-ios9-generic | 1 + recipes/apple/cores-osx-x64-generic | 1 + recipes/emscripten/emscripten | 1 + recipes/linux/cores-linux-arm7neonhf | 1 + recipes/linux/cores-linux-armhf-generic | 1 + recipes/linux/cores-linux-x64-generic | 1 + recipes/linux/cores-linux-x86-generic | 1 + recipes/nintendo/3ds | 1 + recipes/nintendo/libnx | 1 + recipes/playstation/vita | 1 + recipes/windows/cores-windows-x64_seh-generic | 1 + recipes/windows/cores-windows-x86_dw2-generic | 1 + rules.d/core-rules.sh | 8 +++++ 18 files changed, 55 insertions(+) create mode 100644 dist/info/tamalibretro_libretro.info diff --git a/build-config.sh b/build-config.sh index 059d53d6..861febd3 100644 --- a/build-config.sh +++ b/build-config.sh @@ -308,6 +308,7 @@ include_core_theodore include_core_vaporspec include_core_bk include_core_sameduck +include_core_tamalibretro # ------------------------------------------------------------------------------------------------- # Devkits diff --git a/dist/info/tamalibretro_libretro.info b/dist/info/tamalibretro_libretro.info new file mode 100644 index 00000000..9be01cbc --- /dev/null +++ b/dist/info/tamalibretro_libretro.info @@ -0,0 +1,31 @@ +# Software Information +display_name = "Bandai - Tamagotchi P1 (TamaLIBretro)" +authors = "Jean-Christophe Rona, Keith Bourdon" +supported_extensions = "b|bin|rom" +corename = "TamaLIBretro" +license = "GPL-2.0" +permissions = "" +display_version = "1.0" +categories = "Emulator" + +# Hardware Information +manufacturer = "Bandai" +systemname = "Tamagotchi P1" +systemid = "tamagotchi" + +# Libretro Features +supports_no_game = "false" +savestate = "true" +cheats = "true" +input_descriptors = "true" +memory_descriptors = "true" +libretro_saves = "false" +core_options = "true" +load_subsystem = "false" +hw_render = "false" +needs_fullpath = "false" +disk_control = "false" +is_experimental = "false" + +notes = "TamaLIB Copyright (C) 2021 Jean-Christophe Rona.|TamaLIBretro by Keith Bourdon.|TamaLIB and TamaLIBretro are distributed under the GPLv2 license. +description = "A port of the TamaLIB emulator for first-generation Tamagotchi handhelds to libretro." diff --git a/recipes/android/cores-android b/recipes/android/cores-android index 3ea72288..cd571b03 100644 --- a/recipes/android/cores-android +++ b/recipes/android/cores-android @@ -103,6 +103,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC_JNI makefilelibretro ratufacoat/libretro/jni stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC_JNI Makefile jni stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC_JNI Makefile src/libretro/jni +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC_JNI Makefile jni test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC_JNI Makefile tests/test/jni tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC_JNI Makefile jni theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC_JNI Makefile jni diff --git a/recipes/apple/cores-ios-arm64-generic b/recipes/apple/cores-ios-arm64-generic index 698cf0bb..5ea6236c 100644 --- a/recipes/apple/cores-ios-arm64-generic +++ b/recipes/apple/cores-ios-arm64-generic @@ -99,6 +99,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git master YES GENERIC squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git master YES GENERIC Makefile . diff --git a/recipes/apple/cores-ios-generic b/recipes/apple/cores-ios-generic index 265963dd..4de8b830 100644 --- a/recipes/apple/cores-ios-generic +++ b/recipes/apple/cores-ios-generic @@ -98,6 +98,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git master YES GENERIC squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git master YES GENERIC Makefile . diff --git a/recipes/apple/cores-ios9-generic b/recipes/apple/cores-ios9-generic index 53a2dd71..1ce491e5 100644 --- a/recipes/apple/cores-ios9-generic +++ b/recipes/apple/cores-ios9-generic @@ -97,6 +97,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git master YES GENERIC squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git master YES GENERIC Makefile . diff --git a/recipes/apple/cores-osx-x64-generic b/recipes/apple/cores-osx-x64-generic index b0df42de..67e6bd96 100644 --- a/recipes/apple/cores-osx-x64-generic +++ b/recipes/apple/cores-osx-x64-generic @@ -115,6 +115,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git master YES GENERIC squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . thepowdertoy libretro-thepowdertoy https://github.com/libretro/ThePowderToy.git master YES CMAKE Makefile build -DCMAKE_BUILD_TYPE="Release" diff --git a/recipes/emscripten/emscripten b/recipes/emscripten/emscripten index 4852db6e..a4b3d9d4 100644 --- a/recipes/emscripten/emscripten +++ b/recipes/emscripten/emscripten @@ -69,6 +69,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git master YES GENERIC squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/recipes/linux/cores-linux-arm7neonhf b/recipes/linux/cores-linux-arm7neonhf index c78f902e..f5863335 100644 --- a/recipes/linux/cores-linux-arm7neonhf +++ b/recipes/linux/cores-linux-arm7neonhf @@ -108,6 +108,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/recipes/linux/cores-linux-armhf-generic b/recipes/linux/cores-linux-armhf-generic index b140206d..0cde70aa 100644 --- a/recipes/linux/cores-linux-armhf-generic +++ b/recipes/linux/cores-linux-armhf-generic @@ -107,6 +107,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/recipes/linux/cores-linux-x64-generic b/recipes/linux/cores-linux-x64-generic index 6b73256f..33004201 100644 --- a/recipes/linux/cores-linux-x64-generic +++ b/recipes/linux/cores-linux-x64-generic @@ -146,6 +146,7 @@ squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.g stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/os/libretro swanstation libretro-swanstation https://github.com/libretro/swanstation.git main YES CMAKE Makefile build -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBRETRO_CORE=ON +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . thepowdertoy libretro-thepowdertoy https://github.com/libretro/ThePowderToy.git master YES CMAKE Makefile build -DCMAKE_BUILD_TYPE=Release diff --git a/recipes/linux/cores-linux-x86-generic b/recipes/linux/cores-linux-x86-generic index a8ca677c..561d824f 100644 --- a/recipes/linux/cores-linux-x86-generic +++ b/recipes/linux/cores-linux-x86-generic @@ -120,6 +120,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/recipes/nintendo/3ds b/recipes/nintendo/3ds index 8454bfee..e313c8ce 100644 --- a/recipes/nintendo/3ds +++ b/recipes/nintendo/3ds @@ -66,6 +66,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master NO GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . diff --git a/recipes/nintendo/libnx b/recipes/nintendo/libnx index cf2859fd..cfbae1ab 100644 --- a/recipes/nintendo/libnx +++ b/recipes/nintendo/libnx @@ -75,6 +75,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/recipes/playstation/vita b/recipes/playstation/vita index 3c632133..4bb46cdd 100644 --- a/recipes/playstation/vita +++ b/recipes/playstation/vita @@ -69,6 +69,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master NO GENERIC Makefile src/libretro +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/recipes/windows/cores-windows-x64_seh-generic b/recipes/windows/cores-windows-x64_seh-generic index 853b8175..3f1a82a3 100644 --- a/recipes/windows/cores-windows-x64_seh-generic +++ b/recipes/windows/cores-windows-x64_seh-generic @@ -125,6 +125,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . tic80 libretro-tic80 https://github.com/nesbox/TIC-80.git master YES CMAKE Makefile build -G\"Unix Makefiles\" -DBUILD_PLAYER=OFF -DBUILD_SOKOL=OFF -DBUILD_SDL=OFF -DBUILD_DEMO_CARTS=OFF -DBUILD_LIBRETRO=ON diff --git a/recipes/windows/cores-windows-x86_dw2-generic b/recipes/windows/cores-windows-x86_dw2-generic index 1688d068..a6072a05 100644 --- a/recipes/windows/cores-windows-x86_dw2-generic +++ b/recipes/windows/cores-windows-x86_dw2-generic @@ -123,6 +123,7 @@ snes9x2010 libretro-snes9x2010 https://github.com/libretro/snes9x2010.git master stella2014 libretro-stella2014 https://github.com/libretro/stella2014-libretro.git master YES GENERIC Makefile . stella libretro-stella https://github.com/stella-emu/stella.git master YES GENERIC Makefile src/libretro squirreljme libretro-squirreljme https://github.com/XerTheSquirrel/SquirrelJME.git trunk YES GENERIC makefilelibretro ratufacoat +tamalibretro libretro-tamalibretro https://github.com/celerizer/tamalibretro.git master YES GENERIC Makefile . test libretro-samples https://github.com/libretro/libretro-samples.git master YES GENERIC Makefile tests/test tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git master YES GENERIC Makefile . theodore libretro-theodore https://github.com/Zlika/theodore.git master YES GENERIC Makefile . diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index 4481bb65..abd0e3e5 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -1519,6 +1519,14 @@ libretro_quasi88_name="QUASI88" libretro_quasi88_git_url="https://github.com/libretro/quasi88-libretro.git" libretro_quasi88_build_makefile="Makefile" +include_core_tamalibretro() { + register_module core "tamalibretro" +} +libretro_tamalibretro_name="TamaLIBretro" +libretro_tamalibretro_git_url="https://github.com/celerizer/tamalibretro.git" +libretro_tamalibretro_git_submodules="yes" +libretro_tamalibretro_build_makefile="Makefile" + include_core_ep128emu_core() { register_module core "ep128emu_core" }