Jools Wills
647bb1ebbc
configedit - fix issue with unsetting
2016-07-19 02:58:20 +01:00
Jools Wills
aa5b1c22a1
ensureRootdirExists - make the folders first
2016-07-17 18:53:33 +01:00
Jools Wills
45ebec12ee
8bitdo mapping improvements
...
* add autoconf.cfg parameter 8bitdo_hack (default 1) to decide whether to add the offset to the inputs for retroarch - which is required on the older firmware
* make sure autoconf.cfg is owned by $user - it would be created as root previously
* add setAutoConf function
* cleanup retroarch config generation code
2016-07-16 16:42:26 +01:00
Jools Wills
7d33392d43
helpers - new functions for default config
...
* copyDefaultConfig for copying default configs - if destination exists and is different, then a .rp-dist file will be made. this will allow us to de-duplicate and simplify some modules
* update ensureSystemretroconfig to use the new function
2016-07-15 17:36:17 +01:00
Jools Wills
6b2b569201
workaround for installing samba in chroot due to service restart (left samba working, but technically half installed)
2016-06-21 22:07:22 +01:00
Jools Wills
9d03ac1f2e
remove chroot workaround as git crashes are resolved for the upcoming 2.7 release
2016-06-16 14:31:22 +01:00
Jools Wills
044a9a8cc3
use .bak file in addLineToFile instead of .old
2016-06-11 17:47:02 +01:00
Jools Wills
26f2c4b669
don't add empty line when re-adding #include in the iniFileEditor
2016-06-07 16:27:13 +01:00
Jools Wills
ff779b8aa6
allow removing of retropie menu
2016-06-07 13:01:24 +01:00
Jools Wills
5078298644
modular changes -
...
* support removing of ports including ports entry in es_systems.cfg if there are no .sh launch scripts left
2016-06-06 22:08:36 +01:00
Jools Wills
115dbf0205
modular changes -
...
* basic remove support for modules - uses the existing configure function but sets md_mode to remove, which is used by
addSystem to remove systems and moveConfigFile/moveConfigDir to remove symlinks. Will not remove any configs from $configdir
2016-06-06 22:08:36 +01:00
Jools Wills
8e9c96728f
only set a default emulator if one is not already set, to avoid changing user preference on upgrade
2016-04-25 20:50:56 +01:00
Jools Wills
310a04f233
sort filelists in configuration editor
2016-04-21 00:00:06 +01:00
Jools Wills
c11c561c9d
correct delSystem call, and make sure it uses the correct config path
2016-04-12 04:07:57 +01:00
Jools Wills
11e22bc92b
added aptRemove function
...
update Kodi to use pipplware repo mirror on RPI, for Kodi 16 with joypad control. Thanks to Herb and Rascas
add remove function to Kodi module and support removing repository / key when removing dependencies
2016-04-09 02:39:24 +01:00
Jools Wills
9a9328b537
only use --no-install-recommends for when installing dependencies (so it can be used to install things like lxde with recommendations)
2016-04-07 19:03:18 +01:00
Jools Wills
5294895826
removed directlaunch functionality from script due to problems with the ES directlaunch code. Kodi launches from ports again
2016-03-29 05:10:15 +01:00
Jools Wills
9e3d573b13
new module variable md_conf_root that points to $configdir or $configdir/ports for ports - for ports in the libretro folder, this is set manually with setConfigRoot, and for "love" which is a ES system, but lives in ports (so configs go in $configdir not $configdir/ports to match the roms folder structure)
...
adjust ports configs / symlinks to $configdir/ports and move old configs to new location (when calling addPort)
fix up some paths in a few experimental modules (wolf4sdl / sdlpop)
2016-03-25 20:13:02 +00:00
Jools Wills
bf443023a4
use quotes for ini values in retroarch configurations, as when saving configs out from retroarch it uses quotes
...
pass parameters for delimiter / quote to iniFileEditor
remove rewind_enable config from lr-pcsx-rearmed - as it will will add it to the end of the config under the include, and rewind is disabled by default anyway. We can handle this from the config editor
fixes - #1389
2016-03-20 20:31:01 +00:00
Jools Wills
1144df515c
allow choice of comparison operator for hasPackage as a third parameter. we can now force sdl 2.0.3 to be installed - #1297
2016-03-11 17:09:19 +00:00
Jools Wills
bda9898f78
fix remembering position in config editor
2016-03-05 21:58:19 +00:00
Jools Wills
cf050f505c
fix default values in configuration/ini editor and show the value to go with an id when using _id_
...
make sure a value WIDTHxHEIGHT is used for custom render resolutions in configuration editor
don't append value to id lists in ini/config editor if value is unset
2016-03-05 21:19:18 +00:00
Jools Wills
4ebe602c1e
enhance the config editor to have configurable titles and custom item handling
...
simplify basic configuration / add render resolution to basic configuration
2016-03-05 19:22:01 +00:00
Jools Wills
ebed81c08c
Merge pull request #1332 from joolswills/directlaunch
...
add simple function for adding entries for "direct launching" from ES…
2016-03-05 01:07:20 +00:00
Jools Wills
edf837015a
add simple function for adding entries for "direct launching" from ES bar.
...
move kodi to direct launch
2016-03-05 00:57:39 +00:00
Jools Wills
00de75035d
strip path from file selection in config editor to make it easier to choose shaders/overlays
2016-03-04 20:37:49 +00:00
Jools Wills
ff65967820
enable setting aspect ratio
2016-03-04 20:24:29 +00:00
Jools Wills
0210d0f2ad
move ini file editing functionality to helpers.sh so it can be used by other modules
2016-03-04 17:39:01 +00:00
Jools Wills
3f5b529799
dont run apt-get remove with no packages
2016-02-22 15:41:35 +00:00
Jools Wills
ca61a47fb3
ignore custom sdl dependency versions when removing dependencies
2016-02-22 15:39:48 +00:00
Jools Wills
3700ac5cd1
add the ability to remove the dependencies for a module - by doing ./retropie_packages.sh module depends remove
...
it will remove all direct dependencies, and then remove any of those package dependencies with autoremove - including configs
if a package was installed before, it will be removed if listed, so this isn't a feature to "remove everything that retropie
installed" but is still useful for dependency testing etc
2016-02-22 12:19:30 +00:00
Jools Wills
11678e598f
don't require our custom sdl2 packages on x11 targets
2016-02-05 11:10:01 +00:00
Jools Wills
79b22fbdef
hasPackage incorrectly thought packages were installed when they had been removed (but not purged). fix up logic to check
...
package install status as well as version
2016-02-05 11:08:36 +00:00
Jools Wills
37129a51e0
Merge pull request #1239 from HerbFargus/directlaunch
...
Add Direct Launch to Helper Script (set essystem function)
2016-02-05 08:25:09 +00:00
HerbFargus
21283e3a63
Add Direct Launch
2016-02-05 01:21:23 -07:00
Jools Wills
825c480be9
rename fn_exists to fnExists and move to helpers as may be needed in modules
2016-02-05 00:20:50 +00:00
Jools Wills
c20409eede
use isPlatform mali rather than odroid
2016-01-19 18:43:00 +00:00
Jools Wills
d23d804b86
Merge pull request #1189 from joolswills/platform_flags
...
Platform flags
2016-01-17 14:51:17 +00:00
Jools Wills
1933bab38d
only et dispmanx config for rpi
2016-01-17 04:57:49 +00:00
Jools Wills
6e68f0b97b
missing the return 1 in isPlatform
2016-01-17 01:25:26 +00:00
Jools Wills
3209ada4ec
introduce platform flags, so we can be more flexible in module logic when building for platforms that share
...
similarities such as mali gpu, or armv7 etc
2016-01-17 00:35:19 +00:00
Jools Wills
658a07dd95
logic fix for sdl1.2 dependencies on odroid
2016-01-04 19:56:46 +00:00
Jools Wills
992466e782
allow platform "odroid" to match any odroid* platform
...
use our sdl2 (from source) for odroid
2016-01-04 03:49:11 +00:00
Jools Wills
423a242b29
use --cr-wrap and --no-collapse for dialog msgbox so that formatting is preserved (eg when used with the output from a command)
2015-12-03 18:15:15 +00:00
Jools Wills
94a3e80051
only try to move files in moveConfigDir if there are some
2015-12-03 04:03:09 +00:00
Jools Wills
5511ee7db7
create moveConfigDir/moveConfigFile functions to move existing configuration locations/files and symlink them - this de-duplicates a lot of the modules that make the configurations available from /opt/retropie/config
2015-12-03 03:38:02 +00:00
Jools Wills
a9da023314
unify the various copies of the ini processing functions, installing them to $rootdir/lib/inifuncs.sh for use by inputconfiguration.sh / runcommand.sh / mupen64plus hotkey scripts.
2015-11-26 00:01:36 +00:00
Jools Wills
f0b1495b03
no need for 5th rom parameter for ports
2015-11-24 01:07:28 +00:00
Jools Wills
030b3b96a3
added lr-ppsspp/ppsspp to git chroot workaround exclusion (as it has submodules)
2015-11-23 23:27:40 +00:00
Jools Wills
4ba618febb
use regexp to simplify comparisons for bypassing git in emulated chroot
2015-11-23 23:27:01 +00:00