Commit graph

57 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
cmitu
c7d4bffeaf openmsx: update to version 19.1
Bumped the repo version to the 19.1 tag, so it's available for Bullseye and later platforms.

A brief description of things added in 19.x (full changelog at https://raw.githubusercontent.com/openMSX/openMSX/RELEASE_19_1/doc/release-notes.txt):

 - bugfixes for VDP and V9990 emulation
 - many improvements on machine and extension descriptions
 - added mapper for RetroHard MultiCart 31 in 1 cartridges
 - implemented (more) I/O port mirroring for S-1985 and S-3527 based machines
  for PSG, VDP, PPI, RTC, printer)
 - added mapper for Al Alamiah 30-in-1 cartridges
 - added mapper for RetroHard MultiCart 31 in 1 cartridges
 - improvements and additions to OSD Menu
 - many bugfixes and improvements to the disk manipulator
 - fixed SaI3xScaler
 - added MIDI input support to ALSA
 - added YM2151 recording to VGM recorder
 - added new machines: Sony HB-11 and Sony HB-F701xx, Polish Spectravideo SVI-738, Victor HC-90A, Nikko PC-70100 (hidden MSX) and Sanyo MPC-10mkII
 - added new extensions: Sunrise IDE with Nextor ROM, Swedish Spectravideo SVI-738, Yamaha SKW-01 Word Processor
2023-10-30 04:01:09 +00:00
cmitu
3f0d39e446 openmsx: bump version to 18.0 and update input config
Updated to the 18.0 release, which requires GCC 9 and it's installable on Debian 11 (bullseye)/Ubuntu 20.04+.

The input auto-loading script has been updated to use the joystick's SDL name, while previously was using the 'udev'
device name. This fixes the issues when the joystick nane (SDL) is different than the 'udev' reported name
and thus prevented the auto-loading.
2023-04-16 04:29:42 +01:00
Jools Wills
90d535028b Don't use compareVersions for GCC version comparisons
gcc -dumpversion on GCC >= 7 seems to provide the major version but the documentation suggests this depends on how it's configured.
We only need to test the major version so using compareVersions isn't required.

https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html states:
>Print the compiler version (for example, 3.0, 6.3.0 or 7)—and don’t do anything else. This is the compiler
>version used in filesystem paths and specs. Depending on how the compiler has been configured it can be
>just a single number (major version), two numbers separated by a dot (major and minor version) or three
>numbers separated by dots (major, minor and patchlevel version).

Ensure __gcc_version only contains the major version just in case in system.sh
2023-03-05 14:09:26 +00:00
Jools Wills
eaa2b72b6f openmsx - lock to RELEASE_17_0 as master fails to build on gcc 8.x
Looks like they may be using newer C++ features than gcc 8.x provides, but this module is better
fixed to a specific version anyway as it's required workarounds for similar issues in the past.
2021-07-23 02:39:29 +01:00
Jools Wills
3a0b470c0e openmsx - added missing dependency for libfreetype6-dev
openmsx sdl2 ttf check failed without this and it also pulls in libpng-dev which satisfies another
openmsx dependency check.
2021-05-31 04:02:31 +01:00
cmitu
f151be6611 openmsx: fix the wrong emulator parameter for model
Turns out `-m` is not a shorthand for `-machine`.
Changed the names emulators shown in runcommand selection, the '+' may be problematic when storing the entry in emulators.cfg
2021-03-02 18:09:46 +00:00
cmitu
945c0166ae openmsx: fix building on Ubuntu 18.04/GCC 7 2021-02-17 14:36:21 +02:00
Jools Wills
4c99509c76 Updating modules to use the new rp_module_repo function hooks
ppsspp was incorrectly changed in 23b154b4 as it uses a subfolder which needs to be specified
2021-02-15 23:54:13 +00: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
cmitu
85883f447c platform/systems - add new supported extensions
* Amiga - new extensions supported by `lr-puae`
* C64 - new extensions supported by `lr-vice`
* 3DO - added `.chd`, supported by the Opera Libretro core; updated license URL for the core.
* GC/Wii - added `.rvz`, supported by Dolphin
* MSX - added `.cas`, supported by both `lr-bluesmsx` and `openmsx`
* PC88 - added `.m3u`, supported by `lr-quasi88`
2021-01-06 20:47:24 +00:00
cmitu
949c8ac72a openmsx: add joystick auto-conf and default settings
* added a joystick auto-configuration for Emulationstation. Joypad mappings:
  * A: MSX controller A; OSD menu : Back
  * B: MSX controller B; OSD menu : Action
  * D-Pad/Left Analog: MSX controller joystick
  * Start - toggle the openMSX OSD menu
  * Select - Show on-screen keyboard
  * Y - MSX F1
  * X - MSX F2
  * Left Trigger - MSX F3
  * Right Trigger - MSX F4

  The joystick's A/B/D-Pad are functional in the openMSX menu, however B is action and A is cancel/back for some reason.

  The joystick is loaded using the `retropie-init.tcl` script, automatically loaded and executed during startup. Per-game overrides are possible, as long as the correct configuration script for a gamepad is found (needs some documentation).

