Jools Wills
89856227b3
runcommand - change log location to /dev/shm/runcommand.log (tmpfs)
2016-08-04 20:17:04 +01:00
Jools Wills
0c39c7438b
runcommand - pass parameters "$system" "$emulator" "$rom" "$command" to onstart/oneend scripts
2016-08-04 20:02:25 +01:00
Jools Wills
8522687c08
runcommand - don't rely on the +Start scripts to be executable (in the case they are moved onto fat32 etc). Launch via bash directly
2016-08-04 14:03:40 +01:00
Jools Wills
71fe2c9062
runcommand - don't try and set refresh rate if tvservice returns 00Hz (as with gert VGA 666)
2016-07-30 19:23:34 +01:00
meleu
4cea2d55bd
user can define __joy2key_dev
...
Same logic as in `helpers.sh`.
Since the `runcommand-onstart.sh` was implemented, the user can define another joystick device to use with joy2key.
2016-07-27 11:16:25 -03:00
Jools Wills
b4e24b0786
runcommand - remove old compatibility code
2016-07-27 13:50:19 +01:00
Jools Wills
2c928d2cfa
runcommand - added support for running $configdir/all/runcommand-onstart.sh / runcommand-onend.sh when launching
2016-07-27 13:46:03 +01:00
Jools Wills
14daf4d476
runcommand - don't try and get framebuffer details if running from X
2016-07-21 01:13:37 +01:00
Jools Wills
e9c5357948
standardise some of our ini file format / delimiter (will still read old values - and is less fussy this way)
2016-07-19 01:03:49 +01:00
Jools Wills
0951d9d358
save the previous CPU governor first in runcommand.sh before setting, as setting any cpuX governor will set all cpu governors on the RPI, which will end up saving the wrong values
2016-05-04 23:26:47 +01:00
Jools Wills
c2e07debbc
some more error checking in joy2key.py
2016-04-20 00:43:35 +01:00
Jools Wills
706c7a129c
cosmetic - add joy2key.py licence / trailing spaces
2016-04-20 00:34:06 +01:00
Jools Wills
7dcb4d0523
make runcommand support loading emulator commandlines from $configdir/ports/$port
2016-03-25 03:32:07 +00:00
Jools Wills
ca06baf44a
default runcommand retroarch render resolution to config file instead of overriding by default. on rpi2/3 this would be
...
the video output resolution by default, or 640x480 or less on the rpi1
can be switched from the configuration editor, so the runcommand overriding is now more useful, and is done on a per emulator / rom basis
2016-03-16 15:14:52 +00:00
Jools Wills
cdafd29265
unneeded code
2016-03-05 15:03:30 +00:00
Jools Wills
4e0341ad49
use /tmp/retroarch for unpacked files (create / remove it from runcommand as needed) fixes #1323
2016-03-05 00:02:07 +00:00
Jools Wills
251e11f1c3
fix render res list in runcommand after addition of new mode and avoid this in future by using O / C for output / config file resolution options
2016-03-04 21:32:57 +00:00
Jools Wills
dfacb4fee0
added 800x600 to runcommand retroarch render resolutions
2016-03-04 21:32:57 +00:00
Jools Wills
4c0bfcb28d
only check for images if use_art is enabled
2016-02-29 13:06:35 +00:00
Jools Wills
3d657ea35a
support png images in runcommand
2016-02-29 13:00:45 +00:00
Jools Wills
3ef32eaa83
fix "dont_launch" in runcommand (was getting return of wrong command due to additions)
2016-02-26 20:19:54 +00:00
gizmo98
eea1e7087c
runcommand.sh: fix wrong fb_res restore
...
If overscan is enabled `fb_res_h = display_res_h - overscan_r
-overscan_l` and `fb_res_v = display_res_v - overscan_t -overscan_b`.
It is false to use display resolution. Just store original fb
resolution and use this value.
2016-02-21 11:38:01 +01:00
Jools Wills
de41194658
check for fbi when reading config
2016-02-17 10:15:01 +00:00
Jools Wills
d3cf844363
check for artwork to display in rom folder first
2016-02-17 10:04:10 +00:00
Jools Wills
4c4e60283b
enable cursor for runcommand menu / configuration
2016-02-14 11:11:19 +00:00
Jools Wills
17cca5f5f3
runcommand joy2key fixes - didn't stop joy2key when not entering menu
...
check for joystick disabled in joy2key function to simplify logic
2016-02-05 12:22:18 +00:00
Jools Wills
715346b0a1
clear after launching command
2016-02-05 05:59:44 +00:00
Jools Wills
452f978f9f
logic changes and remove reset for now as it may not be needed
2016-02-05 05:58:08 +00:00
Jools Wills
cd0db8224c
turn off cursor (but turn it back on for terminal or non retropie system apps)
2016-02-05 05:45:58 +00:00
Jools Wills
54c90d89b5
enable joystick control when no default app is set in runcommand
2016-02-05 05:34:10 +00:00
Jools Wills
1359fa4dd9
move some runcommand.sh code into functions
2016-02-05 05:33:00 +00:00
Jools Wills
7fa22e7a6a
avoid using sudo for fbi, and show for 2 seconds. now will wait before loading, which avoids issues with sdl programs like scummvm
2016-02-04 19:46:39 +00:00
Jools Wills
6003fe99be
generate config for runcommand launch dialog with defaults (no colour) as blue background is strong.
2016-02-04 07:55:47 +00:00
Jools Wills
0af91edb61
remove -e (that enabled fbi edit mode)
2016-02-04 07:06:56 +00:00
Jools Wills
9fcdbc23fe
if the menu is disabled, make sure the joystick input is too
2016-02-04 06:59:38 +00:00
Jools Wills
a50e2c6602
show rom name + emulator when launching
2016-02-04 06:54:56 +00:00
Jools Wills
9b87f2e3d2
add option to disable pre-launch menu completely (includes launcher dialog - but art will show if left enabled)
2016-02-04 06:45:13 +00:00
Jools Wills
ef55c47477
2 second delay for pre launch key press check
2016-02-04 06:34:59 +00:00
Jools Wills
b2a09e7474
disable edit mode for fbi and reset terminal before returning to ES
2016-02-04 06:29:55 +00:00
Jools Wills
dc4c76463c
add default runcommand config on install if it doesn't exist
...
allow disabling of joystick in pre launch menu
2016-02-04 05:08:38 +00:00
Jools Wills
bc54500c9b
run fbi for 5 seconds, so it exits gracefully, rather than having to kill it
2016-02-04 04:47:57 +00:00
Jools Wills
293172d95b
don't show any output/errors from fbi
2016-02-04 04:09:26 +00:00
Jools Wills
6ede3f07dc
ability to show ES artwork before emulator launch
2016-02-04 03:59:31 +00:00
Jools Wills
ca8fe11033
handle launching console/terminal apps by using a command prefix of CON: in which case don't redirect stdout to the log (or we wouldn't see anything printed on the screen)
2016-02-04 03:15:53 +00:00
Jools Wills
fb38ffbb78
use infobox when launching emulator
2016-02-04 02:43:47 +00:00
Jacek Sowiński
ce18642013
Use safer range expression in get_save_vars
...
a-Z depends on LC_COLLATE or LC_ALL and can produce weird bugs if user
have set there something other than what we're using by default.
a-zA-Z should work just everywhere.
Fixes #1166 and mcobit/retrosmc#14
2016-01-05 20:33:38 +01:00
Jools Wills
db09ea9750
only reset framebuffer if it was changed. previously we always restored it as some emulators left it in an unusable state - ideally we need to fix up those emulators as resetting the framebuffer causes other problems
2016-01-04 23:15:41 +00:00
Jools Wills
2f94b6dbad
can't use "mode" variable as it is a global array
2016-01-04 03:45:50 +00:00
Jools Wills
aa6f5820ec
remove some more errors outputted when tvservice is missing
2016-01-04 03:42:53 +00:00
Jools Wills
caed4662dd
check has_tvs before running switch_mode function
2016-01-04 03:38:59 +00:00