Commit graph

962 commits

Author SHA1 Message Date
cmitu
fdc5b0d307 mupen64plus: adjust dependencies
* for the libretro core, removed a couple of packages which are not needed for the libretro core.
* for the standalone, removed `libglew` which is only used on Windows for one of the plugins and make the GLU libraries mandatory since the core doesn't build without it.
2025-03-01 06:25:51 +00:00
Jools Wills
c87f14fc06
Merge pull request #4007 from zoltanvb/ep128emu
Enable Enterprise 128 emulation via ep128emu libretro core.
2025-01-28 18:10:19 +00:00
Jools Wills
86607a2c2c
Merge pull request #4017 from cmitu/np2kai-libretro-build2
lr-np2kai: temporary fix for broken libretro core build
2025-01-10 16:04:53 +00:00
cmitu
3771e35c4b lr-np2kai: temporary fix for broken libretro core build 2025-01-06 19:10:38 +00:00
zoltanvb
5f5a879fc5 Enable Enterprise 128 emulation via ep128emu libretro core. 2024-12-14 13:45:57 +01:00
TheDiscordian
8c0204165b keep plugins, enable highscores 2024-12-14 02:29:40 -05:00
Jools Wills
5ce9284e83
Merge pull request #4002 from joolswills/lr-mupen64plus-next_arm_on_aarch64
Fix building lr-mupen64plus-next on 32bit arm RPIOS Bookworm
2024-12-08 21:07:57 +00:00
cmitu
7d5384f86e lr-flycast-dev: fix build for GLES2 systems
There's no 'gles2' flag, use 'gles' to detect GLES2 only systems and add the GLES build options (e.g. Pi3).
Added the project's README.md file to the installation.
2024-11-19 17:09:26 +00:00
Jools Wills
dd7d4098c0 lr-mupen64plus-next - fix building on rpi5 on 32bit arm bookworm
On the rpi5 on 32bit arm rpios bookworm, building failed with

    /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:18284:34: error: unknown type name ‘float16x4_t’; did you mean ‘bfloat16x4_t’?
    18284 | vfmlal_low_f16 (float32x2_t __r, float16x4_t __a, float16x4_t __b)
          |                                  ^~~~~~~~~~~
          |                                  bfloat16x4_t

Add the option -mfp16-format=ieee which fixes this.

Use an array add_clags to handle the additional CFLAGS changes and use for the linkage_arm.S workaround.
2024-11-17 23:48:14 +00:00
Jools Wills
c828c52af3 lr-mupen64plus-next - fix building on aarch64 kernel with arm userland 2024-11-17 22:48:26 +00:00
Jools Wills
f2cbaea6b7 mame/lr-mame - fix building on aarch64 kernel with 32bit arm userland
Force PLATFORM=arm on arm systems. Without this mame builds for aarch64 and sets PTR64=1 erroring out with:

    static_assert(sizeof(void *) == 8, "PTR64 flag enabled, but was compiled for 32-bit target\n");

This also fixes building of lr-mame2016
2024-11-05 19:40:42 +00:00
cmitu
191631b0d8 lr-scummvm: disable GL(ES) context creation with legacy drivers
Due to the old EGL version implemented by the old BRCM GLES drivers, the core cannot obtain a (HW) GL context to be used for accelerated video output. Disable this feature on systems using the old/legacy GLES(2) driver.
2024-09-26 04:21:06 +01:00
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
Cristi Mitrana
b4f105a836
Revert "lr-atari800: patch sound regression locally" 2024-07-26 06:57:56 +03:00
Jools Wills
afbf914565
Merge pull request #3957 from joolswills/stella_gcc_8
lr-stella - fix building on GCC v8 (on buster)
2024-07-17 01:19:00 +01:00
Jools Wills
07b2293c1a lr-stella - fix building on GCC v8 (on buster)
C++20 changes were added in 7a85faef which broke compatibility with GCC 8.

GCC 10 compatibility was removed a few commits later in a8a23f61

Fix to commit 2d57f9e0 (last building on GCC 8) on GCC < 11
2024-07-17 01:16:54 +01:00
Jools Wills
042dee393a dosbox-staging / lr-hatari - cleanup module removal
dosbox-staging - fix removal comparison (should be $md_mode not $md_id)

lr-hatari - skip iniSetting on removal
2024-07-16 23:17:09 +01:00
Jools Wills
7063373dd8 lr-mess - remove "master" branch from rp_module_repo config
Follow-up from dc2ac1fc
2024-07-15 08:34:41 +01:00
Jools Wills
b83e0dd29e
Merge pull request #3950 from joolswills/lr-stella_gcc_10
lr-stella - lock to commit fd35ce62 for GCC 10
2024-07-13 21:32:01 +01:00
Jools Wills
60a63cb87a lr-stella - lock to commit fd35ce62 for GCC 10 and lower
Newer commits require GCC 11
2024-07-13 17:12:14 +01:00
Jools Wills
dc2ac1fcee mame/lr-mame - fix building on bullseye
* MAME specifically checks for GCC 10.3 so we need to compare with the full GCC version as bullseye has 10.2.
 * lr-mame - Remove "master" branch from rp_module_repo so the _get_version tag is passed as a branch to checkout
 * lr-mame - Simplify _get_version_lr-mame as the tagname variable was only used once
