2013-06-09, 14:35
(2013-06-09, 14:20)codeseven Wrote: Thanks for the quick response. And yes, that was my bad actually, lol. My actual script is on another PC so I wrote that one up quicker than I should have apparently, hah. I have indeed already changed the filenames accordingly. I went and grabbed the original script from my other PC so you know exactly what I'm working with.Ok so... try to put XBMC Video settings to "True Fullscreen" and Advanced Launcher "Toggle XBMC into Windowed Mode" option to OFF.
Code:#include <Misc.au3>
HotKeySet("{ESC}", "Terminate")
If $CmdLine[0] == 1 Then
_MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
ProcessClose ( "XBMC.exe" )
Run ( '"C:\Users\SATELLITE\Documents\GAMES\EMUs\pcsx2_1.0.0_r5350\pcsx2-r5350.exe" --nogui "' & $CmdLine[1] & '"', "C:\Users\SATELLITE\Documents\GAMES\EMUs\pcsx2_1.0.0_r5350\" )
While 1
Sleep(100)
WEnd
EndIf
Func Terminate()
ProcessClose ( "pcsx2-r5350.exe" )
Run ( '"C:\Program Files\XBMC\XBMC.exe"' )
Exit 0
EndFunc
These are the paths to my various applications:
pcsx2: C:\Users\SATELLITE\Documents\GAMES\EMUs\pcsx2_1.0.0_r5350\pcsx2-r5350.exe
XBMC: C:\Program Files\XBMC\XBMC.exe
pcsx2-launcher.exe: C:\Users\SATELLITE\Documents\GAMES\EMUs\pcsx2_1.0.0_r5350\pcsx2-launcher.exe
Also the only argument I have in the actual Advanced Launcher itself is "%rom%"
It still launches the game fine (although it still includes the GUI, not sure if that's a problem) and closes down XBMC, then when I exit the game (ESC) it loads XBMC up again just fine. The only thing it seems to be doing is putting the "focus" of my windows on "Show Desktop" (the little button in the bottom right of the taskbar).