Commit graph

42 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
1416b9ec94 uae4arm - added missing .ipf extension 2022-05-03 19:11:45 +01:00
Jools Wills
9e40fcd969 uae4arm - enable for dispmanx (works ok on rpi4 + fkms) 2022-05-03 19:11:45 +01:00
Jools Wills
f330a8987b amiberry - Update to v5.1 and rework amiberry/uae4all modules
Update amiberry version to v5.1 tag

Remove no longer needed libxml2-dev dependency

Add patch for amiberry Makefile so it doesn't override our CFLAGS/CPPFLAGS/LDFLAGS

Remove -O3 from Makefile so it uses our default optimisation level. Previously this was -Ofast but from my own testing -O2 with our compiler flags works best.

Modify build_amiberry with updated paths for caps bootstrap/configure. Override CPUFLAGS for amiberry, so our flags are used, rather than the ones hard-coded into the Makefile.

Include abr and kickstarts folder in install_amiberry. The kickstarts folder includes a freely distributable AROS rom, so let's include it.

Symlink cd32.nvr from "$md_inst/data" to "$md_conf_root/amiga/amiberry" so it's writable by amiberry.

Split uae4arm's shared configure function out so uae4arm and amiberry now only share the launcher code. There is a small amount of duplication with some folder creation in configure_amiberry but it makes sense to split them due to the new amiberry changes.

Rework uae4arm/amiberry configure functions to simplify logic and remove nesting by changing order of calls.

Change the addEmulator calls in uae4arm and amiberry due to parameter ordering changes in the shared launcher script.

Move rom location for amiberry/uae4arm/uae4all to $biosdir/amiga

Create update hook to move / symlink kickstart ROMs from $biosdir to $biosdir/amiga

Add .lha to module description extensions

Added .chd extension to platforms.cfg

Rework the logic in the shared launcher script:

 * Instead of setting EMULATOR variable via sed in uae4arm/amiberry we just change "use_amiberry=0" to "use_amiberry=1" in configure_amiberry.
 * Argument ordering is changed to simplify the logic. Previously the launch script expected [CONFIG] [ROM/GAME], and setting [CONFIG] to auto or "" would handle it automatically. Now it uses [ROM/GAME] [ARGS]. As passing in a configuration was optional, it made it simpler just to have the ROM first, and then allow additional arguments to be sent to the emulator.
 * We now build up an parameters array which avoids duplication and simplifies the code - There is only a single call to launch uae4arm/amiberry with the processed parameters.
 * Switched to using the amiberry --model parameter over our previous rp-a500.uae/rp-a1200.uae configs. Users who have set a particular rom to use amiberry-a500/amiberry-a1200 will still get the same functionality but it will instead use --model A500/A1200. A per rom .uae config can still be saved with customised settings for an adf etc.
 * added support for .chd files for amiberry

How uae4arm.sh handles launching:

 * If the first argument (ROM/GAME) is a .cue or .lha file, and we are launching amiberry, use amiberry's --autoload function.
 * Otherwise if a rom argument is present, see if it's an archive (only zip supported currently). If it is, unpack all known disk image extensions from the archive attach each one as floppy drive arguments (-0 / -1 / -2 etc)
 * If it's not an archive, treat it as a disk image itself, and try and find additional files starting with the same name (eg Game_Disk1/Game_Disk2) and attach them as floppy drive arguments.
 * We then check if there is a .uae config file with the same name as the ROM argument in the ROM's folder or in amiberry's conf folder.
 * If there isn't we will try and use a config based on the filename. For uae4arm it will use the pre-installed rp-a500.uae config by default and rp-a1200.uae for any files containing AGA or CD32. For amiberry we use the --model parameter which chooses a default config based on argument. By default we use A500, but switch to A500P if a file contains ECS and A1200 if a file contains AGA, and CD32/CDTV if those strings are included also (Although cd images are handled separately so this may not be too useful).
 * We always set -G to not show the GUI when the first argument is present - to override this the first argument can be blank and manual parameters can be used (or the amiberry executable can just be used directly)
