Commit graph

8017 commits

Author SHA1 Message Date
Jools Wills
23bf2c7e1f
Merge pull request #3287 from joolswills/docsview
Docsview
2021-01-12 22:17:18 +00:00
Jools Wills
380d7f957b skyscraper - remove update mechanism from package gui but leave in check
Prefer to keep package updating in once place to avoid confusion and issues with future packaging changes. This
code for example would force a source install, which may not be preferable if the user has installed from binary
and we have an updated binary available also.
2021-01-12 17:51:13 +00:00
Jools Wills
79fadae45f skyscraper - de-duplicate the version check / dialogs by moving to a function 2021-01-12 17:30:13 +00:00
Jools Wills
33445bb350 cosmetic - replace two cases of tab indentation 2021-01-12 17:20:21 +00:00
Jools Wills
91c7814c8c docsview - remember position when viewing docs
* move while loop to choose_page_docsview and avoid rescanning each time
 * add --default-item with last selection to remember position
2021-01-11 22:14:32 +00:00
Jools Wills
eeaef4034e docsview - fix missing lynx-cur dependency by switching to lynx 2021-01-11 21:57:51 +00:00
Jools Wills
0ffbfc607a docsview - renamed from wikiview module
* removed/renamed all Wiki references (including var names) and adjusted repository and docs path
2021-01-11 21:56:03 +00:00
Jools Wills
ad68394f6d
Merge pull request #3286 from cmitu/lr-hatari-caps
lr-hatari: fix building with the capsimage libs
2021-01-11 15:27:41 +00:00
cmitu
10f9967bcb lr-hatari: fix building with the capsimage libs 2021-01-11 06:58:43 +00:00
Jools Wills
994bb42e55 helpers - fix custom sdl2 installing when no ini value set
* 6fa33497 broke defaulting to custom sdl2 as [[ "" -eq 0 ]] evaluates as true - use string matching as previously.
2021-01-11 05:54:34 +00:00
Jools Wills
6ff178baad added lr-dosbox-pure - an improved dosbox core for libretro
* added additional extensions supported by the core
2021-01-10 03:57:37 +00:00
Jools Wills
5e79bc3993 lr-tyrquake - adjust game_data function to be safer to call as a standlone function
Function could fail if RetroPie-Setup/tmp didn't exist - as we use $__tmpdir primarily for building,
I have switched this to use mktemp -d.

Create destination folders also as required.

I ran into this bug when installing lr-tyrquake from binary install on a new system. $__tmpdir is not actually
created by default, but in this case when unpacking archives, it's better to use mktemp as detailed.
2021-01-10 02:13:39 +00:00
Jools Wills
d95bd77bd4 retropie-setup - bump version to 4.7.3 2021-01-10 01:50:06 +00:00
Jools Wills
d1590086bf
Merge pull request #3268 from joolswills/use_associative_arrays
Move to associative arrays for module data
2021-01-10 01:49:14 +00:00
Jools Wills
d8b4fb9023
Merge pull request #3284 from psyke83/moonlight_sunshine
moonlight: add support for open-source GFE servers
2021-01-10 01:48:43 +00:00
Conn O'Griofa
ffd618caf1 moonlight: add support for open-source GFE servers
There are open-source implementations of NVIDIA's GFE server which
expands Moonlight compatibility to other GPU manufacturers on both
Linux and Windows:

1. https://github.com/loki-47-6F-64/sunshine
(original project with CPU and NVIDIA HW encoder support)

2. https://github.com/LS3solutions/openstream-server
(forked project focused on Windows support with partial AMD HW encoding)

Unfortunately, moonlight-embedded does not work out of the box, so
provide a new host menu to assist in configuring the options needed
to attain full compatibility with these servers.
2021-01-08 03:09:11 +00:00
cmitu
d66cf37038 esthemes: add @lipebello's Retrorama turbo theme 2021-01-07 14:59:57 +00:00
Jools Wills
b182f1c6c7 setup - clear screen before package removal 2021-01-07 05:10:02 +00:00
Jools Wills
35d89a003f setup - continue on error when updating to match main install / section updating 2021-01-07 05:10:02 +00:00
Jools Wills
ca78a7325e setup - remember default/selected item on per package menu
Avoids accidents when choosing help, and exiting and being back on the first entry for example
2021-01-07 05:10:02 +00:00
Jools Wills
16a4a26723 packages - split out / rework install/install_bin logic
We don't want to remove install folder before we download a binary - in the case of a download failure we could end up
just removing the installed version which isn't wanted. Added the removal to before the tar unpacking / verification.

