Commit graph

8017 commits

Author SHA1 Message Date
Jools Wills
8d261578db
Merge pull request #3742 from cmitu/audio-save
audiosettings: ensure ALSA configuration folder exists
2023-08-15 17:19:22 +01:00
cmitu
a9024142af audiosettings: ensure ALSA configuration folder exists
On RaspiOS (10/11), the ALSA configurations folder doesn't exist, so make sure we're creating it before saving/moving the ALSA configuration file we generate with the scriptmodule.
2023-08-15 17:17:44 +01:00
Jools Wills
722ae84d2b
Merge pull request #3739 from joolswills/image_bullseye
Image creation changes for bullseye
2023-08-15 17:13:27 +01:00
Jools Wills
522aeea4ab image - use bootfs for boot partition name 2023-08-15 17:09:33 +01:00
Jools Wills
d82f9a1ffa image - use "dmsetup remove" to remove device mapper files
kpartx doesn't seem to reliably remove the loopback device mapper files it creates.
2023-08-08 19:09:58 +01:00
Jools Wills
f5ad10136b image - rework logic to use ini configuration for distributions
New function _get_info_image reads values from the distribution ini configuration files stored in image/dists

This simplifies the code and avoids having logic for different versions in multiple functions.

The ini format is as follows - it may change and be extended in the future.
The filename is the dist name that is passed into the building functions.
The current images now have a prefix "rpios-"

 * name: name of distro - eg buster
 * version: rpios/debian version
 * url: url for image file
 * format: format of the image file - currently supported is zip and xz (used by raspberrypi.org)
 * platforms: list of the platforms supported (eg. rpi1 rpi2 rpi3 rpi4)
 * file_PLATFORM (name to be used in the image file for each platform)

 * title_PLATFORM (user friendly name of file for each platform - used for rpi imager json)
2023-08-08 19:09:58 +01:00
Jools Wills
b15685b609 image - build additional rpi3 images for bullseye
For bullseye we have separate binaries for the rpi3.

Adjust image naming accordingly.
2023-08-08 19:09:42 +01:00
Jools Wills
2a10ecc42d image - disable 64bit kernel 2023-08-05 19:43:59 +01:00
Jools Wills
1b0adad8a9 image - set password and disable userconfig in chroot
Set the "pi" password in the chroot install script rather than via userconfig.txt.

Disable the Raspberry Pi OS userconfig service for now. This stops the code to rename user after partition resize.
This would also disable autologin (with a var/lib/userconf-pi/autologin) file, but since our set-up doesn't currently
work with renaming the user RetroPie was installed for due to some hardcoded paths on install, it's safer to bypass this functionality.

Enable getty@tty1.

Note: Have tested with RPI-Imager, which when using a local image, checks it and thinks it can be configured.
This also resolves this case where it would allow a username change.

In the future we may be able to change the few config paths that are hardcoded to allow configuration of the user via RPI-imager.
2023-07-30 20:58:48 +01:00
Jools Wills
425807c10c image - use the mke2fs config from the chroot for ext4 filesystem
This ensures the filesystem is created with supported features if images are created on a system with a newer mkfs.ext4.

Remove metadata_csum disabling as it's no longer needed with above changes (and was added for compatibility with Jessie).

Disable 64bit ext4 feature as with the Raspberry Pi OS images.
2023-07-30 20:58:00 +01:00
Jools Wills
4e48d65e8a image - use fat32 for boot partition and remove unneeded boot flag 2023-07-30 20:58:00 +01:00
Jools Wills
01b5697709 image - only set gpu_mem on buster for rpi1-3 2023-07-30 20:58:00 +01:00
Jools Wills
fc7eb75d7b image - add distribution parameter to install_rp
The parameter ordering has changed - install_rp takes the parameters platform, dist, and chroot.
If platform and dist are not included an error is shown. chroot location defaults to "$md_build/chroot".