2022-05-03 19:11:45 +01: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
3864a8eaca uae4arm - added missing libmpeg2-4-dev and removed unneeded parameter support
* the depends_uae4arm is no longer used by amiberry
2020-04-23 14:18:49 +01:00
Jools Wills
6af5c2047b updated module flags for all emulators 2020-02-22 08:23:26 +00:00
Jools Wills
de71dab0d3 amiberry / uae4arm - skip install configure options on removal 2019-04-13 19:42:05 +01:00
Conn O'Griofa
6632b40f12 amiberry: update for new SDL2 release
* Expand possible build targets to odroid-xu and tinker (untested by me)
* Build -sdl2 version for everything except Pi
* Build -sdl1 version for Pi with default driver, or -sdl2 for f/kms.

The sdl2-dispmanx port won't be selected, because KMS is not yet
a supported target on RetroPie for Pi, and we don't currently
distinguish between fake and full kms in the platform flags.

Fixes #2264.
2018-02-04 23:02:39 +00:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Conn
9405715960 Amiga: remove emulator ROM scripts correctly on uninstall
Applies to uae4all, uae4arm & amiberry scripts.
2017-07-15 08:35:42 +01:00
Jools Wills
3d20023c07 added amiberry - fixes #1880 2017-03-06 18:34:44 +00:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
7ea56a75ff uae4arm - no need to call bash specifically, since the launch script will be on the main filesystem 2017-02-19 23:53:41 +00:00
Jools Wills
156c8781a7 uae4arm - game launch script / enhancements
* add default a500 / a1200 configs
 * allow launching directly from adf/dms/zip
 * support multiple disks in zip or if named *Disk1.adf *Disk2.adf as separate files
 * choose a1200 config if filename contains AGA or CD32 else use a500 config
2017-02-09 20:19:16 +00:00
Jools Wills
87c8b439f6 roms -> games in module help for machines that generally don't run games from rom (the term rom is horribly misused online). 2017-01-28 00:06:08 +00:00
Jools Wills
e64e27d79e exts/name are addSystem parameters - move to platforms.cfg also / fix some typos 2017-01-06 00:57:37 +00:00
Jools Wills
eda4f61136 updated all modules to use addEmulator / addSystem 2016-12-31 02:49:04 +00:00
Jools Wills
bee63546cf don't rely on executable permissions for launching .sh scripts - use bash directly 2016-10-20 03:25:46 +01:00
Jools Wills
18cf9471e2 uae4arm - fix rpi2/3 builds - allow upstream makefile to control CXXFLAGS to avoid conflicts 2016-10-01 14:01:22 +01:00
Jools Wills
075ccac0be uae4arm - fix rpi2 build (use CXXFLAGS for CPU_FLAGS and clear CXXFLAGS to avoid doubling parameters) 2016-09-07 18:30:20 +01:00
Jools Wills
0c38d8100e uae4arm - updated dependencies 2016-09-06 13:54:13 +01:00
Jools Wills
86c6aa71ef uae4arm - when kickstarts was a symlink on updated system configure would delete the roms - check first 2016-08-28 16:18:51 +01:00
Jools Wills
7b66cfe3b9 uae4arm - put the libmpeg123 dependency in the correct module! 2016-08-22 22:30:37 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
5dd3d2f9e9 uae4arm - rework install / move config folders to $md_conf_root/uae4arm 2016-07-20 21:52:55 +01:00
HerbFargus
2305567978 cosmetic 2016-06-11 00:20:29 -06: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
f557af5ccb modular changes
* move some more standalone emulators to optional packages
2016-06-06 22:08:36 +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
50af7d4598 incorrect isPlatform check for uae4arm (should check for rpi1) 2016-02-07 11:10:05 +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
bca51a3099 move uae4arm out of experimental 2015-10-20 21:35:05 +01:00
Jools Wills
803446b055 no need for runcommand in uae4all/uae4arm launch scripts (launched via runcommand from ES) 2015-10-15 01:42:29 +01:00
Jools Wills
a7e0db87e2 updated uae4arm build script with rpi1/rpi2 support (relying on makefile changes pushed upstream) 2015-10-14 23:40:06 +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
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
1f694ec412 added uae4arm experimental module. thanks to amigagamer for the initial code (slightly modified here) #846 2015-05-31 14:18:37 +01:00