Commit graph

1764 commits

Author SHA1 Message Date
Jools Wills
803711a07a
Merge pull request #3251 from cmitu/lr-mame-build-update
lr-mame, mame: use python3 to build recent mame versions
2020-11-02 04:24:00 +00:00
Jools Wills
16459a773c retroarch - fix saving configuration when config keys exists in an include - #3249
If we have a custom config with

 #include "/opt/retropie/configs/all/retroarch.cfg"

Changing an option that is set in the config above in RGUI and using "Save current configuration" from RGUI will not save that option.
No options that exist in the include will be saved.

This is a revert of upstream change https://github.com/libretro/RetroArch/pull/10524/commits/9eb84728
2020-11-02 00:41:31 +00:00
cmitu
44f00eb393 lr-mame,mame: use python3 to build recent mame versions
The change impacts `lr-mame`,`lr-mess`,`lr-mame2016`,`lr-mess2016` and `mame`.
It should fix building on new Ubuntu 20.04+ installations, which don't have a default `python` executable.
Since `python3` is automatically needed by the installation (via `python3-pyudev` for `joy2key`), no explicit dependency for `python3` was added.
2020-11-01 11:13:26 +02:00
Jools Wills
82cabcdefa residualvm - fix building on opengles by disabling wintermute engine
* adjust logic - this module will be dropped in the future as residualvm has been merged back into scummvm
2020-10-19 22:17:14 +01:00
Jools Wills
102e25a809 ppsspp - fix building on odroid-xu on Ubuntu 18.04
remove CFLAGS/CXXFLAGS default of -DGL_GLEXT_PROTOTYPES as it causes GL header conflicts with ppsspp own headers
2020-10-17 02:45:35 +01:00
Jools Wills
c7615bfafb vice - added libsdl2-image-dev dependency 2020-10-15 22:08:34 +01:00
cmitu
949c8ac72a openmsx: add joystick auto-conf and default settings
* added a joystick auto-configuration for Emulationstation. Joypad mappings:
  * A: MSX controller A; OSD menu : Back
  * B: MSX controller B; OSD menu : Action
  * D-Pad/Left Analog: MSX controller joystick
  * Start - toggle the openMSX OSD menu
  * Select - Show on-screen keyboard
  * Y - MSX F1
  * X - MSX F2
  * Left Trigger - MSX F3
  * Right Trigger - MSX F4

  The joystick's A/B/D-Pad are functional in the openMSX menu, however B is action and A is cancel/back for some reason.

  The joystick is loaded using the `retropie-init.tcl` script, automatically loaded and executed during startup. Per-game overrides are possible, as long as the correct configuration script for a gamepad is found (needs some documentation).

* created a minimal configuration, with some performance optimization for Pi0/Pi1 and configuring a default machine.
  Auto-saving is disabled, because it will save the joystick configuration and it might pose problems when using different joysticks.

* symlinked the configuration folder into `$configdir/msx/openmsx`.
  This is useful for adding new machines/configurations and editing the gamepad auto-configurations.

* symlinked the user's _systemroms_ folder to `$biosdir/openmsx`.
  openMSX uses file hashes to identify firmware files, so the filenames/folder structure is not important.

* added one emulator variation for each major MSX model (MSX2/MSX2+/MSX TurboR)
  They need the appropriate BIOS/firmware files, otherwise they won't run.
  NOTE: there are variations of machines using the open source C-BIOS for each major model, but C-BIOS only supports cartridges, so no tape/disk/floppy images will work.
2020-10-08 18:21:17 +01:00
cmitu
b659cb8474 scummvm: bump version to 2.2.0
For the SDL2 version, the patch to `configure` is no longer needed,
scalers are no longer disabled on Raspberry systems (removed upstream in e9d20eec4b3 and 6fb2d69bc56).

For the SDL1 version, patches have been re-based.

Upstream includes always the `keymapper` backend, removed the `configure` option for it.
2020-09-28 03:54:40 +01:00
Cristi Mitrana
b6bb01b2cc
Merge pull request #3229 from cmitu/mame-python3
mame: use python3 to build, when available
2020-09-19 07:30:39 +03:00
cmitu
3766cf1dec mame: use python3 to build, when available
Should fix the situation when there is not default 'python', but python3
is installed, like default installation of Ubuntu 20.04 LTS.
2020-09-19 05:15:02 +01:00
cmitu
f7cf044831 xroar: add a workaround for the crash on VC platforms
The changes in 25d6710f9275e49 lead to a crash when the emulator starts in fullscreen,
when using the RPI driver in SDL2. Looks like repeated calls to create/destroy the SDL renderer,
when resizing the window, lead to a VC driver error:

     failed to add service - already in use?

