Commit graph

392 commits

Author SHA1 Message Date
Jools Wills
1675c3b7e1 rework the addPorts functionality, making it use addSystem and emulators.cfg like the rest of retropie. Although in most cases this doesn't add any benefit
for things like doom / quake where there may be multiple engines, it makes switching available from runcommand etc. it would also allow adding additional launch options with say different wads / settings and so on. It also
simplifies the actual module scripting.
2015-11-07 14:30:03 +00:00
Jools Wills
003f4a3bf7 don't use chroot workaround for esthemes 2015-10-26 01:10:20 +00:00
Jools Wills
b6c238e899 de-duplicate script creation /chown / chmod for ports with addPort function 2015-10-23 01:08:09 +01:00
Jools Wills
01f573dcd2 addPorts function to replace setESSytem duplication for ports 2015-10-22 19:23:09 +01:00
Jools Wills
fc52459b2e install sdl1/sdl2 binaries when resoving dependencies based on __has_binaries var 2015-10-14 17:45:01 +01:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
27f0626a1f fix up version dependency checking. 2015-10-05 07:43:17 +01:00
Jools Wills
a4b87f20b9 add support for checking if specific package versions are installed and check for our own sdl1/sdl2 when satisfying dependencies 2015-10-05 07:23:41 +01:00
Jools Wills
e15818a7f6 interpret backslash escapes in console output in printMsgs 2015-10-04 20:03:17 +01:00
Jools Wills
6ccf223231 some accidentally committed dev code relating to unreleased/non working module 2015-09-22 02:15:44 +01:00
Jools Wills
1da1e322a9 use numerical comparison operators for raspbian version 2015-09-15 01:51:18 +01:00
Jools Wills
a346892298 don't try to apt-get install packages dependencies if we are handling them ourselves (rebuild packages array without them) 2015-09-10 22:33:11 +01:00
Jools Wills
596dd85080 fix up hasPackage when packages are installed but held 2015-09-10 22:30:36 +01:00
Jools Wills
e50f767e23 use printMsgs rather than echo, and correct array expansion * instead of @ 2015-09-10 20:57:23 +01:00
Jools Wills
18e9fc8a4e wrong package name for sdl2-dev in helpers check 2015-09-10 20:56:17 +01:00
Jools Wills
606b85b957 move libraspberrypi-dev -> rbp-userland-dev-osmc test / renaming 2015-09-10 19:51:34 +01:00
Jools Wills
17864ad27a force replacement of jessie sdl2 with ours when satisfying dependencies 2015-09-10 19:41:22 +01:00
Jools Wills
c4755cb93f use rbp-userland-dev-osmc instead of libraspberrypi-dev on osmc 2015-09-10 19:31:59 +01:00
Jools Wills
add98b4314 only use sdl1/sdl2 prebuilt binaries on wheezy 2015-09-10 19:17:23 +01:00
Jools Wills
c4b81dd1db only use sdl1/sdl2 prebuilt binaries on wheezy 2015-09-10 19:16:35 +01:00
Jools Wills
5721e47c1d reorgnise code for getting dependencies - making sure the raspbian repository is set (for things like OSMC), and moving code out of retropie_packages.sh to sytem.sh 2015-09-10 18:59:55 +01:00
Jools Wills
a5c589d198 woops. copy and paste fail. fix ensureSystemretroconfig path for lr-mame2010 also 2015-09-05 23:53:36 +01:00
Jools Wills
2452fd16d7 moved platforms.cfg to root - no point it being on its own in supplementary. 2015-08-26 00:00:07 +01:00
Jools Wills
1006d026c8 change logic for qemu chroot git workaround - don't use workaround for splashscreen (we need a real git checkout), and use $md_id rather than regexp matching 2015-08-09 19:52:50 +01:00
Jools Wills
f86c4b233e changing retropie defaults to allow easier switching of video smoothing by only setting it in the core - and turning it on my default. This should look better for most users without having to configure shaders. with the new configuration tool this can easily be changed. also default threaded video to off for better sync. #933 2015-08-06 20:42:01 +01:00
Jools Wills
da84464867 new module for editing of configs, and setting of common retroarch options 2015-08-06 20:02:39 +01:00
Jools Wills
89ee69c2ee make sure dispmanx.cfg is owned by pi user for easier manual editing 2015-08-01 17:17:22 +01:00
Jools Wills
a8b8ae049c add setRetroArchCoreOption to de-duplicate code in modules for changing retroarch core options 2015-08-01 15:49:48 +01:00
Jools Wills
4591517786 retroarch uses the first setting it finds so when using an #include to include the main config, settings that should override those in retroarch.cfg should be above it.
adjust the per system retroarch.cfg generation, so the #include is placed at the end.