2024-07-13 16:18:43 +01:00
cmitu
7ba09b4f15 lr-atari800: patch sound regression locally
A buildfix patch [1] has been commited recently, but it introduced a regression [2].
Use the patch from [3] to replace the buildfix patch, since it has no side effects, until the libretro repository patches the issue.

[1] https://github.com/libretro/libretro-atari800/pull/92
[2] https://github.com/libretro/libretro-atari800/issues/96, https://retropie.org.uk/forum/topic/35513/
[3] https://github.com/libretro/libretro-atari800/pull/95
2024-07-05 04:44:03 +01:00
cmitu
149b9d3564 doom: update Freedoom to 0.13.0
Changelog:

* General
  - Improved vanilla compatibility.
  - Boom features removed.
  - Hall of mirrors greatly reduced.
  - Visplane overflows fixed.
  - Savegame buffer overflow errors remain.

* Levels
  - New levels E1M9, E2M2, E2M3, E2M4, E2M7, E2M8, E3M5, MAP07, MAP21 and MAP27.
  - Numerous vanilla fixes and aesthetic modernizations.
  - Fixed and standardized secret exits.

* Monsters
  - New minigunner
  - The hatchling, which replaces the deadflare.
  - The matribite, which replaces the summoner.

* Music
  - Lots of new music including most of FreeDM music.

* Sounds
  - New boss brain sounds.

* Visuals
  - Colorblind-friendly keys and key indicators.
  - Various revisions to sprites and textures.
  - Improved kerning for menu text.

* Weapons
  - Improved weapon sprites generally.
  - SSG replacement restored to updated take on older version.
  - Double-barreled shotgun flash timing bug fixed in built-in DeHackEd.

* Textures
   - Esa Repo (Espi)'s old STAR* textures are now included under ESPI*.
   - A STARBR1 texture is now included as a counterpart to STARBR2.
   - Numerous additional grey and METAL2-based textures also available.
   - Boss brain wall found to have Hexen resources and was re-done.
   - Wolfenstein replacements completely redone, designed to work as seamlessly with other textures as possible. A few are also added.
