Commit graph

71 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
nemo93
70a54c1371 add dosbox-staging - an enhanced modernized dosbox fork to experimental
Adjust dosbox.sh so dosbox-staging can share the configure stage and launch script.
2021-06-28 05:05:50 +01:00
Jools Wills
cf1f3207a8 dosbox - rework configure logic
Re-order configure code to avoid nested if statement and use case/esac for setting vars for dosbox/dosbox-sdl2

Only run setBackend configuration for dosbox
2021-05-11 03:45:11 +01:00
Jools Wills
de4a57ed08 dosbox - switch to using getBackend
Adjust the dosbox launch script to add -fullscreen when launching under X
2021-04-19 03:30:09 +01:00
Jools Wills
b590028119 dosbox / vice - remove subversion dependency as it's installed by RetroPie system depends 2021-02-22 00:43:29 +00:00
Jools Wills
e3b8a2c48b dosbox / vice - added rp_module_repo for these modules that use subversion 2021-02-15 23:54:13 +00:00
Jools Wills
12c30dde7d dosbox - default to dispmanx on rpi4/kms and remove previous overlay / fullscreen config 2020-08-22 05:16:34 +01:00
nemo93
68527b6e1d
dosbox - show larger freesize for C drive for installers that check free space. 2020-04-29 17:38:13 +01:00
Jools Wills
d5c1606c55 dosbox - incorrect $ on i incremement 2020-03-11 10:12:43 +00:00
Jools Wills
208865a096 dosbox - avoid infinite loop on startup if timidity fails 2020-03-11 10:10:33 +00:00
Jools Wills
1a22d113f0 dosbox - don't install sdl1.2 depends for dosbox-sdl2 2020-02-02 00:06:51 +00:00
Conn O'Griofa
30e5b13ef3 dosbox: update to r4252 & enable fkms support 2019-07-04 03:28:35 +01:00
Conn O'Griofa
c2fef36dca dosbox: update to SVN 4194 with joystick patch
Patch via: https://www.vogons.org/viewtopic.php?f=32&t=27452&p=314840
2019-03-10 04:59:17 +00:00
Jools Wills
f474d0fcbd switch to newer package name libpng-dev over libpng12-dev for dependencies.
* allow modules to still use libpng12-dev but show a message for them to be updated
 * change libpng-dev dependency to libpng12-dev for Jessie and older
2018-10-18 19:08:56 +01:00
Conn O'Griofa
4751c259ec dosbox-sdl2: add to experimental
Add experimental DOSBox port with SDL2 & FluidSynth support
Thanks to: https://github.com/duganchen/dosbox

Preliminary findings:
* Performance is roughly equal to vanilla build (~11fps with Quake +timedemo demo1 on both)
* Graphical tearing no longer appears to be present (or is greatly reduced)
* Better scaling of the display to the entire screen
* The blue colour bug when opening the mapper via Ctrl+F1 is no longer present.

Disadvantages:
* CD-ROM emulation is not available due to lack of support in SDL2 (does not affect IMGMOUNT,
  so won't be a problem on Raspberry Pi)
* Mapper and windowed mode does not scale to full screen (but the port is configured to
  use fullscreen by default to mitigate the problem).
2017-12-29 10:04:44 +00:00
Conn O'Griofa
3a81d27f23 dosbox: update to r4006 & cleanups
Changes:
* Update to SVN r4006
* Fetch original source via subversion repository directly
* Clean up functions to allow support for dosbox variants,
  ensure launcher script is removed and prevent config file from
  being generated during uninstall phase.
* Ensure .sh scripts have timidity daemon running when needed
2017-12-29 10:02:47 +00:00
Conn O'Griofa
bb51f73c15 dosbox: implement support for launching via .conf files
This allows users to override the default dosbox configuration,
but the most likely use is to configure the autoexec, such as:

[autoexec]
MOUNT C /home/pi/RetroPie/roms/pc
C:
CD PROGRAM/
LAUNCH.EXE
EXIT

This is the recommend way to configure content, and should also
work with lr-dosbox.
2017-12-23 01:39:54 +00:00
Conn O'Griofa
e6d8bab05b dosbox: implement software MIDI synth support
* Configure DOSbox to use TiMidity/FluidSynth ALSA port for MIDI if a running
  service is detected during installation or if the target is a Pi.
* On Pi, explicitly spawn/kill a TiMidity daemon - but only if an existing
  TiMidity/FluidSynth instance is not already running.

Using timidity is safe on the Pi, as the bcm2835 audio codec supports hardware
mixing on up to 8 substreams. It may be usable on other targets, but we
need to ensure that either hardware mixing or dmix (ALSA software mixer)
is available to avoid sound blocking.
2017-11-15 20:35:51 +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
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
c2fec76e94 cosmetic - remove blank lines from end of files 2017-06-05 15:34:32 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +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
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
superjamie
b4a39c24c0 [dosbox] hide commands and change to c:
When launching DOSBox, the mount of the C drive is visible which looks messy, and it doesn't change to C: drive automatically which is inconvenient.

Use @ to hide the commands from the user, and automatically change to the mounted C: drive.

The MOUNT command message displays the mounted path so there is no loss of information about where DOSBox has gotten the C drive from.
2016-07-23 22:29:21 +10: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
115dbf0205 modular changes -
* basic remove support for modules - uses the existing configure function but sets md_mode to remove, which is used by
   addSystem to remove systems and moveConfigFile/moveConfigDir to remove symlinks. Will not remove any configs from $configdir
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
89d4b03bdd use md_conf_root in modules when referencing configs for the particular module 2016-03-26 15:28:15 +00:00
Jools Wills
ad2da0dbf6 enable dosbox for x11 platforms 2016-02-07 12:51:51 +00:00
Jools Wills
184dda8c8e use !mali instead of !odroid 2016-01-17 00:36:03 +00:00
Jools Wills
c6227de342 no need to check for odroid in dosbox arm7 build code as the module is disabled 2016-01-04 23:26:27 +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
d4e827c6e4 moveConfigDir makes the destination directory, so we don't have to create it in the modules 2015-12-03 04:47:54 +00: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
8114e9140d use array for parameters in dosbox script, and remove runcommand as it is launched via runcommand from ES 2015-11-29 19:48:17 +00:00
Jools Wills
15b311ebf8 no longer need to handle the case where the Start DOSBox / rpi86 script has itself sent as a parameter (+Start scripts are specially handled by runcommand) 2015-10-22 18:36:48 +01:00
Jools Wills
b885ee3439 remove emulato switch hacks for dosbox/rpix86 2015-10-15 01:40:03 +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
e077bb7b4b use regexp for matching dosbox launch script 2015-05-31 18:10:45 +01:00
Jools Wills
b13615672f allow launching shell scripts via the dosbox launcher for custom configs etc - #815 2015-05-31 18:02:04 +01:00
Jools Wills
fe4608f41f fix initial permissions on dosbox config folder creation, so default config file can be created. 2015-04-07 12:47:32 +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