Commit graph

1904 commits

Author SHA1 Message Date
Jools Wills
f06d0800a2 sdl2 - switch sdl2 to use our fork of the new upstream repository
Have forked https://github.com/libsdl-org/SDL to https://github.com/RetroPie/SDL and have applied
our patches against the upstream release-2.0.10 tag in the retropie-2.0.10 branch.
2021-03-08 03:00:52 +00:00
Jools Wills
1b707ff00c runcommand - minor improvements to CPU governor display / configuration
Show governor in main menu and at top of governor menu, and default to currently selected governor.
2021-03-08 02:25:08 +00:00
Jools Wills
cf7c0ed6cb
Merge pull request #3317 from cmitu/runcommand-launching-imgs
runcommand: include Skyscraper paths for launching images
2021-03-08 01:51:45 +00:00
Jools Wills
dde27f240b scraper - adjust the module to work with package info / version checking 2021-03-08 00:59:25 +00:00
Jools Wills
4709f5adee attractmode - checkout the main repository first, for compatibility with source checking
Previously the location of the sfml-pi repo would be used as it was called first on the RPI,
which would mean an update is always done as the sfml-pi hash would have been stored rather than the
main repository. Ideally we would handle it so if either repository updates, but that requires a fair
amount of additional code as with mupen64plus and it's not work it for this - the sfml-pi code doesn't
change that often and better to just base it on the core code
2021-03-01 22:55:05 +00:00
cmitu
d9a91d040c runcommand: include Skyscraper paths for launching images 2021-02-28 05:02:24 +00:00
Jools Wills
ab88a0b6bc fixed some left over references to __mod_section[$id] to __mod_info[$id/section] 2021-02-22 03:22:45 +00:00
Jools Wills
14b0376d93 fixed some left over references to __mod_flags[id] to __mod_info[id/flags] 2021-02-22 03:14:59 +00:00
Jools Wills
927b9922df setup / packages - fix up installing retropiemenu / runcommand without a network connection
The previous changes to check for an internet connection to avoid showing options to update failed
with these modules as they have install_bin functions which are handled by rp_hasBinary but don't
require an internet connection.

To workaround this, I have added a "nonet" flag, which if set, will force has_net to 1 in setup and packages
so the install options will show, and they can be removed and reinstalled even if no network connection is available.

runcommand can still fail due to not being able to install mesa-drm - which will be reported, but it's safer to allow
the main runcommand to be installed even without mesa-drm in case of accidental removal.
2021-02-15 23:54:13 +00:00
Jools Wills
c76aeafede updated some more modules with rp_module_repo that "should" work ok now 2021-02-15 23:54:13 +00:00
Jools Wills
5010c5fd69 Use rp_module_repo for some packages that don't install to md_build by default
Mostly drivers and supplementary packages - most install to md_inst which should be handled better now,
but also adjusted sixaxis to use md_build rather than a subfolder in md_build as it didn't seem to require it.
2021-02-15 23:54:13 +00:00
Jools Wills
4c99509c76 Updating modules to use the new rp_module_repo function hooks
ppsspp was incorrectly changed in 23b154b4 as it uses a subfolder which needs to be specified
2021-02-15 23:54:13 +00:00
Jools Wills
0fecb55bf6 supplementary - add rp_module_repo info for some of the supplementary packages that should with it 2021-02-15 23:54:13 +00:00
cmitu
78839d940b esthemes: 2 more themes from @lipebello 2021-02-02 15:07:53 +02:00
Jools Wills
6d61130c6e configedit - adjust cancel labels in sub menus to "Back" and main menu to "Exit" 2021-01-27 02:52:41 +00:00
Jools Wills
4cf07a67c1 packages - use a single associative array for module info
rather than multiple arrays for each module info we now use a single array with

__mod_info(ID/KEY) where key is type/desc/help/licence/flags etc

we still keep __mod_id() - a standard indexed array with every module id (used for setup menus etc) and
__mod_idx() which references the index # from the id

this will make it easier to extend in the future
2021-01-23 01:48:07 +00:00
Jools Wills
1481188265
Merge pull request #3290 from joolswills/wget_to_curl
Move from wget to curl
2021-01-22 00:20:18 +00:00
Jools Wills
c6ea3123a4 emulationstation - quick fix for emulationstation failing with opengl1.x on new vendor drivers 2021-01-21 06:56:04 +00:00
Jools Wills
a5321f5d40 customhidsony - use curl instead of wget 2021-01-21 05:20:29 +00:00
Jools Wills
daf399a0b6 pegasus-fe - use download function 2021-01-21 05:20:29 +00:00
Jools Wills
186c838888 scraper - use download function 2021-01-21 05:20:29 +00:00
Jools Wills
2680d3615f skyscraper - use download function 2021-01-21 05:20:29 +00:00
Jools Wills
2a943727a1 raspbiantools - use download function 2021-01-21 05:20:29 +00:00
Jools Wills
26d2af28e7 retronetplay - use download function 2021-01-21 05:20:29 +00:00
freddii
4ac341ac9f
fixed some incorrectly spelt words (#3293) 2021-01-21 02:32:29 +00:00
Jools Wills
e8251fdfd3 virtualgamepad - remove old code for 3rd party nodejs installs
Packaged nodejs / npm is new enough for the versions of Raspbian/Ubuntu we support (This code dates back to 2016)
2021-01-15 02:20:25 +00:00
Jools Wills
fb094731c3
Merge pull request #3288 from joolswills/skyscraper_tweaks
Skyscraper tweaks
2021-01-12 22:18:20 +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
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
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
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
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
cmitu
b8ab74a5c5 esthemes: enable default branch detection for themes repositories. 2021-01-03 06:25:07 +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
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
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
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