Commit graph

8017 commits

Author SHA1 Message Date
cmitu
e8ae448f02 xpadneo: upgrade to v0.9.2
New stable version:

* improved compatibility with the new BLE enabled controller firmware
* better compatibility with kernels 5.12 or later and latest DKMS versions. On kernels 5.12 or later should no longer Bluetooth ERTM is not unconditionally disabled anymore. For better stability, it's generally recommended to upgrade controllers to the new BLE firmware variant (version 5.x and above) for improved connection stability
* fixed rumble throttling for modern (BLE enabled) firmware
* fixed an issue conforming to the Linux input spec better which improves compatibility with jinput
* improved documentation
2022-05-28 04:19:41 +01:00
Jools Wills
b0759ff2d2 helpers - fix sdl1 dependency installing on non RPi platforms.
In the past unsupported scriptmodules for a platform were not loaded, so rp_hasModule would only return true if the module was available for the platform.

As we now load all modules for displaying of information in retropie_setup / retropie_packages output, rp_hasModule function will return true, so we need to use rp_isEnabled instead.

This fixes installing scriptmodules with an sdl1.2-dev dependency on non RPi (eg x86/x11), that previously forced our custom sdl1 and then failed as it's disabled for the target.
2022-05-25 05:30:10 +01:00
Jools Wills
cd9302337e
Merge pull request #3523 from s1eve-mcdichae1/lrppsspp-link-save-dir
ppsspp/lr-ppsspp: (QOL) link save file dir for libretro core, and (BUG) resolve conflicts on removal
2022-05-25 05:01:19 +01:00
Jools Wills
1cd60a11ce
Merge pull request #3531 from s1eve-mcdichae1/update-splashscreen-redux
splashscreen.sh: (QOL) updated menu interface
2022-05-25 04:57:26 +01:00
Dwayne Hurst
a91f70d770
esthemes - added 3 themes from RetroHursty69
* BoomBoxStreet
* ShabangCLEAN
* ShabangCRT
2022-05-25 04:55:40 +01:00
Jools Wills
a1a163319f
Merge pull request #3535 from s1eve-mcdichae1/flycast-redux
lr-flycast: (QOL) add to Arcade system (redux)
2022-05-25 04:54:18 +01:00
s1eve-mcdichae1
cd2a5edb89 ppsspp/lr-ppsspp: (bug) resolve conflict on removal
Both stand-alone `ppsspp` and the libretro core `lr-ppsspp` share the `$HOME/.config/ppsspp` save file directory.

`moveConfigDir` removes the symlink on removal; this will disconnects the existing saves from the remaining emulator.

ppsspp: Use moveConfigDir only on install.

On removal, do not use the helper function. Remove the symlink manually and only if no remaining PSP emulators.

lr-ppsspp: Libretro core did not link this dir at all, and just used mkUserDir instead. Switch to use moveConfigDir and same fix as above, for libretro core also.
2022-05-23 19:46:43 -07:00
s1eve-mcdichae1
0f9d896325 lr-flycast: add to Arcade system (redux)
Ref: https://github.com/RetroPie/RetroPie-Setup/pull/3517

(Revisited for `defaultRAConfig`)
2022-05-23 17:43:16 -07:00
s1eve-mcdichae1
4325d0ae6f splashscreen.sh: (QOL) updated menu interface
Updated wording to remove ambiguity.

Slightly reworked randomizer function.

Added mode label (custom, etc.) to randomizer menu title. (Eliminated `$random` var.)

Fixed path dialog on randomizer choices.

Enable splashscreen and disable randomizer on choosing default.
2022-05-23 16:55:24 -07:00
Jools Wills
5cd6dd28f1 retropie-setup - bump version to 4.8.1 2022-05-22 20:09:43 +01:00
Jools Wills
d10ed7d68a
Merge pull request #3526 from cmitu/es-build-omx
emulationstation: build omxplayer only on dispmanx platforms
2022-05-22 19:55:39 +01:00
Jools Wills
750d044a14
Merge pull request #3528 from joolswills/x86_flags
system - use architecture for __platform instead of x86
2022-05-22 19:54:59 +01:00
Jools Wills
82204f17b1
Merge pull request #3404 from joolswills/defaultRASystemConfig
Add defaultRAConfig to replace ensureSystemretroconfig
2022-05-22 19:54:38 +01:00
Jools Wills
02ffad4be0 lr-retro8 - use defaultRAConfig rather than custom iniConfig/iniSet 2022-05-22 13:09:12 +01:00
Jools Wills
056eb837ee lr-flycast - rework logic to use defaultRAConfig params
Don't do config work on removal
2022-05-22 13:09:12 +01:00
Jools Wills
d72e971060 lr-bluemsx - use defaultRAConfig parameters rather than manual ini setting
Also don't do config work when removing module
2022-05-22 13:09:12 +01:00
Jools Wills
7ac3877b44 Switch to using defaultRAConfig
libretro ports now don't include the "ports/" path in the call as it's handled by the new function
2022-05-22 13:09:12 +01:00
Jools Wills
b5f3816f5d helpers - added defaultRAConfig to replace ensureSystemretroconfig
Removed deprecated and unused shader parameter support from ensureSystemretroconfig.