Move the default username/password setting for bullseye to the install_rp function.
2023-07-30 20:58:00 +01:00
Jools Wills
4a8597c390
Merge pull request #3687 from cmitu/rpios-user-default
image: pre-set the default user on RPI OS (11)
2023-07-25 18:48:50 +01:00
Jools Wills
5fceb82eae
Merge pull request #3734 from cmitu/scraper-fix-dep2
golang: upgrade to a newer version
2023-07-24 17:37:48 +01:00
cmitu
66788ffc16 golang: upgrade to a newer version
Fixes compilation for 'google.golang.org/protobuf', which needs 'math/bits', available in go 1.9 and later.
2023-07-24 16:49:05 +01:00
Jools Wills
07847752b0
Merge pull request #3733 from s1eve-mcdichae1/exclude_thumbnails
configedit - exclude 'thumbnails' directory in manual edit
2023-07-23 09:15:08 +01:00
s1eve-mcdichae1
7e584dbc2b configedit - exclude 'thumbnails' directory in manual edit
Can contain many thousands of '.png' images, if cheevos have been enabled.
2023-07-22 21:09:12 -07:00
Dwayne Hurst
44542b175e
Update esthemes.sh with new theme (#3732)
added a new theme called 'Sheeny'
2023-07-18 08:13:15 +03:00
Jools Wills
86f65883db
Merge pull request #3728 from cmitu/trixie
system: bump Debian sid version, since 'bookworm'/12 is the new stable version
2023-07-06 09:00:16 +01:00
cmitu
e87f06f4e1 system: bump Debian sid version, since 'bookworm'/12 is the new stable version 2023-07-06 04:38:01 +01:00
Jools Wills
1e726a1750
Merge pull request #3419 from cmitu/audio-ks
audiosettings: support the ARM-side HDMI driver
2023-06-19 19:44:02 +01:00
Jools Wills
e6392b8209 audiosettings - use /etc/alsa/conf.d for retropie alsa configs
Move resetting alsa to function to avoid duplication.

Add dialog when migrating ~/.asoundrc to the new location.
If ~/.asoundrc exists and there is no config in /etc/alsa/conf.d/99-retropie.conf then offer to move the file.

Asking the user is safer as we don't want to migrate a users own custom ALSA configuration.
2023-06-19 19:41:41 +01:00
Jools Wills
9ec6b53eae
Merge pull request #3724 from cmitu/amiberry-5.6.1
amiberry: update to 5.6.1
2023-06-14 07:45:44 +01:00
cmitu
042ae93ce9 amiberry: update to 5.6.1
Among others, fixes some input issues, one of them reported in the forums, and a Vero4k black screen during emulation.
Full changelog at https://github.com/BlitterStudio/amiberry/releases/tag/v5.6.1

Bugfixes:

- Hardfile properties were always set to default (fixes #1077)
- cycle exact was incorrect enabled sometimes (fixes #1075)
- Fix foreign disk image support when drive is standard Amiga 3.5" DD
- hsync events should be before misc events
- fixed uaegfx board parameters
- uaegfx board name is UAE, not uaegfx.card
- Fix helptext formatting in CPU panel (fixes #1088)
- use double-quotes to denote inches in GUI
- when using --autoload with a filename in the current path, Amiberry would crash (fixes #1091)
- fix build errors with GCC 13.1 (fixes #1100)
- savestate cmd line option would not use filename (fixes #1081)
- second controller buttons would not be registered in retroarch (fixes #1092)
- Fullscreen toggle would no longer work since v5.3 (fixes #1103)
- reverted copying of prefs on hard reset (fixes #1068)

Improvements:

- VGA mode resolution autoswitch update
- VGA autoswitch update to support new OS 3.2 monitors
- Upgraded FloppyDriveBridge to v1.4
- improve message when Main ROM is not found (fixes #1095)
- improve Floppy GUI panel (fixes #1094)
- use BGR888 for 32-bit modes (fixes #1080)
2023-06-14 04:51:30 +01:00
Jools Wills
c16c972307
Merge pull request #3722 from obrie/fix/es-inputaction-replacement
emulationstation: Fix all onfinish input action commands being overwritten during configuration
2023-06-06 17:00:59 +01:00
Aaron Pfeifer
6aa579a959 emulationstation.sh: Fix all commands for the onfinish input action in es_input.cfg being overwritten during configuration 2023-06-04 09:50:30 -04:00
Jools Wills
0bcf01d469
Merge pull request #3720 from joolswills/ags_dependencies
ags - add missing libsdl2-dev and cmake dependencies
2023-05-21 23:52:27 +01:00
Jools Wills
7889395d8c ags - add missing libsdl2-dev and cmake dependencies
These are required since #3680
2023-05-21 23:51:14 +01:00
Jools Wills
4a69e21456
Merge pull request #3719 from cmitu/dolphin-build-3
dolphin: fix build when qt6 is not availble
2023-05-16 06:42:10 +01:00
cmitu
1f6b8fd3e8 dolphin: fix build when qt6 is not availble
Recently [1], Dolphin dropped support for Qt5.
For systems where Qt6 is not available (Debian 11 _bullseye_), use a commit from before the change to prevent the build from failing.

[1] https://github.com/dolphin-emu/dolphin/pull/11775
2023-05-16 04:33:44 +01:00
Jools Wills
8616b1c72b
Merge pull request #3716 from cmitu/platform-1
system: add support for the Rockchip 3588 platform
2023-05-12 19:23:16 +01:00
Jools Wills
4a5ae38770
Merge pull request #3718 from cmitu/lr-x1-switch
lr-x1: switch to the libretro repository
2023-05-09 17:48:40 +01:00
cmitu
525c8905ad lr-x1: switch to the libretro repository
Changed the source repository to the libretro fork of the core, since it gets a bit of maintenance than the original repo ('r-type/xmil-libretro') and I noticed a few more core options have been added over the time. The original core repository hasn't been updated since 2017.

Added the licence from the libretro fork.
2023-05-09 16:34:59 +01:00
cmitu
8fa316ed9b system: add support for the Rockchip 3588 platform
Added basic support for detecting and building on the Rockchip 3588(s) SOC.
The SOC is used in several ARM based SBC including Radxa Rock 5(A/B), Orange Pi 5(B), Khadas Edge 2.
The CPU is an octocore package with 4x Cortex-A76 + 4x Cortex-A55 cores.

There are several distributions that support these systems, vendor provided images including a proprietary Mali blob with OpenGLES 3.2/OpenCL support or community provided images using either a Mesa fork for GLES/X11/Wayland support. For now, the platform has an `x11` flag to allow most of the emulators to be installed, but we might switch to dynamically detecting the desktop platform (i.e. `wayland` / `x11` depending on the system).
2023-05-07 18:00:29 +01:00
Jools Wills
c28ddb7e73
Merge pull request #3715 from joolswills/lr-scummvm_branch_name
lr-scummvm - fix building due to upstream changes
2023-05-05 18:26:40 +01:00
Jools Wills
68f09726a2 lr-scummvm - fix building due to upstream changes
libretro build files are now included in the upstream scummvm repository, and the libretro repo is a fork of that.

The `main` branch is now `master` and the libretro makefiles have moved to backends/platform/libretro.

Update the module licence path and install file paths.

fix
2023-05-05 18:25:11 +01:00
Jools Wills
e5c1093586
Merge pull request #3714 from joolswills/alephone_depends
alephone - add required libsndfile1-dev dependency
2023-05-04 22:47:47 +01:00
Jools Wills
31b614c530 alephone - add required libsndfile1-dev dependency 2023-05-04 22:24:13 +01:00
Jools Wills
c4ed830a4a
Merge pull request #3680 from Gemba/fb_ags_v360_prep_scriptmodule
Updates for next AGS release (v3.6.0)
2023-05-04 21:33:03 +01:00
Jools Wills
5ee39f919f
Merge pull request #3713 from cmitu/runcommand-subst
runcommand: fix ROM substitution with `bash` 5.2
2023-05-04 19:29:12 +01:00
cmitu
21cea36336 runcommand: fix ROM substitution with bash 5.2
`bash` 5.2 introduced a new option (`patsub_replacement`) which affects how `%ROM%` is replaced in the command line:

From https://tiswww.case.edu/php/chet/bash/NEWS:
> x. New shell option: patsub_replacement. When enabled, a `&' in the replacement
>   string of the pattern substitution expansion is replaced by the portion of
>   the string that matched the pattern. Backslash will escape the `&' and
>   insert a literal `&'.

This breaks the substitution of `%ROM%` when the replacement string (ROM name) contains `&`.

1. with `bash` version 5.1

   $ COMMAND="run %ROM%" && COMMAND=${COMMAND//%ROM%/a & b.rom} && echo $COMMAND
   run a & b.rom

2. with `bash` version 5.2

   $ COMMAND="run %ROM%" && COMMAND=${COMMAND//%ROM%/a & b.rom} && echo $COMMAND
   run a %ROM% b.rom

3. with `bash` version 5.2, option disabled
   $ shopt -u patsub_replacement
   $ COMMAND="run %ROM%" && COMMAND=${COMMAND//%ROM%/a & b.rom} && echo $COMMAND
   run a & b.rom

Disable this option in `runcommand` for now so users won't be affected by it when using Ubuntu 22.10+/Debian 12 (bookworm)
2023-05-04 19:18:07 +01:00
Dávid Szakállas
fd33a0ce2c
ioquake3: fix install target detection for aarch64 (#3712) 2023-04-29 17:59:36 +03:00
Jools Wills
931bb0ae22
Merge pull request #3709 from cmitu/es-build-gl2
emulationstation: use OpenGL2 for RPI+Mesa platform
2023-04-23 12:48:39 +01:00
cmitu
02bed52ff0 emulationstation: use OpenGL2 for RPI+Mesa platform
The last runtime detection changes for the build instructions enable the GL21 renderer only on non-RPI platforms.
The V3D Mesa driver supports OpenGL 2.1, so enable the GL21 renderer when it's used on a Raspberry Pi.

Without this change, the build will use the GL1.4 renderer.
2023-04-23 07:29:02 +01:00
Jools Wills
c9d94d9c32
Merge pull request #3708 from cmitu/cgenius-updates4
cgenius: update to v3.3.0
2023-04-22 09:39:31 +01:00
Jools Wills
bb2fb0688e
Merge pull request #3703 from cmitu/openmsx-update-3
openmsx: bump version to 18.0 and update input config
2023-04-22 09:38:59 +01:00
cmitu
c5165872e3 cgenius: update to v3.3.0
Changes in v3.3.0, from v3.2.0:

- Added Support for Keen 1 version 1.34
- Added Support for Keen 6 version 1.50
2023-04-22 09:34:50 +01:00
Cristi Mitrana
b4851ca194
Revert "lr-caprice32: work around an upstream cloning issue" (#3707) 2023-04-21 15:27:26 +03:00
s1eve-mcdichae1
693dbfd02e
skyscraper - prevent hall-of-mirrors effect (#3704)
patch config.ini: don't cache already-processed screenshots from local source 'esgamelist'
2023-04-18 09:04:58 +03:00