Commit graph

1904 commits

Author SHA1 Message Date
Jools Wills
51216c8a49 a bit of de-duplication for sdl2 module 2015-02-22 02:28:17 +00:00
Jools Wills
91542b41f8 handle installing of our custom libsdl2 packages in the helper to simplify module dependencies 2015-02-22 02:06:18 +00:00
Jools Wills
db1ad5631e replace the setAutoconfHotkeys.py with bash code in the module. slower, but easier to manage in a single place - it is not a speed critical
function anyway, as it only gets run on install (or when called manually).
2015-02-21 19:32:49 +00:00
gizmo98
b72f3ff09f retroarchautoconf.sh: Cleanup
Remove unnecessary sudo and cp -r
2015-02-20 22:05:37 +01:00
gizmo98
64b6c829bb retroarchjoyconfig: Add hotkeys to config file after joyconfig
With setAutoconfHotkeys.py we can set START + SELECT = EXIT for every new autoconfig file.
2015-02-19 19:12:50 +01:00
gizmo98
9d3595a774 Add setAutoconfHotkeys.py, a script which adds hotkeys to all retroarch autoconfig files and remove retroarchautoconfig.py. 2015-02-19 18:08:30 +00:00
gizmo98
c52f67932c retroarchautoconf.sh: Merge with retroarchjoypadautoconf 2015-02-19 19:03:02 +01:00
Jools Wills
35a4aeb483 $rootdir/configs -> $configdir 2015-02-18 23:36:45 +00:00
Jools Wills
49bdb68955 rework of message / error handling:
* use arrays for info/error messages
 * create a helper function to print our information to console/dialog etc
 * rename prebious printMsg to printHeading
 * fix for duplication of error messages in rp_callModule
2015-02-15 20:28:02 +00:00
Jools Wills
b6d11bd46c Merge pull request #645 from joolswills/dispmanx
Dispmanx
2015-02-13 02:50:27 +00:00
Jools Wills
5150ae98a9 the sdl1 changes are now managed on github at https://github.com/joolswills/sdl1 - we can grab a diff between master / and our rpi branches automagically thanks to github,
and apply against the debian package.

bumped the version number of the created debs, as some additional fixes have been made to the dispmanx output
2015-02-13 01:18:57 +00:00
Jools Wills
55fcb88882 missing \n 2015-02-12 17:55:18 +00:00
Jools Wills
88a6dfb60e disable platform specific CXXFLAGS for ps3controller/sixad build and just use -O2 -
we use an older gcc for this and it doesn't like out newer rpi2 flags, but due to the nature of the program it doesn't actually need specific arm platform optimisation
2015-02-12 17:37:52 +00:00
Jools Wills
c058846ce2 update runcommand to use SDL environment variable rather than changing library path for new SDL that has fbcon & dispmanx
remove old sdl1dispmanx module
change sdl1 install to delete /opt/retropie/supplementary/sdl1dispmanx as it is no longer needed
2015-02-12 17:31:06 +00:00
Jools Wills
3802bdb4ae added dispmanx support to our sdl - enabled by changing env SDL1_VIDEODRIVER to "dispmanx". By default it still outputs
to framebuffer. This will replace our current system of having a additional sdl library installed

the dispmanx code was based on work by vanfanel, with a lot of cleanups/changes.

I stripped it down, removed a lot of code I didn't think was needed, and made some improvements - such as fixing a crash for me with advmame + sdl (and other code that called SDL_GetVideoInfo/ListModes), rewriting the scaling code, removing an exit(0), fixing a double free issue, de-duplicating it by making it share the SDL input/video headers, and some other bits
2015-02-12 07:50:42 +00:00
Jools Wills
96521c84a5 change location of simple theme for emulationstation so install works even though main site is down. The archive is also updated with a fix/change for msx 2015-02-07 23:19:21 +00:00
Jools Wills
bdd71350c1 it is tidier to not include slash on binaries url 2015-02-07 23:05:52 +00:00
Jools Wills
d1edb5a6db updated sdl1 patch with a fix for WaitVBL on framebuffer. Thanks to vanfanel - https://github.com/raspberrypi/firmware/issues/354#issuecomment-73210487 2015-02-06 16:13:42 +00:00
Florian
d72c8e17fa Merge pull request #631 from joolswills/sdl1_rpi
own packaged sdl1.2 for the pi
2015-02-06 07:02:46 +01:00
Jools Wills
07dd538cd4 sdl2 module changes -
* build in subdirectory, so debs are created under sdl2
 * use __binary_url for file location
 * don't remove debs after installing from source so they can be uploaded as needed to repository/archive