The RPI driver already starts the window in fullscreen, so there's no visible difference without the paramter removed.
2020-09-18 03:44:35 +01:00
cmitu
c4100f51c7 openmsx: enable for mali, since it uses SDL2 now 2020-09-14 19:16:16 +01:00
Jools Wills
91e6997203
Merge pull request #3121 from cmitu/drastic-pi4
drastic: workaround faulty input handling in a KMS context
2020-09-13 05:03:28 +01:00
Jools Wills
53a1a6cca0 vice - re-enable fastsid
* useful for lower end systems as resid is cpu intensive, even on the RPI2)
 * before it was enabled by default, but now needs to be enabled manually via configure
2020-09-08 00:06:24 +01:00
Jools Wills
1b194f7165 simcoupe - fix building on Stretch by using an older tag if cmake version is too old
Older versions actually throw an error regarding CXX17 dialect support but seems to build fine. If needed
we can roll back further, but we will need to stop support for Stretch and Ubuntu 18.04 soon due to the work
required to maintain modules for older toolchains.
2020-08-25 22:41:57 +01:00
Jools Wills
12c30dde7d dosbox - default to dispmanx on rpi4/kms and remove previous overlay / fullscreen config 2020-08-22 05:16:34 +01:00
cmitu
87a601542b ti99sim: use an older version to fix installation with older gcc,
Latest version (0.16) needs `gcc` 8 for C++20 features (`--std=c++2a`). This breaks the module for systems with older `gcc` (ex. Debian Stretch).
Added a new scriptmodule based on the previous version (0.15), which used SDL1 instead of SDL2, and keep the module flags from before a50179093.
Added a check for the `gcc` version in the SDL2 scriptmodule.
2020-08-17 18:53:08 +00:00
Jools Wills
7499ca7a47 amiberry - adjust amiberry launch script for argument changes - fixes #3209
* use "--config " instead of "-config=" and "--autoload "
 * may adjust this further and split out amiberry launch to its own code rather than sharing the uae4arm launch code
2020-08-08 22:28:52 +01:00
Jools Wills
ca32411399
Merge pull request #3207 from cmitu/sdl2trs
sdltrs: switch to an active fork, build with SDL2
2020-08-06 05:05:53 +01:00
cmitu
60f22a5c1c sdltrs: switch to the SDL2 version, enable for KMS
Switched SDLTRS to be built from https://gitlab.com/jengun/sdltrs, which is an active fork of the original SDLTRS emulator.

* use the SDL2 branch, which should be more portable (KMS/Odroid/etc.)
* create a minimum configuration for $HOME/.sdltrs.t8c
* although not explicitely specified, the main license seems to be BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause)
* simplify a bit the emulator starting commands
2020-08-06 04:42:08 +01:00
Jools Wills
e3cd002b74 mame - binary name is "mame" on aarch64 2020-07-30 04:28:30 +01:00
Jools Wills
009aa226c6 np2pi - adjust flags for rpi only excluding aarch64 2020-07-30 04:28:30 +01:00
Jools Wills
c7fc7ea5c9 ppsspp / lr-ppsspp - fix building on aarch64
* ppsspp includes ffmpeg from aarch64 folder, not arm64
 * enable lr-ppsspp for aarch64
2020-07-30 04:28:30 +01:00
Jools Wills
e0a1df95d2 scummvm - fix building on rpi/aarch64
* also replace vero4k check for gles configure parameter with more generic gles check
2020-07-30 04:28:30 +01:00
Jools Wills
cb6fd3bca9 reicast - fix building on rpi4/aarch64 2020-07-30 04:28:30 +01:00
Jools Wills
ee92968efe jzintv - remove references to sys/io.h on aarch64
* header doesn't exist on this arcg and isn't needed
2020-07-30 04:28:30 +01:00
Jools Wills
85ce62b3e5 daphne - force configure --build to satisfy old configure code that doesn't recognise aarch64 2020-07-30 04:28:30 +01:00
Jools Wills
9e3d011bd2 basilisk - force configure --build to satisfy old configure code that doesn't recognise aarch64 2020-07-30 04:28:30 +01:00
Jools Wills
4da99cd1e1 mupen64plus - rework logic including rpi aarch64 support and merging vero4k/mali
There has been a lot of contributions to this module, and unfortunately some of the logic has become rather obfuscated,
with a lot of duplication. This is a combination of an earlier changeset I had, but adding aarch64 needed enough logic
changes, it made sense to include it all. There are more improvements needed, but this de-duplicates some of the logic.
Vero4k may need a revisit.

Changes include:
 * temporarily disable rice and gles2n64 for aarch64 due to build errors (just HOST checking errors so may well be easily fixed)
 * remove a lot of vero4k specific blocks in favour of the mali flag
 * enable mali for module (builds ok on odroid xu)
2020-07-30 04:28:30 +01:00
Jools Wills
3456036c17 gpsp / lr-gpsp - use gcc-6 to workaround segfault with gcc-8 on buster
lr-gpsp:

