Commit graph

56 commits

Author SHA1 Message Date
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
Jools Wills
b965f21e46 emulators - added rp_module_repo to emulators using git
Also fixed hatari licence link
2021-02-15 23:54:13 +00:00
Jools Wills
3456036c17 gpsp / lr-gpsp - use gcc-6 to workaround segfault with gcc-8 on buster
lr-gpsp:

cpu_threaded.c built with -O2 on gcc 8 produces a non working binary. This source already had
a different optimisation level from the rest of the code (O2 vs O3). However, on gcc-8 it causes
a non working binary when built with anything other than O0, but this could have some performance
issues (would need testing on a rpi1).

I compared all the different optimisation flags enabled by O1 and also with any changes from gcc-6,
but not all GCC optimisations are controllable from flags. It was not possible to produce a working
binary with O1 - even disabling all the configurable optimisations enabled by O1.

The issue is most likely undefined behaviour in this file (which has a lot of large macros), and it
probably needs some fixes. However it could be a bug in the gcc-8 optimiser code.

As the issue isn't present with gcc-6, and as gcc-6 is available on Debian buster, the easiest
workaround is to just force the code to be build with gcc-6.

Also adjusted the makefile to pass parameters for the make clean, as some platform specific objects
are not removed otherwise.

gpsp:

Forced gcc-6 as with lr-gpsp.

Simplified the module flags to just include videocore platforms.
2020-07-21 05:01:51 +01:00
Jools Wills
6af5c2047b updated module flags for all emulators 2020-02-22 08:23:26 +00:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
165be4789b packages - put back in removing previous install folders, but with a noinstclean flag for those emulators that save user data still in $md_inst 2017-02-07 00:37:00 +00:00
Jools Wills
eda4f61136 updated all modules to use addEmulator / addSystem 2016-12-31 02:49:04 +00:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
HerbFargus
86da2c00bc finish docs for the rest of the emulators 2016-06-11 00:14:31 -06:00
HerbFargus
ae97909192 Add help docs to emulator and libretro modules 2016-06-10 14:54:23 -06: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
89d4b03bdd use md_conf_root in modules when referencing configs for the particular module 2016-03-26 15:28:15 +00:00
Jools Wills
94dc5d1696 no need to remove hardcoded rpi1 optimisations from gpsp as removed in the repo 2016-02-07 19:11:15 +00:00
Jools Wills
184dda8c8e use !mali instead of !odroid 2016-01-17 00:36:03 +00:00
Jools Wills
c6423c753d use isPlatform for platform flag checking so we can do !rpi or !odroid
disable rpi emulators on odroid
2016-01-04 03:49:11 +00:00
gizmo98
d3205a7251 disable modules with rpi optimizations for now 2015-12-24 14:45:32 +01: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
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
HerbFargus
75593451ac revert permissions back to pi to enable savestates
I couldnt figure out how to get gpsp to not overwrite the romdir.txt
created so for the time being this PR just enables savestates but they
are all currently saved in /opt/retropie/emulators/gpsp. If people wish
for their configs to be saved they need to exit from the F10 menu rather
than pressing escape.
2015-09-28 19:10:53 -06:00
Jools Wills
3b23628e46 added some missing dependencies to modules (mostly libsdl1.2 - would only have been noticed if installing single modules from a fresh raspbian) 2015-09-10 22:39:01 +01:00
Jools Wills
a6933a6445 use githubs preferred access protocol - https:// - before we had mixed git:// and http:// around the code 2015-06-16 16:50:37 +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
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
00933bc117 symlink gpsp.cfg to $configdir/gba/ 2015-03-27 21:41:30 +00:00
Florian
aab7fbd52d CHG: Added license information to all files 2015-03-27 17:28:38 +01:00
Jools Wills
9de66f354e gpsp folder doesn't need to be writable 2015-03-26 14:52:33 +00:00
Jools Wills
ae3472eb8e use lr-gpsp by default over gpsp 2015-03-25 20:52:58 +00:00
Jools Wills
91ac8c7405 add symlink for gba_bios.bin so it can be installed with the other BIOS files at RetroPie 2015-03-13 19:17:57 +00:00
Jools Wills
c1ca5cdc2f updated gba emulators to use addSystem 2015-03-09 17:20:47 +00:00
Jools Wills
527aef3fc0 remove raspberry pi1 specific optimisations 2015-02-08 03:47:31 +00:00
Jools Wills
f937baa863 rename checkNeededPackages to getDepends 2015-01-08 22:03:12 +00:00
Jools Wills
7160e8492a uncomment rp_module_flags and instead remove the dispmanx flag from gpsp 2015-01-06 21:39:52 +00:00
gizmo98
174859c64e gpsp: Remove dispmanx flag and keep current resolution.
GPSP seems to use GLES without SDL for rendering. So DISPMANX SDL has no effect. I just modified the gpsp source to get the same result as DISPMANX SDL. I also added a SELECT+START exit emulator combo.
https://github.com/gizmo98/gpsp/commits/master
2015-01-04 18:14:33 +01:00
Jools Wills
0582fd3f00 add dispmanx flag to more sdl framebuffer based emulator modules 2015-01-02 20:26:43 +00:00
Jools Wills
1d9f781ebd add an additional parameter for runcommand which will be used for saving of the video output mode and display in the menu.
we pass the module id in, which is short and should be clear to the user if manually fiddling with the config. if the parameter is
empty, it the name of the binary will be used
2014-12-29 16:16:08 +00:00
Jools Wills
51b65bd0d8 Merge branch 'master' into srcbin_reorga
Conflicts:
	scriptmodules/emulators/gpsp.sh
	scriptmodules/emulators/mupen64rpi.sh
	scriptmodules/emulators/openmsx.sh
	scriptmodules/helpers.sh
	scriptmodules/libretrocores/mupen64libretro.sh
	supplementary/scripts/input/basic.py