2015-02-06 03:25:44 +00:00
Jools Wills
5f9441569a we don't want to build sdl1 from source by default 2015-02-06 02:00:36 +00:00
Jools Wills
5672501712 don't remove debs after building - so we can manually copy for binary distribution etc 2015-02-06 01:35:39 +00:00
Jools Wills
890bd26d9a added sdl1 module for building/install sdl1 from source/binary with rpi fixes. detailed info here on why this is required https://github.com/raspberrypi/firmware/issues/354 2015-02-06 01:32:53 +00:00
Jools Wills
3f25b68d48 added gpu_mem_1024 config for rpi 2 2015-02-03 22:45:58 +00:00
Jools Wills
e771e4202f fixed - wrong path 2015-02-03 19:48:34 +00:00
Jools Wills
4ce0e28bb7 give the freetype include location to cmake for emulationstation so it can find the headers/library. This is needed since freetype6 2.5.x was introduced into raspbian - see https://bugs.launchpad.net/raspbian/+bug/1417732 2015-02-03 19:36:33 +00:00
Jools Wills
adc78ffbc9 the BIOS dir isn't only used by retroarch - so let's make it by default, and also reset permissions in our reset permissions module 2015-01-28 00:54:53 +00:00
Jools Wills
7c71277f7c get rid of fancy permissions for the rom directory structure - let's just have it owned by $user:$user 2015-01-28 00:50:32 +00:00
Jools Wills
d62e72b606 safe_mode has been removed from the default firmware since march 2014 - http://www.raspberrypi.org/forums/viewtopic.php?p=522114#p522114
so we no longer need to disable it
2015-01-28 00:19:32 +00:00
gizmo98
335d72aaae ps3controller: Fix sixpair path
The PS3 installation always fails at line 40. Should be fixed with the right sixpair path. See:
http://blog.petrockblock.com/forums/topic/possible-script-error-in-retropie/
2015-01-25 15:54:17 +01:00
Florian
ec504f498a Updated URL of themes download. 2015-01-22 20:40:14 +01:00
Jools Wills
c3aa86b2ec remove not very useful NS parameter for google git repositories and make the helper do this automatically.
add support for cloning a specific branch - which is more more useful parameter :)
2015-01-13 20:54:57 +00:00
Jools Wills
4bc1e36d86 added helper function for setting dispmanx config 2015-01-13 16:34:38 +00:00
Jools Wills
84f5e93d9e de-duplicate modules a bit. before we were settings snd_bcm2835 in /etc/modules - since raspbian includes snd-bcm2835, we could
cause a duplicate, so let's use raspbian naming, and remove our old one if it exists.
2015-01-12 17:00:55 +00:00
Jools Wills
db9018ad79 removed uneeded enable/disable function for retronetplay
hardcode default host ip - not really much help setting local ip and might confuse people (since it need to be the ip of the other machine in client mode). perhaps setting the LAN ip prefix
would be handy, but not that important
2015-01-12 02:42:46 +00:00
Jools Wills
d91a5b9dc2 instead of having to go into retronetplay configuration to enable/disable it (and then back to emulationstation etc), add the option to launch
with netplay enabled into the runcommand.sh menu
2015-01-12 02:24:03 +00:00
Jools Wills
9434f9aced use runcommand.sh to handle netplay parameters - which is better than having to regenerate emulationstation configs all the time and simplifies things 2015-01-12 01:49:01 +00:00
Jools Wills
665a21ab08 cleanup of retronetplay
* moved config to $rootdir/configs/all/retronetplay.cfg
 * reduce complexity of parameters passed to setESSystem
 * code duplication / cleanup etc
2015-01-12 00:47:06 +00:00
Jools Wills
6e2c6a09fc fix some more warnings from shellcheck 2015-01-11 21:30:38 +00:00
Jools Wills
bbaaad975c various fixes based on recommendations from shellcheck
changed order of retronetplay module so functions can be found
2015-01-11 21:26:10 +00:00
Jools Wills
29846e0a07 Merge branch 'master' of github.com:petrockblog/RetroPie-Setup into upstream_master 2015-01-11 20:41:16 +00:00
Jools Wills
81f650f97a styleguide changes:
* some more indentation fixes
2015-01-11 18:01:10 +00:00
Jools Wills
8b902ad292 styleguide changes:
* `command` -> $(command)
2015-01-11 17:44:37 +00:00
Jools Wills
231051ccad styleguide changes:
* add newline to end of main scripts
2015-01-11 17:32:20 +00:00
Jools Wills
afa61f58a0 styleguide changes:
* some errors fixed from previous styleguide fixes
 * some missed [ ]
2015-01-11 17:28:57 +00:00
Jools Wills
2fd9bd4e71 styleguide changes:
* [[ "a" != "" ]] -> [[ -n "a" ]]
2015-01-11 17:19:51 +00:00
Jools Wills
81fdba97fc styleguide changes:
* [[ "a" == "" ]] -> [[ -z "a" ]]
2015-01-11 17:15:36 +00:00
Jools Wills
641178f761 styleguide changes:
* [ ] -> [[ ]]
  * [ a = b ] -> [[ a == b ]]

note asplashscreen script left with [ ] as it doesn't specify bash directory
2015-01-11 17:11:11 +00:00
Jools Wills
a963129905 removed -j8 for sdl2 source 2015-01-11 16:25:55 +00:00
Jools Wills
3da74f87d7 only install binary sdl2 depends on rpi 2015-01-10 12:58:23 +00:00