Commit graph

71 commits

Author SHA1 Message Date
Jools Wills
a5307e3bf9 update dosbox and rpi86 to use addSystem. Put in workaround for their independent launch scripts, so launching
+Start DOSBOX / + Start rpix86 will have the correct default emulator, but so each emulator can be set as default for any exes.
2015-03-24 16:43:47 +00:00
Jools Wills
edb662eb27 use addSystem for cpc/dosbox - move extensions/name to platforms.cfg. 2015-03-24 15:33:44 +00:00
Jools Wills
f30d8e498f move dosbox configs to the new location, and symlink old ~/.dosbox folder. 2015-03-19 18:24:43 +00:00
Jools Wills
eafd2122b4 fixed double run of runcommand for dosbox
adjust launch script and es command so you can launch dosbox with command prompt or a game as a parameter
rename launch script with + so it is listed at the top
2015-03-10 00:03:42 +00:00
Jools Wills
eb896bb351 enable armv7 optimisations for dosbox
remove scaler settings for when dispmanx on/off as 320x240 will now work on fb without a black screen with our fixed sdl.
2015-02-15 23:54:03 +00:00
Jools Wills
231051ccad styleguide changes:
* add newline to end of main scripts
2015-01-11 17:32:20 +00:00
Jools Wills
641178f761 styleguide changes:
* [ ] -> [[ ]]
  * [ a = b ] -> [[ a == b ]]

note asplashscreen script left with [ ] as it doesn't specify bash directory
2015-01-11 17:11:11 +00:00
Jools Wills
f937baa863 rename checkNeededPackages to getDepends 2015-01-08 22:03:12 +00:00
Jools Wills
c1de1fb616 run dosbox under correct user to get config path 2015-01-04 22:03:42 +00:00
Jools Wills
0d04d5b314 check for dosbox config before trying to set defaults in it 2015-01-04 15:03:16 +00:00
Jools Wills
5879aebaa8 Revert "just hardcode the dosbox configuration path - if we need to update it we can. Otherwise if dosbox is missing for any reason"
This reverts commit 9f524c64fa.

forgot that the previous code also generates a default config - so we need to keep it, but I will check before doing the ini setting
2015-01-04 14:57:05 +00:00
Jools Wills
9f524c64fa just hardcode the dosbox configuration path - if we need to update it we can. Otherwise if dosbox is missing for any reason
a fatal error is thrown - which was added to pick up problems with the script/ini setting functionality
2015-01-03 22:16:21 +00:00
Jools Wills
32419850b9 reworked ini/config setting to reduce copy/paste and make the calling simpler. Since the most common usage is to change a few configuration
values at once, we now have a iniConfig function that sets up the delimiter type (such as "=" or " = "), the value quote
character (often "" nothing or "\"" a single quote) and the filename. you can then just call "iniSet" or "iniUnset" with two parameters
for key and value. A third parameter can be used in case you wish to use the current ini settings but on a different file. We should now easily
be able to handle any key/value configs whilst keeping the code simple/compact
2015-01-03 13:38:57 +00:00
Jools Wills
76fcbae3ed enhance the dispmanx configuration. Any emulators that can be configured just need a flag "dispmanx" set (in rp_module_flags). they will
then appear in the dispmanx module configuration. That has also been enhanced and shows a single entry for each emulator that is
configured for dispmanx, along with the current status (which was not shown before). A module can also have an additional
configuration section in case enabling / disabling use of dispmanx sdl also needs some other configuration changes
2015-01-02 18:03:46 +00:00
Jools Wills
19b5bf828c ditched fastdosbox emulator - http://www.raspberrypi.org/forums/viewtopic.php?p=662228#p662228
switch to dosbox svn - and manually enable dynamic recompilation.
add configuration for dispmanx to dosbox, and use runcommand
2015-01-02 02:13:54 +00:00
Jools Wills
85cc687a0c remove dosbox emulator #536 2014-12-29 15:45:35 +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
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
Florian
46077accfe ES system settings are set individually for each system (issue #403) 2014-08-02 10:44:41 +02:00
Jools Wills
c272a3a4ef split out emulators and libretro cores into separate module files - supplementary modules still to do
add functions for registering/loading the modules
2014-07-20 19:41:17 +01:00