defaultRAConfig takes a single parameter for the system name, but also allows additional
parameter pairs to be added to set default ini configuration key/values

eg. defaultRAConfig "dreamcast" "fps_show" "true"

It also uses $md_conf_root as a base, which ensureSystemretroconfig didn't handle, so we save and reset
this for backward compatibility for anything still using ensureSystemretroconfig
2022-05-22 13:09:12 +01:00
Jools Wills
9939afa3a0
Merge pull request #3530 from cmitu/ext-updates
ps2: add support for CHD disc images
2022-05-22 12:30:22 +01:00
Jools Wills
3fd462bec2
Merge pull request #3533 from cmitu/amiberry-5.2
amiberry: update to version 5.2
2022-05-22 12:29:57 +01:00
cmitu
3ff63dede2 amiberry: update to version 5.2
* New:
  - Added new CD32 config with 8MB Fast, use that with --autoload option
  - Enable RTC automatically if enabled expansions have RTC
  - Support for Cycle-Exact mode from XML options (github.com/midwan/amiberry/issues/959)
  - Ability to set default soundcard (github.com/midwan/amiberry/issues/963)

* Bugs fixed
  - Hotkey mappings didn't work with controller buttons (github.com/midwan/amiberry/issues/949)
  - Only check for hotkey buttons if they have been mapped (github.com/midwan/amiberry/issues/949)
  - When using Auto-crop and virtual mouse driver, the pointer would not reach the edges of the screen (github.com/midwan/amiberry/issues/962)
  - Launch Amiberry binary directly in macOS app bundle (github.com/midwan/amiberry/issues/970)

* Improvements
  - Updated bundled AROS ROMs to latest version
  - Updated WHDBooter XML and WHDLoad to latest versions
  - Picasso96 new features are now optional. DACSWITCH fix.
2022-05-22 04:30:04 +01:00
Jools Wills
c07e87cf83 system - use architecture for __platform instead of x86
For architectures not handled by custom logic, we previously checked `uname -m` for i686/x86_64/amd64 and then set __platform=x86.

This change switches to using the actual output of `uname -m` as the __platform variable. If a platform_$__platform function exists, we will call it, otherwise we call platform_native (which used to be platform_x86).

In platform_native we check if the platform is i386/i686/x86_64 and then set an x86 flag.

This seems more logical and allows us to more easily check for x86_86 in scriptmodule flags. It also resolves redream incorrectly having x86_64 added to the flags in d877a81 (which work after this change).

The error: fatalError "Unknown platform - please manually set the __platform variable to one of the following is now removed. As we default to platform_native this could potentially allow RetroPie-Setup to work on something we don't specifically support.
2022-05-20 17:40:36 +01:00
cmitu
6b2b601821 ps2: add support for CHD disc images 2022-05-16 06:57:14 +01:00
cmitu
7fb44911ca emulationstation: build omxplayer only on dispmanx platforms
Starting with RaspiOS 'bullseye', the `omxplayer` RPI video player is no longer supported.
Use the new EmulationStation build option (`OMX`) to enable the `omxplayer` bits only for `dispmanx` platforms. The new options is added in https://github.com/RetroPie/EmulationStation/pull/792. The `RPI` build option is used only for pre-setting some program settings on the Raspberry Pi platforms (audio/video memory).
2022-05-14 19:47:02 +01:00
Jools Wills
1eedc5ad2c packages - fix update check due to security warning with git 2.34.1
As with e041a0c5 we need to use the same user for running git as the owner of the repository files.

