(2013-03-21, 06:29)Ashex Wrote: I'm hoping to use ePsxe to play games on my Linux-based HTPC, main problem I'm having right now is I use a remote for controlling it so exiting the emulator is proving to be rather difficult.
Does anyone have a suggestion for how I can exit the emulator using the controller or remote?
I'm also using a Linux-based HTPC. To close all the application started from Advanced Launcher I prefer to use the remote rather that the controller. Because it often happen, when you are taken into the action, that you press on a button by mistake... and I do not want to press the "close" button by mistake.
So I'm actually using the STOP button of my IR remote to close applications. For this, you may have
lirc installed on your system to receive IR remote actions and
irexec to assign linux command line to your remote button. Then you just have to create a ~/.lircrc file where you will assign the linux command line. Here is how actually look my .lircrc file :
Code:
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 snes9x-gtk
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall chromium
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 mednafen
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 mupen64plus
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 yabause
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 pcsx
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 lxdream
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 sdlmame
end
begin
button = KEY_STOP
prog = irexec
repeat = 0
config = killall -9 dolphin-emu
end
The script is relatively simple :
begin (start of the action)
button = KEY_STOP (remote button assigned to the action)
prog = irexec (indicate to use irexec to launch command line)
repeat = 0 (if we need to press several time on the button to start the action)
config = killall -9 dolphin-emu (linux command line to start)
end (end of the action)
(2013-03-21, 06:29)Ashex Wrote: Also being able to make use of save states would be a bonus.
Does epsxe include a command line to support save state file loading at start? Or does epsxe include key shortcut to load/save state file without using the epsxe GUI?
(2013-03-21, 06:29)Ashex Wrote: Edit: Looks like my options are joy2key or xte, since I don't have any spare buttons on the controller I'll see what I can do with xte. That being said, is it possible to have custom button presses inside AdvancedLauncher?
No, Advanced launcher only start applications and will not integrate any feature to control the started application. I'm using the remote the close my applications, but some users may be interested to use bluetooth remote or gamepad to close their application... so it will become quickly a nightmare to manger all the possibilities. By the way... some people use scritps to suspend or close XBMC when they start application... and in this case, Advanced Launcher/XBMC will not have possibility to close the application.