2014-12-19 22:43:45 +00:00
Jools Wills
7eca5ed017 take a single parameter for ram in rpSwap - the total needed ram - rpSwap will calculate how much additional swap is needed 2014-12-19 22:21:27 +00:00
Jools Wills
11660ba459 files that should have been committed as part of 691dd7551e 2014-12-16 22:08:32 +00:00
Jools Wills
227a06070c renamed rps_checkNeededPackages to checkNeededPackages as it is used by modules and setup 2014-12-12 17:59:23 +00:00
Jools Wills
8531edf9dd rename variables returned by modules. these would be better dealt with in a function - would be more flexible 2014-12-12 02:51:33 +00:00
Jools Wills
40abc2da8f use descriptive variables for use in modules rather than $1 / $2 etc. They have local scope in the parent function so are visible.
the build/install paths are pregenerated making modules even simpler - we use the module type to decide where to put it, which
will be needed for supplementary / libretrocores
2014-12-12 02:34:51 +00:00
Jools Wills
0b6c6e528d fixed - missed some paths in the module changes
fastdosbox referred to rpix86 - switched to correct binary, but probably needs some more changes
2014-12-12 01:45:20 +00:00
Jools Wills
1abd1aba53 fixed - left over pushd after memory/swap changes 2014-12-11 21:13:54 +00:00
Jools Wills
04307b8101 reworked gpsp for new build location / system 2014-12-11 18:45:45 +00:00
Jools Wills
df8f73155d changed: use megabytes for both rpSwap memory parameters 2014-12-11 02:42:47 +00:00
Jools Wills
9e655af4c3 replace previous swap on/off with the new code. the "limits" might need tweaking. But hopefully we can find a balance between
the need to add additional swap based on the users machine and existing swap set up.
2014-12-11 02:32:17 +00:00
Jools Wills
a7df47b4a2 since we are adding swap - we don't need to remove optimisation from the Makefile for 256M pi's. It wasn't working
anyway since the default cflags for retropie-setup add -O2
2014-12-11 01:23:23 +00:00