* created a minimal configuration, with some performance optimization for Pi0/Pi1 and configuring a default machine.
  Auto-saving is disabled, because it will save the joystick configuration and it might pose problems when using different joysticks.

* symlinked the configuration folder into `$configdir/msx/openmsx`.
  This is useful for adding new machines/configurations and editing the gamepad auto-configurations.

* symlinked the user's _systemroms_ folder to `$biosdir/openmsx`.
  openMSX uses file hashes to identify firmware files, so the filenames/folder structure is not important.

* added one emulator variation for each major MSX model (MSX2/MSX2+/MSX TurboR)
  They need the appropriate BIOS/firmware files, otherwise they won't run.
  NOTE: there are variations of machines using the open source C-BIOS for each major model, but C-BIOS only supports cartridges, so no tape/disk/floppy images will work.
2020-10-08 18:21:17 +01:00
cmitu
c4100f51c7 openmsx: enable for mali, since it uses SDL2 now 2020-09-14 19:16:16 +01:00
Jools Wills
4ddb7cb24c Adjust GCC comparisons to use major version only to fix version comparing
Older GCC on at least Debian used to output a 3 part version like 6.3.0 with gcc -dumpversion

Newer GCC / OS seems to only output the major version which broke comparisons as dpkg will consider a version such as "6" to be lower than 6.0.0
2020-05-19 20:16:24 +01:00
Jools Wills
6a43eabd43 openmsx - build from older code on gcc < 7 due to latest requiring C++17 2020-02-04 18:51:57 +00:00
Jools Wills
5ba8635f7b openmsx - fix build issues - fixes #2822
* add libasound2-dev dependency
 * increase swap
 * add check to see build is successful
2019-08-28 22:12:00 +01:00
cmitu
e588290b15 openmsx - fix building with new versions relying on SDL2 2019-07-11 14:29:12 +03:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Jools Wills
42fd198875 helpers - added downloadAndExtract function for use in modules
* replace many of the existing wget | tar commands with the new function
 * include error logging in the function via runCmd, to trap download/unpacking issues
2017-08-10 20:45:49 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +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
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
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
c493c22234 openmsx - remove -cart parameter - fixes #1427 2016-04-14 12:19:23 +01:00
Jools Wills
0875a42339 enable openmsx for x86 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
027cf0341f de-duplicate the retroarch archives url 2015-12-20 22:41:47 +00:00
Jools Wills
4ee215ac6a use tar.gz to simplify openmsx module 2015-12-20 22:18:08 +00:00
Jools Wills
d0f35eaf9d switch openmsx to use upstream github repository 2015-12-13 13:59:06 +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
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
4df425c338 CHG: Updated header information 2015-03-28 06:19:16 +01:00
Florian
aab7fbd52d CHG: Added license information to all files 2015-03-27 17:28:38 +01:00
Jools Wills
d41af5a115 switch msx emulators to use addSystem 2015-03-12 02:46:29 +00:00
Jools Wills
231051ccad styleguide changes:
* add newline to end of main scripts
2015-01-11 17:32:20 +00:00
Jools Wills
f937baa863 rename checkNeededPackages to getDepends 2015-01-08 22:03:12 +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
e2f68114b7 install openmsx roms as part of install function 2014-12-24 20:01:59 +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
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
e61baf70c6 reworked openmsx for new build location / system 2014-12-11 22:39:53 +00:00
Jools Wills
df8f73155d changed: use megabytes for both rpSwap memory parameters 2014-12-11 02:42:47 +00:00