This is also needed for an update check in rp_hasNewerModule as we check the last commit date of scriptmodules in RetroPie-Setup.
2022-05-13 16:17:40 +01:00
Jools Wills
5cf9b95ab5
Merge pull request #3508 from joolswills/amiberry_v5.x
Update amiberry version to v5.1
2022-05-03 20:17:35 +01:00
Jools Wills
1416b9ec94 uae4arm - added missing .ipf extension 2022-05-03 19:11:45 +01:00
Jools Wills
9e40fcd969 uae4arm - enable for dispmanx (works ok on rpi4 + fkms) 2022-05-03 19:11:45 +01:00
Jools Wills
a63a53fc84 amiberry - add support for building with 64bit on rpi 2022-05-03 19:11:45 +01:00
Jools Wills
f330a8987b amiberry - Update to v5.1 and rework amiberry/uae4all modules
Update amiberry version to v5.1 tag

Remove no longer needed libxml2-dev dependency

Add patch for amiberry Makefile so it doesn't override our CFLAGS/CPPFLAGS/LDFLAGS

Remove -O3 from Makefile so it uses our default optimisation level. Previously this was -Ofast but from my own testing -O2 with our compiler flags works best.

Modify build_amiberry with updated paths for caps bootstrap/configure. Override CPUFLAGS for amiberry, so our flags are used, rather than the ones hard-coded into the Makefile.

Include abr and kickstarts folder in install_amiberry. The kickstarts folder includes a freely distributable AROS rom, so let's include it.

Symlink cd32.nvr from "$md_inst/data" to "$md_conf_root/amiga/amiberry" so it's writable by amiberry.

Split uae4arm's shared configure function out so uae4arm and amiberry now only share the launcher code. There is a small amount of duplication with some folder creation in configure_amiberry but it makes sense to split them due to the new amiberry changes.

Rework uae4arm/amiberry configure functions to simplify logic and remove nesting by changing order of calls.

Change the addEmulator calls in uae4arm and amiberry due to parameter ordering changes in the shared launcher script.

Move rom location for amiberry/uae4arm/uae4all to $biosdir/amiga

Create update hook to move / symlink kickstart ROMs from $biosdir to $biosdir/amiga

Add .lha to module description extensions

Added .chd extension to platforms.cfg

Rework the logic in the shared launcher script:

 * Instead of setting EMULATOR variable via sed in uae4arm/amiberry we just change "use_amiberry=0" to "use_amiberry=1" in configure_amiberry.
 * Argument ordering is changed to simplify the logic. Previously the launch script expected [CONFIG] [ROM/GAME], and setting [CONFIG] to auto or "" would handle it automatically. Now it uses [ROM/GAME] [ARGS]. As passing in a configuration was optional, it made it simpler just to have the ROM first, and then allow additional arguments to be sent to the emulator.
 * We now build up an parameters array which avoids duplication and simplifies the code - There is only a single call to launch uae4arm/amiberry with the processed parameters.
 * Switched to using the amiberry --model parameter over our previous rp-a500.uae/rp-a1200.uae configs. Users who have set a particular rom to use amiberry-a500/amiberry-a1200 will still get the same functionality but it will instead use --model A500/A1200. A per rom .uae config can still be saved with customised settings for an adf etc.
 * added support for .chd files for amiberry

How uae4arm.sh handles launching:

 * If the first argument (ROM/GAME) is a .cue or .lha file, and we are launching amiberry, use amiberry's --autoload function.
 * Otherwise if a rom argument is present, see if it's an archive (only zip supported currently). If it is, unpack all known disk image extensions from the archive attach each one as floppy drive arguments (-0 / -1 / -2 etc)
 * If it's not an archive, treat it as a disk image itself, and try and find additional files starting with the same name (eg Game_Disk1/Game_Disk2) and attach them as floppy drive arguments.
 * We then check if there is a .uae config file with the same name as the ROM argument in the ROM's folder or in amiberry's conf folder.
 * If there isn't we will try and use a config based on the filename. For uae4arm it will use the pre-installed rp-a500.uae config by default and rp-a1200.uae for any files containing AGA or CD32. For amiberry we use the --model parameter which chooses a default config based on argument. By default we use A500, but switch to A500P if a file contains ECS and A1200 if a file contains AGA, and CD32/CDTV if those strings are included also (Although cd images are handled separately so this may not be too useful).
 * We always set -G to not show the GUI when the first argument is present - to override this the first argument can be blank and manual parameters can be used (or the amiberry executable can just be used directly)