2024-06-21 05:57:43 +01:00
Jools Wills
f641162111
Merge pull request #3927 from cmitu/lr-scummvm-gl
lr-scummvm: build with OpenGL(ES) context support
2024-05-31 17:51:40 +01:00
cmitu
ad1c72e460 lr-scummvm: build with OpenGL(ES) context support
Upstream has added support for using an OpenGL(ES2) context for 3D games and HW rendering. The core will request a HW GL context from RetroArch when starting.
Added the necessary parameters to the build to support the GL context for the platform where RetroArch is running.
2024-05-31 17:49:08 +01:00
Jools Wills
9e8362a98c Convert modules to using variable comparisons in flags
Replace GCC version checks in depends_* functions with variable comparisons in flags.
2024-05-21 21:20:32 +01:00
Jools Wills
28f2c8d367 Move nodistcc flag out of module sections
Errors introduced in #3902 (oops!)
2024-05-15 20:03:58 +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
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
01bd5365c3 lr-picodrive - disable distcc for module
On Raspberry PI OS Bullseye, the distcc wrapper fails at linking stage. It's not a big module so easiest, to disable distcc in this case.
2024-04-17 00:54:41 +01:00
Jools Wills
81106ea4f7 lr-snes9x - add flag nodistcc to disable distcc for module
Remove setting DISTCC_HOSTS to an empty string to disable distcc (now handled by the module flag).
2024-04-17 00:54:41 +01:00
Ryan C. Gordon
b0ceb14f12
Add lr-dirksimple setup script (#3895)
DirkSimple is a laserdisc game player that implements specific titles from scratch, so it uses an arcade game's video content but not its roms. It takes game data in Ogg Theora format, so the "rom" that the core needs is a single .ogv file per game.
2024-04-12 01:46:34 +01:00
cmitu
2a95dd076a lr-mame/lr-mess: modify build parameters
Update the build parameters so:

  - optimization level matches RetroPie's compiler options (-O2)
  - removed `PYTHON` pre-set since it's set now to `python3` by default
  - disable PortAudio, not needed since audio is handled by RetroArch
2024-03-12 18:07:07 +00:00
Jools Wills
8b2980d5d3
Merge pull request #3877 from cmitu/sdl12-compat-backend
lr-mame/mess: bump memory requirements
2024-02-27 19:00:37 +00:00
cmitu
e320cf9965 lr-mame/mess: bump memory requirements
Added a bit more swap in order to be able to finish the compilation for both cores.
2024-02-27 18:06:57 +00:00
Jools Wills
7d6c2c1dab
Merge pull request #3851 from joolswills/lr-flycast-dev_fix
lr-flycast-dev - Add missing cmake dependency
2024-01-27 16:09:37 +00:00
Jools Wills
14563ed5a6
Merge pull request #3850 from joolswills/lr-gpsp_fix
lr-gpsp - fix install and enable for non arm platforms
2024-01-27 16:09:09 +00:00
Jools Wills
03d087d091 lr-flycast-dev - Add missing cmake dependency 2024-01-27 15:04:45 +00:00
Jools Wills
2ef47ffeb8 lr-gpsp - fix install and enable for non arm platforms
Rename readme.txt to original_readme.txt and add README.md to install.
2024-01-27 14:59:53 +00:00
cmitu
12c79be89f lr-dosbox: fix building with GCC 11+
Reported upstream, but not fixed. Workaround is to force C++11 as dialect, suggested in https://github.com/libretro/dosbox-libretro/issues/137
2024-01-25 17:57:13 +00:00
Jools Wills
4870ea2aa5 lr-ppsspp - split out lr-ppsspp specific patches
This fixes binary builds not triggering due to the changes being in ppsspp.
2024-01-12 17:49:24 +00:00
cmitu
5a187f2b5a lr-ppsspp: fix libretro runtime missing symbol
Core on v1.13.2 fails to run on Pi4 with the error:

   ...
   [ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so"
   Error(s): /opt/retropie/libretrocores/lr-ppsspp/ppsspp_libretro.so: undefined symbol: hostAttemptBlockSize

This was fixed upstream with commits 1cd34f9d2bef6c92ed457c6aa85bf4d9b5111e90 and 7c5d36eca76c905a122c1, which are combined in the .diff file in this commit.
2023-11-27 18:15:14 +00:00
Jools Wills
1b77f362f2 lr-pcsx-rearmed - rework parameters to fix building on armv6
4b2392bb1d forces BUILTIN_GPU to neon for all arm platforms, as ARCH_DETECTED gets set to "arm" which is a substring of "arm64".

Workaround this in our scriptmodule by setting BUILTIN_GPU=peops on non neon arm platforms (eg. armv6).
2023-11-20 02:33:45 +00:00
cmitu
f2fcde83f4 lr-picodrive: fix building from source
Upstream changed the README filename
2023-11-12 03:17:13 +00:00
Jools Wills
b25450b545
Merge pull request #3791 from cmitu/ppsspp-update-2
ppsspp: revert to v1.13.2 for RPI and older Mesa
2023-11-06 19:49:34 +00:00
cmitu
89259575e6 ppsspp: revert to v1.13.2 for RPI and older Mesa
The 'ubershaders' introduced in v1.14 are not handled efficiently by the Mesa v3d driver, causing a performance regression [1].
Since the slowdown is not present in the Mesa version from Bullseye/Bookworm (which caused in part the version upgrade), install v1.13.2 just on Buster/RPI.

[1] https://github.com/hrydgard/ppsspp/issues/18388
2023-11-06 03:47:10 +00:00
cmitu
507a009fe0 lr-flycast-dev: add upstream libretro core
Added the libretro core from upstream flyinghead/flycast, it supercedes the current libretro/flycast repository used for the current `lr-flycast` core.
The new core doesn't work correctly with the legacy VideoCore GLES drivers [1], so it will have to co-exist with the current `lr-flycast` until we drop support for older RaspiOS versions still using the VideoCore drivers.

Due to an internal compiler error, the enw core doesn't build on Buster with the included `gcc8`, but works on `gcc9` and later, which means it can be installed on Debian 11/Ubuntu 20.04 and later.

Tested on RaspiOS _bookworm_ with `vulkan`, `glcore` and `gl` RetroArch video drivers, on a Pi4.

[1] https://github.com/flyinghead/flycast/issues/559
2023-11-04 06:21:50 +00:00
Jools Wills
258ac933dd
Merge pull request #3781 from cmitu/mame2015
bookworm: fix Mame2015/Mame2016 not building.
2023-10-25 16:48:03 +01:00
cmitu
9849fd1ab8 lr-mame2016: fix build with recent python3
Looks like some deprecation in python3.11 breaks building the Mame/Mess2016 cores due to some codegen including python scripts.
Similar to the commit for `lr-mame2016`, allows us to build on the newer Bookworm.
2023-10-24 18:21:19 +01:00
cmitu
9d2d5ab065 lr-mame2015: fix build with recent python3
Looks like some deprecation in python3.11 breaks building the Mame2015 core due to some codegen including python scripts.
Upstream has a PR proposed in https://github.com/libretro/mame2015-libretro/pull/98, but not applied, so create one locally.
2023-10-24 18:18:40 +01:00