2011-02-02, 14:21
Woah, nice work Angelscry!! Thanks for that.
I'd tried fr500's suggestion of using a shortcut, which has the working directory the same as the emulator's, but unfortunately I can't seem to add a shortcut as a File Launcher in Advanced Launcher. Is it even possible to use an .lnk file as a File Launcher?
I've not had chance to try out your script yet, but i will give it a try later when i'm back from work.
Just something i spotted though - in the latest version of PCSX2, there is an option in the 'speedhacks' section that kills PCSX2 when you press the escape key, so that part of your AutoIT script may be unecessary. I suspect the reason why PCSX2 is still running when you were testing it is is because you may have been using the --nogui argument & so when you pressed 'escape' it took you out of the game, but didn't provide you with the GUI to close the emulator down with (although it was still running in the background). So therefore XBMC wouldn't pop back up again.
The main problem for me was just the fact that XBMC cannot seem to pass on the argument commands to auto run an .ISO within PCSX2, which it seems is related to XBMC not opening PCSX2 within it's working directory, as both you & fr500 have mentioned. But if this script fixes this problem, then i'd be delighted with that.
Cheers again for your help
I'd tried fr500's suggestion of using a shortcut, which has the working directory the same as the emulator's, but unfortunately I can't seem to add a shortcut as a File Launcher in Advanced Launcher. Is it even possible to use an .lnk file as a File Launcher?
I've not had chance to try out your script yet, but i will give it a try later when i'm back from work.
Just something i spotted though - in the latest version of PCSX2, there is an option in the 'speedhacks' section that kills PCSX2 when you press the escape key, so that part of your AutoIT script may be unecessary. I suspect the reason why PCSX2 is still running when you were testing it is is because you may have been using the --nogui argument & so when you pressed 'escape' it took you out of the game, but didn't provide you with the GUI to close the emulator down with (although it was still running in the background). So therefore XBMC wouldn't pop back up again.
The main problem for me was just the fact that XBMC cannot seem to pass on the argument commands to auto run an .ISO within PCSX2, which it seems is related to XBMC not opening PCSX2 within it's working directory, as both you & fr500 have mentioned. But if this script fixes this problem, then i'd be delighted with that.
Cheers again for your help