Commit graph

216 commits

Author SHA1 Message Date
Jools Wills
5e8d5f02e5 retroarch - force rgui if not set, due to retroarch defaults changing from RGUI to XMB 2016-10-22 20:53:41 +01:00
Jools Wills
f5ffcfa631 add a new md_data variable for quick access to a modules additional data files 2016-10-19 21:56:38 +01:00
Jools Wills
204e9cf9c1 update modules to use new __os_* variables 2016-10-09 05:50:40 +01:00
Jools Wills
b5e57b9339 retroarch - remove non applying patch to disable search dialog. will need to check if we still need this and rework. 2016-09-21 13:53:41 +01:00
Jools Wills
a58023e4b2 retroarch - --enable-gles renamed to --enable-opengles 2016-09-21 13:53:01 +01:00
meleu
17e9789842 explicit use of rgui as the menu_driver
As reported by @RetroResolution [in the forum](https://retropie.org.uk/forum/topic/3728/playstation-ffmpeg-recording-causes-seg-fault-in-retropie-4-0-2-recording-megadrive-vcs-etc-still-fine/), the default `menu_driver` for RetroArch on raspi3 is xmb (raspi3 owners can reproduce it after reinstall RetroArch from source). For the sake of uniformity, it's better to explicitly set `menu_driver = "rgui"`, otherwise raspi3 users will get confused by the `xmb`.
2016-09-05 17:00:48 -03:00
Jools Wills
e744e69146 retroarch - incorporate retroarchinput into retroarch module 2016-09-01 22:27:04 +01:00
Jools Wills
61edb6acb8 move udev input chmod rules to helpers 2016-08-31 14:35:11 +01:00
Jools Wills
ef1a297607 retroarch - added libav*-dev dependencies for x11 targets 2016-08-31 14:29:26 +01:00
Jools Wills
15a6044227 cosmetic - missing newlines at end of files 2016-08-27 12:06:37 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
a704841294 helpers - create applyPatch function 2016-08-07 10:11:28 +01:00
Jools Wills
4496526044 retroarch - make sure retroarch input patch is only applied once - thanks to sparkchaser - fixes #1620 2016-08-07 08:56:59 +01:00
Jools Wills
1de0241287 retroarch - remove debug code - fixes #1608 2016-08-02 21:42:18 +01:00
Jools Wills
32b0f1e7eb retroarch - fix typo 2016-07-31 00:17:19 +01:00
Jools Wills
b3c0905317 retroarch - make sure libpulse-dev is installed for x11 targets 2016-07-28 21:39:44 +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
9361cda080 retroarch - use copyDefaultConfig 2016-07-15 17:38:27 +01:00
Jools Wills
31edf7071c cosmetic 2016-07-04 01:41:31 +01:00
Jools Wills
87df1233f7 uninstalled -> not installed 2016-06-27 01:22:20 +01:00
Jools Wills
cb983c2bf2 retroarch - don't process configure in remove mode 2016-06-16 13:51:09 +01:00
Jools Wills
c9c4eb9973 retroarch changes
* manage shaders/overlays from a retroarch gui function, so they can be updated separately from retroarch.
 * only install shaders by default (to save on space).
2016-06-16 05:16:36 +01:00
Jools Wills
6dc0d1107f de-duplication 2016-06-10 13:35:20 +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
5d82875644 change logic for default render resolution for rpi1 to just use 640x480, and ignore output res.
Although setting it based on the video res is fine for script installs, it's not very useful for the pre-made images, so let's
just configure it for performance - users can adjust it later as they want via the configuration editor
2016-04-12 02:42:06 +01:00
Jools Wills
47be83ff98 Merge pull request #1393 from joolswills/config_editor
Config editor
2016-03-21 02:43:50 +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
f172e8e7d5 set default retroarch render res on rpi1 to 640x480 is resolution is higher for performance 2016-03-16 15:13:32 +00:00
Jools Wills
0336fdf1b9 Merge pull request #1330 from joolswills/cache_directory
use /tmp/retroarch for unpacked files (create / remove it from runcom…
2016-03-05 00:59:03 +00:00
Jools Wills
4e0341ad49 use /tmp/retroarch for unpacked files (create / remove it from runcommand as needed) fixes #1323 2016-03-05 00:02:07 +00:00
Jools Wills
6dc92ecd60 turn off video smooth by default - #1288 2016-03-04 19:52:32 +00:00
Jools Wills
67a6f383dd add "neon" platform flag to be used instead of armv7 for neon optimisations 2016-02-29 10:20:10 +00:00
Jools Wills
ccb3f73b91 Merge pull request #1278 from joolswills/hotkey_hack
wait for 5 frames when hotkey enable is pressed before blocking - wor…
2016-02-21 10:46:03 +00:00
Jools Wills
f676998cec wait for 5 frames when hotkey enable is pressed before blocking - works around some issues with sharing a hotkey with a button used in a game. based on https://github.com/recalbox/recalbox-buildroot/pull/72 2016-02-20 17:14:47 +00:00
Stefan
eeb84b6f2d retroarch.sh: use new rpi shader branch 2016-02-19 19:59:38 +01:00
Jools Wills
bfd885727b fix up retroarch params logic - missed the params= for x11 - reordered the logic so params is only "added to" 2016-01-20 06:35:02 +00:00
Jools Wills
ada536eb9c rework the retroarch configuration params (all use sdl2, enable floathard for all arm, and neon for all armv7). 2016-01-19 22:18:02 +00:00
Jools Wills
5a995d2397 use x11 instead of x86 for retroarch target logic 2016-01-19 06:23:32 +00:00
Jools Wills
184dda8c8e use !mali instead of !odroid 2016-01-17 00:36:03 +00:00
Stefan
4dfbaa8f51 retroarch.sh: use cg shaders for platform x86 2016-01-07 18:11:21 +01:00
Jools Wills
6104d2a1e9 rpi params for retroarch configure were moved to rpi2 only, use them for both rpi, and leave rpi2 with just --enable-neon 2016-01-04 17:05:27 +00:00
Jools Wills
db436c1b21 added mali-fbdev dependency for retroarch 2016-01-04 03:49:11 +00:00
Jools Wills
15860a9055 added mali-fbdev to retroarch for odroid 2016-01-04 03:49:11 +00:00
Jools Wills
683115fddf switch back to udev driver - too many problems with name mismatches when using sdl2 by default. for the controllers that have different button mapping, we can either work around it manually, or put up instructions on the wiki for switching to sdl2 driver 2015-12-30 14:56:07 +00:00
Stefan
c0695a01cb retroarch: enable "video_fullscreen" if platform is x86 2015-12-29 17:29:11 +01:00
gizmo98
33c828faae Use sdl2 for platform x86 2015-12-24 15:32:57 +01:00
gizmo98
4adca0dd46 Update retroarch 2015-12-24 15:26:30 +01:00
gizmo98
71f1f958d3 retroarch: use sdl2 as input_joypad_driver
Contrary to retroarch wiki sdl2 supports hotplugging as well.
https://github.com/libretro/RetroArch/wiki/Input-drivers-in-Linux-withou
t-Xorg#joypads

Switch to sdl2 so there is no button mismatch between emulationstation
generated controller configs and retroarch’s udev driver.
2015-12-05 13:21:03 +01:00
Jools Wills
ee38bf4652 make retroarch depend on libusb1.0 only for jessie and above. force enable-sdl2 and disable jack audio (to avoid more conditions where
retroarch decides to link against a library we don't have in the depends because it was installed when building binaries)
2015-12-01 15:24:27 +00:00
Jools Wills
9ba828d08e added libusb-1.0-0-dev dependency for retroarch 2015-12-01 15:13:41 +00:00