Commit graph

1904 commits

Author SHA1 Message Date
khwerz
e0c3291c7e runcommand.sh: get_all_x11_modes speedup.
Translate bash logic to one awk call.
 Will only show first output found.
2020-11-19 22:18:52 -04:00
cmitu
575d09868f xpadneo: pin version until upstream decides how to handle versioning. 2020-11-12 15:35:57 +00:00
Jools Wills
c70801758a runcommand - cosmetic / fix bad indentation 2020-11-04 04:57:14 +00:00
Jools Wills
6f5e6c412e emulationstation - force building for GLESv1 on RPI with legacy drivers
simplify logic and change comment regarding RPI/KMS - emulationstation has a GLESv2 renderer
now but it needs further testing before switching to it.
2020-11-03 20:12:00 +00:00
Cristi Mitrana
c5ca9b9378
Merge pull request #3247 from Nomarian/master
runcommand.sh: Fixes x11 multiple output/display error
2020-11-03 21:54:52 +02:00
Super Retropie
af4fb20864
esthemes - added theme gold-standard (#3243) 2020-10-31 21:12:11 +00:00
khwerz
96ff6173c6 runcommand.sh: Fixes x11 multiple output/display error 2020-10-29 22:29:54 -04:00
Alfonso Carvallo
ffcf32db0f Update esthemes.sh 2020-10-23 00:57:49 -03: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
Jools Wills
8f5b956ed3 sdl1 - fix upstream orig.tar.xz source name on stretch 2020-09-28 04:49:35 +01:00
Jools Wills
6682e80401
Merge pull request #3220 from joolswills/signed_bins
system / packages - added signing of binary packages
2020-09-25 03:18:48 +01:00
Jools Wills
99f6feaa78 sdl1 / sdl2 - use new download / signing functions and verify signature on download
* also rework logic - use a temporary folder for downloaded debs rather than cwd
 * remove unneeded (and failing url) sdl1 .xz archive download
2020-09-10 07:13:27 +01:00
Jools Wills
b618fd2079 attractmode - added missing dependency libglu1-mesa-dev for kms targets 2020-09-10 02:30:11 +01:00
zanac
69065b6048
esthemes - added theme arcade-crt2020 from AndreaMav (#3216) 2020-09-03 11:55:01 +01:00
Super Retropie
03cee9b45b
esthemes - added nes-box and super-arcade1up-5x4 from KALEL1981 (#3218) 2020-09-03 11:52:48 +01:00
Jools Wills
1e0451bacc runcommand - fix aspect ratio using dispmanx backend with sdl1 on fkms
Added sdl1 patch to allow overriding of graphics_get_display_size as it returns 0 on fkms for width and height,
which skips the scaling code and ability to adjust aspect ratio.

New ENV vars are SDL_DISPMANX_WIDTH and SDL_DISPMANX_HEIGHT which we now set manually in runcommand on fkms
when a dispmanx backend is used with sdl1.

This should resolve aspect ratio issues rpi4 users were having with some sdl1 emulators that worked with the dispmanx
backend, but always stretched to fill the entire screen.

This also enables the use of SDL_DISPMANX_RATIO to tweak the ratio when scaling - from 0.2 to 6 - currently
unused in any RetroPie modules by default, but used to be used for tweaking the vice scaling, to more accurately
produce a correct aspect ratio for the C64. But can be used by users manually via emulators.cfg if required.

bumped sdl1 version to force an update - including for Stretch, although this is primarily a buster/rpi4 issue
2020-08-09 04:05:57 +01:00
cmitu
db87783424 spelling: use 'rp_module_licence' in all scriptmodules 2020-08-04 13:01:07 +01:00
Jools Wills
ee58bdcf6d splashscreen - disable for rpi/aarch64 due to non working omxiv (no openmaxil library available) 2020-07-30 04:28:30 +01:00
Jools Wills
dd28f158fe splashscreen - include omxplayer dependency only on 32bit
* video playback won't work on rpi aarch64 but the splashscreen module can be installed
2020-07-30 04:28:30 +01:00
Jools Wills
c4147511b4 sdl2 - workaround error moving/renaming vc headers on Raspberry Pi OS 64bit
* headers no longer live at /opt/vc/include - needs to check how this will affect our SDL2 build
2020-07-30 04:28:30 +01:00
Jools Wills
67b1a6a833 sdl1 - fix package naming on aarch64/arm64 2020-07-30 04:28:30 +01:00
Jools Wills
c2b616a87b emulationstation - omxplayer is not currently installable on 64bit Raspberry Pi OS
* This is due to dependency issues
2020-07-30 04:28:30 +01:00
Jools Wills
58e7496338
Merge pull request #3204 from EricFromCanada/master
Reword wiki references to docs site
2020-07-30 03:40:36 +01:00
Lars Muldjord
698ebe0be5 Added '--onlymissing' option to GATHER options 2020-07-29 22:30:26 +02:00
EricFromCanada
c623eae161 Grammar fixes 2020-07-28 11:17:53 -04:00
EricFromCanada
9739bd1594 Reword wiki references to docs site 2020-07-28 11:09:39 -04:00
cmitu
3a0dca1d0a runcommand: validate the CrtcId/ModeId values for SDL2 env vars
Before setting the SDL2 env variables that configure the modesetting for DRM/KMS, validate the CrtcId/ModeId tuple against the current list reported by `modetest`. Changes in the kernel DRM driver could make the existing modesetting configuration (stored in `videomodes.cfg`) invalid because of different CrtcId and/or ModeId in new versions of the driver.
2020-07-20 16:14:03 +01:00
Jools Wills
e2edca8d49
Merge pull request #3158 from cmitu/attract-mode-kms
attractmode: enable for KMS/DRM
2020-07-06 04:39:53 +01:00
Dwayne Hurst
dd5abc0dc3
es-themes - added CRTBlast, CRTNeonBlast and CRTCabBlast from RetroHursty69 - #3187 2020-07-05 11:47:42 +01:00
cmitu
7dbc83b645 attractmode: enable for KMS/DRM
Added 'attractmode' for the 'kms' platform, since it now includes support for DRM/KMS.
The 'sfml-pi' branch on https://github.com/mickelson/sfml-pi/ can be built with OpenGL or GLES support (default is OpenGL).

Added 2 corrections:
 - don't remove an empty system name (can happen when 'delEmulator' is used for a Port)
 - really replace '/' in the system's full name, on both addition and deletion of a system

When using KMS, `attractmode` starts with 'preferred' video mode, as reported by the display's EDID,
This could be different than the current video mode set via 'config.txt' or via 'cmdline.txt' by users.

Modified the startup script to hint the video mode via 'SFML_DRM_MODE' and 'SFML_DRM_REFRESH' environment variables.
2020-07-05 03:59:38 +01:00
Jools Wills
a303332e03
Merge pull request #3127 from joolswills/xpadneo
added xpadneo - linux driver for xbox one wireless gamepads
2020-07-03 05:58:54 +01:00
Jools Wills
508d50b8ee bluetooth - redirect errors from systemctl check to avoid output when no service installed 2020-06-24 03:05:10 +01:00
Jools Wills
75dac05e39 bluetooth - do a dependency check / install in update hook for users with boot/background mode
* previous configs with connect_mode set to boot/background could fail due to missing dependencies after recent bluez-tools changes
2020-06-24 00:14:16 +01:00
Zechariel
a4f8e296ab
esthemes - added VectorPie theme from Zechariel - #3173 2020-06-22 02:48:07 +01:00
Jools Wills
6075cf32d7
Merge pull request #3148 from joolswills/bluetooth_updates
Bluetooth updates
2020-06-22 02:46:04 +01:00
Jools Wills
57bfd733dd bluetooth - split out boot bluetooth connect script from main code
* running RetroPie-Setup on boot isn't efficient / it should work without RetroPie-Setup present.
 * running it as root on boot causes /opt/retropie/configs/all to be chowned to root due to setupDirectories call
2020-06-22 02:39:26 +01:00
Jools Wills
a15d58a836 bluetooth - use bt-device from bluez-tools for over old python code
* added bluez-tools dependency
 * use bt-device for Trusting / Connecting / Removing of devices
2020-06-22 02:39:21 +01:00
cmitu
27aa2462ee runcommand: improve 'xrandr' output parsing for mode id
The mode id is a hex, so it can contain [a-f] apart from [0-9].
2020-06-13 18:12:57 +01:00
Jools Wills
798c8b3aec added xpadneo - linux driver for xbox one wireless gamepads 2020-06-09 04:17:57 +01:00
Jools Wills
03c8ea7a32
Merge pull request #3150 from joolswills/usbmount_uid_fix
usbromservice - fix mounting ext3/ext4 partitions
2020-05-26 03:06:48 +01:00
Jools Wills
76575faf0e
Merge pull request #3151 from cmitu/rpi-audio-update
audiosettings: updates for Pi4 and support for discrete internal ALSA devices
2020-05-25 05:23:09 +01:00
cmitu
a7b8d5d39d audiosettings: update 2020-05-25 05:08:54 +01:00
Jools Wills
75957cdbe6 sixaxis - c&p fail 2020-05-24 12:02:52 +01:00
Jools Wills
17225fbe11 custombluez / sixaxis - move some of module's long desc text to help text 2020-05-24 11:53:40 +01:00
Jools Wills
587c12d77c usbromservice - fix mounting ext3/ext4 partitions
Mounting ext3/ext4 and other native filesystems was broken due to having uid=X,gid=X in the default mount options.
Now we just set these options on a per filesystem basis via FS_MOUNTOPTIONS
2020-05-22 17:21:38 +01:00
cmitu
dc10a00067 esthemes: new theme from @AndreaMav 2020-05-05 18:15:54 +01:00
cmitu
41f87a1bae runcommand: use a correct regexp for grep to match the default modeline 2020-05-04 18:42:51 +01:00
cmitu
c7a3d0dabb runcommand: improve current video mode detection on KMS
When current mode is custom set and DRM doesn't find it via EDID detection, `runcommand` fails to detect the current video mode.

This might happen when:
* EDID is incorrect and user sets a video mode with `hdmi_group/hdmi_mode` or via the kernel parameters.
* new video mode added via `hdmi_cvt`/`hdmi_timings`

Forum posts:
* https://retropie.org.uk/forum/topic/25526/
* https://retropie.org.uk/forum/topic/25834/
2020-05-03 17:34:21 +01:00
Conn O'Griofa
1412ec2ea1 sixaxis: improve default Buster support
* sixaxis: add special check for libbluetooth3 and reload bluetooth
  stack if install was triggered, otherwise sixaxis plugin will not be active.
* customhidsony: update patch and amend module description
2020-05-03 03:13:12 +01:00
Lars Muldjord
5f6c0bf494 Now checks that Skyscraper is version 3.5 or above and advices user to update if it isn't 2020-04-29 18:12:35 +02:00