288 Commits
Author SHA1 Message Date
Jools Wills a5eb4ccf1b cosmetic - styleguide / remove undeeded comments 2016-12-14 01:51:15 +00:00
Jools Wills f097383bcb retropie_setup - don't need root check here (done in retropie_packages.sh) 2016-12-14 01:51:15 +00:00
Jools Wills e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills 889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian ca9b3e858c CHG: Fixed permissions 2015-10-11 21:11:17 +02:00
Florian db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills ce8ede4def updated licence url (to RetroPie org). Remove . at end of licence url to avoid any confusion 2015-06-16 16:41:34 +01:00
Florian 4df425c338 CHG: Updated header information 2015-03-28 06:19:16 +01:00
Florian 64855e6658 CHG: Modified copyright notices and header information 2015-03-27 16:33:04 +01:00
Florian 34e3333db0 CHG: Added new license information to header 2015-03-27 07:29:02 +01:00
Jools Wills af01a9b35d add root check to retropie_setup.sh as otherwise the rootcheck in retropie_packages.sh will give the wrong commandname as an example 2015-03-14 15:46:06 +00:00
Jools Wills 376f891d52 make retropie_setup a module - meaning we can now call individual functions in it via retropie-packages 2015-03-02 22:02:37 +00:00
Jools Wills ebc7dd01a5 move backtitle to retropie_packages.sh so it is set for modules when called directly from retropie_packages.sh 2015-02-26 03:29:29 +00:00
Jools Wills e63176d4f0 update copyright date 2015-02-21 17:03:46 +00:00
Jools Wills 3d4ba5597b move retro-pie setup main menu to retropiesetup.sh
rename checkForLogDirectory to rps_checkForLogDirectory, and move to retropiesetup.sh
simplify logic in rps_checkForLogDirectory
2014-12-16 03:03:04 +00:00
Adrian Moisey 6af6266e46 Use full path
So that retropie can be called from any location.
2014-08-09 12:39:45 +02:00
Florian 6e856552ef Added menu "EXPERIMENTAL" 2014-08-07 07:41:47 +02:00
Jools Wills d07f45028b de-duplicate setting of dialog backtitle everywhere - use a global variable and set it in retropie_setup.sh once 2014-08-02 18:52:05 +01:00
Jools Wills 842c185abf split out package functions to packages.sh 2014-07-20 19:39:20 +01:00
Jools Wills a91caebc91 use .sh for scriptmodule extension as shinc is no standard (so editors can't guess syntax highlight by default). 2014-07-20 19:37:33 +01:00
Jools Wills 3828ced538 removed overkill import function. We don't need to search library paths etc, we know where our modules are. 2014-07-20 19:36:19 +01:00
Florian a5ff0a39a0 Fixed binaries-based installation 2014-07-19 12:04:56 +02:00
Jools Wills 59c2169c3b move setting default gcc version to retropie_packages.sh so it is used for both manual commandline building and the dialog gui 2014-07-17 17:50:38 +01:00
Jools Wills 2bbc67a2d1 we can check for required packages just once in retropie_packages.sh 2014-07-16 18:45:17 +01:00
Jools Wills 9df5e737f2 move some duplicated functions to helpers.shinc and remove duplicated startup code from retropie_setup.sh. retropie set up now gets it's
initial environment from retropie_packages.sh so there is no duplication of functionality. However it might be even cleaner to have a core module that contains this stuff and perhaps another module for packages, so the root shell scripts become simplified.
2014-07-16 18:27:00 +01:00
Florian c69cc316a3 Merge branch 'pr/376' 2014-07-16 07:49:02 +02:00
Jools Wills bdbdc0c905 rework the main sources/setup menus so that the control for the menus is configured in retropie_packages. This allows for considerable
de-duplication, and new packages can be added without having to manually add menu entries for them.

retropie_setup.sh calls retropie_packages with the parameter init, to load the arrays with the package information. this will also
allow some de-duplication of start up code between these two scripts later.

the rp_registerFunction now takes an additional parameter after the description which is in the format

I+command

where I= the menu you want it to appear in (2=source menu, 3=setup menu)
+ or - says whether the item will be enabled or disabled by default (for the source menus which uses checkboxes)
command is optional and sets the default command to pass to retropie_packages when building. for example in the setup menu
some options use "configure".

you can add multiple menu entries. eg for SNESDev to appear in the sources menu as well as setup menu, you could use

"2+ 3+configure"

in the sources menu it would download/build/install and in the setup menu it would just configure

the next step with this could besplit/separate out the packages to their own modules and have them dynamically included, so it is even easier to add new items without
having to edit the large cumbersome rp_registerFunction list
2014-07-15 18:35:58 +01:00
Florian 98f7a95bbb Merge pull request #350 from gizmo98/patch-2
Set default gcc version at startup
2014-07-13 19:37:28 +02:00
Jools Wills c008a59d02 use chown $user:$user rather than chown/chgrp 2014-07-13 18:04:48 +01:00
Jools Wills 5ce5f33719 cosmetic - script files contain mix of spaces/tabs indentation and trailing whitespace. convert tabs->spaces and strip trailing whitespace 2014-07-12 15:05:15 +01:00
gizmo98 611f8eb2d4 Set default gcc version at startup
like retropie 1.x
2014-07-06 13:54:53 +02:00
Florian 02c01221b5 Rreorganization and restructuring
Major reorganization of folder structure and refactoring of
RetroPie-Setup Script. This is a major update and is not compatible to
the previous versions of RetroPie installations.
2014-06-28 13:35:27 +02:00
Florian 23a96f70c2 Code clean up 2014-04-29 07:39:23 +02:00
gizmo98 217be57f85 Add scripts folder 2014-04-03 17:10:25 +00:00
Florian 88e2e6693f Enhanced installation routine of Mupen64plus-Rpi, updated installation routine for SNESDev 2013-11-24 09:57:51 +01:00
Florian 97061080e4 Added Mame4All-Pi, added new log functionality, fixed default flags for "as", fixed default ES-settings for Mupen64plus-rpi 2013-11-05 19:35:21 +01:00
Florian 7b6e759d3f Added RetroArch Netplay Configuration, minor fixes 2013-10-22 21:13:31 +02:00
Florian fc81c02c12 Added emulators, added splashscreen configuration, fixed USB-Copy-Service, minor fixes (#230, #236) 2013-10-16 21:47:19 +02:00
petrockblog 9bc0f5720f Added function for configuring audio settings, added check for calling user 2013-07-30 07:24:18 +02:00
petrockblog 110b506fc3 Refactored the whole script, added Genesis (RetroArch) emulator picodrive, updated uae4all installation, fixed Atari800 installation, fixed FBZX installation 2013-07-24 06:37:03 +02:00
petrockblog 8d1b794f5e Added overscan settings to /boot/config.txt 2013-07-19 18:40:17 +02:00
petrockblog f87a8056fe Added library libeigen3-dev for Emulation Station, added Atari800 emulator, added Unreal Speccy emulator, fixed runcommand script 2013-07-19 18:25:46 +02:00
petrockblog 55fa09e208 Further enhanced the boot behavior function. 2013-07-14 11:22:37 +02:00
petrockblog a7f0e4fec3 Enhanced boot behaviour function. 2013-07-14 11:20:17 +02:00
petrockblog c3a7471d88 Fixed prboom installation when using pre-compiled binaries. 2013-07-12 22:43:27 +02:00
petrockblog d42e40c209 Enhanced installation functions for ES-config 2013-07-12 06:45:40 +02:00
petrockblog 41435c7c76 Added option for UPDATING the binaries of an existing RetroPie installation. 2013-07-11 07:17:52 +02:00
petrockblog 6dd003d906 Updated ES-config installation routine 2013-07-09 18:04:11 +02:00
petrockblog 11623231d7 Updated repository of RetroArch , minor script enhancements 2013-07-09 06:59:08 +02:00