Remove some checks for function existing for cases where it had been done earlier and move some logic for
install/install_bin to later case statement to clean up logic a bit
2021-01-07 05:10:02 +00:00
Jools Wills
acdb1ddac8 Switch to associative arrays for module data and storage
Previously all the module data was in indexed arrays with matching offsets.
Each scriptmodule folder had an initial index and it was incremented per module.

Many package functions expected an index. Indexes were never unique and could change
depending on added modules etc. We also had to convert between them and module IDs.

Now it's all done by module id. There is a numbered index of all modules found, that
increments which is used in the GUI setup menus. But it's not needed by any packaging functions.

md_idx is dropped and the few modules that used it for install checks etc now use md_id.

all packaging functions use the id.

retropie_packages.sh now accepts the module id only.
2021-01-07 05:10:02 +00:00
Jools Wills
6fa3349731 helpers - fix own_sdl2 ini config logic - fixes #3279
* switched to use -eq so it will be less strict with for example whitespace in value
 * do a test for -eq 0 rather than just else, to avoid defaulting to 0 in the case of a bad config
2021-01-07 04:57:48 +00:00
Jools Wills
4072e0c6cb emulationstation - systems warning format tweak
* use "config in:" and remove . from end of path
2021-01-07 04:42:02 +00:00
Jools Wills
8cd9a86b26 emulationstation - add warning when users es_systems.cfg doesn't contain an added system 2021-01-07 04:35:59 +00:00
Jools Wills
05808c6982 emulationstation-dev - remove functions to avoid multiple calls to edit ES configs
Currently the code for calling frontend hooks just calls all modules with the hook functions
_add_system_* _del_system_* _add_rom_* etc. For additional frontends we check if they are installed in these
functions, but for emulationstation-dev it just called the emulationstation module functions. This actually
meant that we called the emulationstation functions twice when adding a system or removing.

The helper functions probably should do the check to only call the frontend hook functions when they are installed,
which may be a better fix, but for now, this works. I am overhauling some of the packaging code, so I will revisit this.
2021-01-07 02:23:22 +00:00
Dwayne Hurst
7bb99a02a2
esthemes - added 5 new themes from RetroHursty69
Added:
 * ComicCRASHB
 * ComicPACMAN
 * ComicSONIC
 * ComicXMEN
 * ComicZELDA
2021-01-07 01:29:41 +00:00
Jools Wills
780287b9fe
Merge pull request #3280 from cmitu/esthemes-add-branch-support
esthemes: enable default branch detection for themes repositories.
2021-01-07 01:27:58 +00:00
Jools Wills
8d53aa85e9
Merge pull request #3283 from cmitu/platform-updates
platform updates - add new supported extensions
2021-01-07 01:16:27 +00:00
cmitu
85883f447c platform/systems - add new supported extensions
* Amiga - new extensions supported by `lr-puae`
* C64 - new extensions supported by `lr-vice`
* 3DO - added `.chd`, supported by the Opera Libretro core; updated license URL for the core.
* GC/Wii - added `.rvz`, supported by Dolphin
* MSX - added `.cas`, supported by both `lr-bluesmsx` and `openmsx`
* PC88 - added `.m3u`, supported by `lr-quasi88`
2021-01-06 20:47:24 +00:00
cmitu
44c33c1ffa system - update KDE neon detection for 20.04 2021-01-05 17:21:58 +00:00
cmitu
b8ab74a5c5 esthemes: enable default branch detection for themes repositories. 2021-01-03 06:25:07 +00:00
Jools Wills
ac8d87759f retropie-setup - bump version to 4.7.2 2020-12-22 05:40:44 +00:00
Jools Wills
717dd9613f
Merge pull request #3224 from cmitu/openmsx-updates
openmsx: added joystick autoconfiguration, config tweaks and enabled for 'mali'
2020-12-22 04:34:07 +00:00
Jools Wills
15c3b77cd8
Merge pull request #3274 from joolswills/disable_raspbian_stretch_bins
system / setup - Raspbian Stretch is no longer supported
2020-12-22 04:17:51 +00:00
Jools Wills
609aef5156
Merge pull request #3273 from joolswills/bluetooth_pair_vs_registered_fixes
bluetooth - registered / paired device logic rework
2020-12-22 04:16:44 +00:00
Jools Wills
19c273bb21 bluetooth - register -> pair naming and use paired list for connect functionality
Also change status output to use - not : to avoid confusion with mac address
2020-12-17 06:47:22 +00:00
Jools Wills
c20d4fce99 bluetooth - connect function was broken 2020-12-17 06:47:22 +00:00
Jools Wills
4fa5127ed8 bluetooth - variable name shortening for readability
mac_addresses arrays to devices
mac_address to mac
device_name to name
2020-12-17 06:47:22 +00:00
Jools Wills
131a1c83bb bluetooth - registered / paired device logic rework
I made some changes before to hide previously registered devices from the connect menu, to make it
easier when dealing with multiple devices of the same name. However due to the way bluetoothctl works,
previously "seen" devices are added to the system, meaning devices that are not paired are registered and cached,
and then won't be shown again.