as before if a retroarch.cfg exists, no settings will be changed in it, and instead a retroarch.cfg.rp-dist will be used - however, if the existing retroarch.cfg is missing the all important #include line, it will be added, along with a comment at the top.
2015-07-10 01:59:04 +01:00
Jools Wills
0a7c66ef60 allow setting of __nodialog to make printMsgs with dialog just echo to the screen - useful for running modules without interaction etc 2015-07-09 23:12:42 +01: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
Jools Wills
bc7f384749 rework the logic for creating the per system retroarch.cfg files.
If the file doesn't exist, create a new one
If it does, but misses the important #include line, then add it, but do further changes in a .rp-dist file

This avoids overwriting users custom options such as shaders when updating retropie. Users can use the .rp-dist
file to reference any new defaults.
2015-05-31 14:56:50 +01:00
Jools Wills
1f75779345 use mkUserDir 2015-04-07 12:53:32 +01:00
Jools Wills
36fff22dbb allow setting of framebuffer modes other than 320x240 2015-04-04 02:15:07 +01:00
Florian
be7214deb7 Merge branch 'master' of https://github.com/petrockblog/RetroPie-Setup 2015-03-28 06:20:06 +01:00
Florian
4df425c338 CHG: Updated header information 2015-03-28 06:19:16 +01:00
Jools Wills
24d177e43b check for existing file in iniGet 2015-03-28 03:14:13 +00:00
Jools Wills
7da8db182e if there is an existing platform retroarch.cfg, and it doesn't contain the include, insert it at the top, not at the end, so user options will still override 2015-03-27 20:09:05 +00:00
Florian
aab7fbd52d CHG: Added license information to all files 2015-03-27 17:28:38 +01:00
Jools Wills
a5e54f5b75 added $datadir - which points to ~/RetroPie where the roms/bios currently lives. Make the folder with $user permissions on script run 2015-03-26 18:16:10 +00:00
Jools Wills
fa94f219a5 use our mkUserDir function 2015-03-25 21:25:36 +00:00
Jools Wills
dc1c50ca1c added sorting for emulationstation configuration. #758 2015-03-25 19:56:24 +00:00
Jools Wills
b677b5f2b9 fix up regular expression matching - [\s] would not match a space but s - use [:space:] / [[:space:]#] instead of \s and [\s#] 2015-03-25 19:07:07 +00:00
Jools Wills
13e3f971f9 hack for qemu workaround with git freezes - as picodrive has submodules, we need to try and use git - even though it may lock up 2015-03-21 14:44:44 +00:00
Jools Wills
bf7fd6f75c use quoted values for dispmanx.cfg to match our other config files 2015-03-18 02:04:35 +00:00
Jools Wills
c161bccbff match regular expression in iniProcess needs to match from the beginning of the line with ^ or else it could match a key that has the same end 2015-03-13 23:53:46 +00:00
Jools Wills
ad91463e7f should make a relative symlink 2015-03-12 03:11:07 +00:00
Jools Wills
18affb830d workaround to create a genesis symlink when megadrive rom folder is created 2015-03-12 03:06:42 +00:00
Jools Wills
16b3f374c2 make sure $configdir and $configdir/all is created 2015-03-12 01:40:36 +00:00