2022-05-03 19:11:45 +01:00
Jools Wills
1aa7823511 image / create_chroot - support OS images that are compressed with xz
Image files for Raspberry Pi OS buster (oldstable) and bulleye are now single files compressed with .xz instead of the zip files used previously.

Add support for decompressing xz as well as an additional check to make sure the image was extracted ok before continuing. Added return codes to the function.
2022-05-03 19:02:27 +01:00
Jools Wills
f28351d068
Merge pull request #3521 from s1eve-mcdichae1/redream-x86
redream.sh: add for x86_64 builds.
2022-05-03 18:19:58 +01:00
s1eve-mcdichae1
d877a8189a
redream.sh: add for x86_64 builds. 2022-04-30 14:08:53 -07:00
Jools Wills
0e031c7287
Merge pull request #3506 from s1eve-mcdichae1/update-alephone-game-data
alephone (update): Use latest version game data.
2022-04-27 01:09:41 +01:00
s1eve-mcdichae1
7ff2089fa9 alephone - Use latest version game data for current engine 2022-04-27 01:08:25 +01:00
Jools Wills
fceb8b9249
Merge pull request #3516 from RetroHursty69/master
Update esthemes.sh with 3 new themes
2022-04-27 01:06:37 +01:00
Jools Wills
1373574c40
Merge pull request #3520 from joolswills/git_warning
setup - fix up warnings with git 2.34.1 in retropie-setup
2022-04-27 01:05:53 +01:00
Jools Wills
853264d922
Merge pull request #3519 from cobalt2727/patch-5
lr-pcsx-rearmed: fix fatal build error on aarch64
2022-04-27 01:04:58 +01:00
cobalt2727
b939a1bbba lr-pcsx-rearmed - fix build error on aarch64 2022-04-27 01:00:09 +01:00
Jools Wills
bd3831a74b
Merge pull request #3518 from cmitu/attractmode-build2
attractmode: fix build on videocore/kms platforms
2022-04-25 22:36:24 +01:00
Jools Wills
e041a0c513 setup - fix up warnings with git 2.34.1 in retropie-setup
Git reports

fatal: unsafe repository ('$HOME/RetroPie-Setup' is owned by someone else)

This is due to us running `git log` under root on a repo owned by the user it was installed for.

This commit also switches from su to sudo in setup.sh for consistency with other code.
2022-04-25 22:34:38 +01:00
cmitu
3138610f96 attractmode: fix build on videocore/kms platforms
Upstream project changed the `makefile` in [1] and `EXTRA_CFLAGS` was removed.
Use the new `EXTRA_CXXFLAGS` instead, so our compiler flags and directives to find the locally compiled `sfml-pi` are passed on.

[1] 502f5d71e5
2022-04-23 19:04:00 +01:00
Dwayne Hurst
ab4e9cda33
Update esthemes.sh with 3 new themes
ColorfulExtreme. ColourfulSupreme and CircularEssence
2022-04-19 05:22:54 +10:00
Jools Wills
44149e3413
Merge pull request #3512 from timred/patch-1
Branch / Tag 9.1 no longer available.
2022-04-13 21:48:29 +01:00
Jools Wills
fe2851978c
Merge pull request #3515 from joolswills/lr-puae2021
Added lr-puae2021
2022-04-11 21:51:09 +01:00
Jools Wills
0a77b8e203 Added lr-puae2021
A version from 2021 (v2.6.1), before the core was updated from upstream to v4.5.x which brought more accuracy, but slower performance.
2022-04-10 22:53:40 +01:00
Jools Wills
5e8461daa5
Merge pull request #3513 from timred/patch-2
love2d/love switched to main branch
2022-04-10 18:46:21 +01:00
TimRed
4bf0593e03
love2d/love switched to main branch
love2d/love now using main (default) branch not master.
See: https://github.com/love2d/love/branches/all
2022-04-10 18:45:19 +01:00
TimRed
324ee29f79
Branch / Tag 9.1 no longer available.
See: https://github.com/chernandezba/zesarux/tags
Latest Tag is: ZEsarUX-10.0
Deprecated Unavailable Tag is: 9.1
2022-04-10 18:23:09 +01:00
Jools Wills
c3c06a5446
Merge pull request #3511 from cmitu/attractmode
attractmode: dependency update
2022-04-09 17:26:56 +01:00