This changeset addresses the following:

Only actually paired devices will be hidden from the register and connect menu

New functions list_paired and list_connected have been added

Switched to use bt-device to check for connected devices for consistency. Private function handles
grepping for Paired or Connected via bt-device --info

display_active_and_registered function renamed to simpler status and reworked to use the new functions.
It outputs to console - the GUI menu just calls this and then outputs to a dialog menu - making this now
a more useful commandline function

remove_device shows all registered devices, even ones seen before. These previously seen devices show
up when scanning so we still want to be able to remove them. I have adjusted it though so paired devices are
shown first, followed by any known devices.
2020-12-17 06:47:22 +00:00
Jools Wills
0a2d608adf
Merge pull request #3272 from joolswills/ppsspp-1.5.4
ppsspp / ppsspp-1.5.4 - added ppsspp 1.5.4 using parent ppsspp module
2020-12-17 04:21:00 +00:00
Jools Wills
1f3716aa95 system / setup - Raspbian Stretch is no longer supported
Disable binaries for Raspbian Stretch and adjust warning message accordingly.
2020-12-17 03:07:49 +00:00
Cristi Mitrana
d1d1759d5a
Merge pull request #3270 from cmitu/audio-pa
audiosettings: add PulseAudio configuration support.
2020-12-15 17:57:20 +02:00
cmitu
e6e6127a67 audiosettings: add PulseAudio configuration support.
When PulseAudio is installed and active, it takes over as the default ALSA device.
Remove any `.asoundrc` when it's enabled and configure the PulseAudio default output sink instead.

Added the option to enable/disable PulseAudio, depending on the running configuration.
2020-12-15 04:43:56 +00:00
Jools Wills
2ee308688f ppsspp / ppsspp-1.5.4 - added ppsspp 1.5.4 using parent ppsspp module
Users reported that this version runs faster on videocore on the rpi1/2/3

Adjusted ppsspp sources to allow branch parameter and fixed build subfolder to ppsspp
so that paths are the same for md_ret_files, including adjusting lr-ppsspp in the same way.

Older code builds ok with our current ppsspp module script on rpi1/2/3 + videocore gles2,
but not rpi4, which it isn't needed on anyway. This may need changing if we have to update
ppsspp further in the future.
2020-12-15 03:02:59 +00:00
Jools Wills
54beee13eb
Merge pull request #3271 from cmitu/xpadneo-updates-2
xpadneo: bump version to v0.9
2020-12-14 22:38:32 +00:00
cmitu
c3cddd1d8e xpadneo: update to v0.9
Adds support for the new Xbox Series controllers and basic support for the Xbox Elite 2.
2020-12-14 18:48:41 +00:00
Jools Wills
320480f9f4 setup - remove unused "force" parameter
looks like it was added during some development of an earlier commit, and left in despite never being used
2020-12-08 07:17:11 +00:00
Jools Wills
82cb6d8671 setup - don't clean up sources on failure unless we are calling from setup gui
This adds a __setup global variable which is used for this (set to 1 during setup_depends).

In the past, sources were not cleaned on error which was an issue for some users when an
upstream source changed causing a custom patch to fail or upstream url code changed. It was
changed so source folders were cleaned up on error which was useful for end users.

This wasn't helpful for development and testing though, so when using retropie_packages
directly, the source folder won't be removed. When building a module and testing via
./retropie_packages.sh MODULE sources, it was  nuisance to have the source folder removed on
a patch failure, especially on larger repositories.
2020-12-02 00:14:03 +00:00
Jools Wills
6cbb1dbf85
Merge pull request #3265 from cmitu/drastic_no_cursor
drastic: disable cursor under KMS
2020-11-30 09:13:19 +00:00