cpu_threaded.c built with -O2 on gcc 8 produces a non working binary. This source already had
a different optimisation level from the rest of the code (O2 vs O3). However, on gcc-8 it causes
a non working binary when built with anything other than O0, but this could have some performance
issues (would need testing on a rpi1).

I compared all the different optimisation flags enabled by O1 and also with any changes from gcc-6,
but not all GCC optimisations are controllable from flags. It was not possible to produce a working
binary with O1 - even disabling all the configurable optimisations enabled by O1.

The issue is most likely undefined behaviour in this file (which has a lot of large macros), and it
probably needs some fixes. However it could be a bug in the gcc-8 optimiser code.

As the issue isn't present with gcc-6, and as gcc-6 is available on Debian buster, the easiest
workaround is to just force the code to be build with gcc-6.

Also adjusted the makefile to pass parameters for the make clean, as some platform specific objects
are not removed otherwise.

gpsp:

Forced gcc-6 as with lr-gpsp.

Simplified the module flags to just include videocore platforms.
2020-07-21 05:01:51 +01:00
Jools Wills
68a2a2b1c5
Merge pull request #3133 from joolswills/reicast_python3
reicast - use python3 for reicast-joyconfig
2020-07-17 04:35:16 +01:00
Jools Wills
1d1d41520b removed xz-utils dependencies from modules as it's installed by default
* required by build-essentials -> dpkg-dev -> xz-utils
2020-07-14 06:08:48 +01:00
Jools Wills
d2827ec4e8 ti99sim - fix typo in sdl2-dev dependency 2020-07-14 05:34:10 +01:00
Jools Wills
a501790931
Merge pull request #3197 from cmitu/ti99-1
ti99sim: update to version 0.16.0, switch to SDL2
2020-07-14 05:31:49 +01:00
cmitu
f6284bc0a0 ti99sim: update to version 0.16.0, switch to SDL2
Update the emulator to the latest version, which is now using SDL2, so `dispmanx` is no longer required.

Modified the installation to include some utilities (might be useful for disc/cartridge manipulation) and to include the docs and license.
2020-07-14 05:24:28 +01:00
Jools Wills
fe650f4147 vice - added dos2unix to dependencies 2020-07-10 18:26:34 +01:00
Jools Wills
4f425aa40d xroar - enable for mali (emulator switched to sdl2 previously, so is supported) 2020-07-08 07:09:29 +01:00
Jools Wills
5e5e377c6f xroar - update to v0.36 and add texinfo dependency (for makeinfo) 2020-07-08 07:08:14 +01:00
Jools Wills
97b19e7fd1 vice - fix build by disabling pdf documentation generation
Current vice was failing in configure stage checking for pdf generation dependencies,
despite texinfo being installed. As we don't need pdf documentation, disabling is a quick fix.
Also removed texinfo dependency as it's not needed with this disabled.
2020-07-08 06:23:19 +01:00
Jools Wills
ea682b69d0
Merge pull request #3191 from joolswills/hatari
hatari - switch to git repository (v2.2.1) and symlink bios (tos.img)
2020-07-06 03:49:13 +01:00
Jools Wills
6eb307856c hatari / lr-hatari / platforms.cfg - added .zip extension - fixes #3113 2020-07-06 02:48:24 +01:00
Jools Wills
2c17061d68 amiberry - hostprefs is no longer used (integrated into main amiberry.conf) 2020-07-06 01:55:19 +01:00
Jools Wills
1718e4c482 hatari - switch to git repository (v2.2.1) and symlink bios (tos.img)
* update module help to include bios information
2020-07-06 01:19:57 +01:00
Jools Wills
1e8336c668 fs-uae - adjust logic to work on any supported Ubuntu based OS (eg LinuxMint) 2020-07-03 05:21:45 +01:00
Jools Wills
ed5403d646 stratagus - switch to v2.4.3 as newer versions require sdl2 and need testing 2020-07-01 06:32:27 +01:00
cmitu
b5f675a0de advmame: fix iniSet typo during conf generation 2020-07-01 03:53:29 +01:00
Jools Wills
64e72dbd99 fs-uae - added support for Debian 10, and handle signing key adding/removing 2020-06-22 04:15:38 +01:00
Jools Wills
4ebd9b4162
Merge pull request #2697 from GeorgeMcMullen/mamedev-mame
MAMEdev MAME installation script
2020-06-19 22:50:08 +01:00
Jools Wills
65bffe55cf
Merge pull request #3155 from cmitu/retroarch_1.8.7_patches
retroarch: version 1.8.8 update
2020-06-03 21:26:59 +01:00
cmitu
8a045a1705 retroarch: version 1.8.8 update
Rebased RetroPie patched for 1.8.8 and added - for now - the option to keep the global core options in a single file.
2020-05-27 21:28:10 +01:00