02-28-2014, 11:36 AM
(This post was last modified: 03-23-2014, 01:42 AM by jackyyn308.)
in some case,I would like to auto load the ps2 image from xbmc,however,can not load ps2 image or dvd with "--nogui " options
this is the following code,I need to practise in my pc
HotKeySet("{ESC}","Solo_Switch")
If $CmdLine[0]==1 Then
$AlcoholDir=@ProgramFilesDir & "\Alcohol Soft\Alcohol 120"
$xbmcDir="H:\Programs\XBMC"
$Pcsx2Dir="H:\Programs\PCSX2"
$application="H:\Programs\Pcsx2\pcsx2-r5907.exe"
$ROM=$CmdLine[1]
ProcessClose("xbmc.exe")
RunWait(@ComSpec & ' /c axcmd 0: /m:' & '"' &$ROM& '"',$AlcoholDir,@SW_HIDE)
Run($application &" --nogui --fullboot --fullscreen --usecd")
While 1
Sleep(100)
WEnd
EndIf
Func Solo_Switch()
Run($Pcsx2Dir&"\pcsx2-killer.bat")
Run(@ComSpec & ' /c axcmd 0: /u',$AlcoholDir,@SW_HIDE)
Run($xbmcDir &"\XBMC.exe -p -f -d -1")
WinWaitActive("XBMC")
Send("{F2}")
Exit 0
EndFunc
----------------------------------------------------------------
Thank you for your answer,the problem about "--nogui " options,when i execute this command from cmd as the following snap,the pcsx2-r5904 will work normally
[attachment=49285]
however,from the svn version of r5907,I execute the same command,it can not do anything or a error message what i know,as the following snap,the pcsx2-r5907 / r5908 / r5911 / r5918 has the same issue can not load ps2 cd or image with the comand line options "--nogui ",hope the pcsx2 code track it,Thanks
[attachment=49286]
---------------------------------------------------------------------------------------------------
hey, some issues for later svn version of pcsx2 r5911,that is the command line option "--nogui" could not be executed when i load game images without any pcsx2 GUI. for example,i execute the command line "pcsx2 --nogui --fullscreen --fullboot --usecd",the run command will work normally for pre version of pcsx2 r5904,however,for the later version of r5911,it could not do any thing,and proccess still exists in memory.
by the way:my computer infos
PCSX2 1.3.0.r5918 - compiled on Feb 28 2014
Savestate version: 0x9a0a0000
Host Machine Init:
Operating System = Microsoft Windows 7 (build 7600), 64-bit
Physical RAM = 4045 MB
CPU name = Intel® Core i5-3470 CPU @ 3.20GHz
Vendor/Model = GenuineIntel (stepping 09)
CPU speed = 3.208 ghz (4 logical threads)
x86PType = Standard OEM
x86Flags = bfebfbff 7fbae3ff
x86EFlags = 28100000
x86 Features Detected:
MMX.. SSE.. SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX
Reserving memory for recompilers...
Loading plugins...
Binding GS: H:\Programs\PCSX2\plugins\GSDX-Cutie-AVX-r5206m.dll
Windows 6.1.7600
NVIDIA GeForce GT 630 (9.18.13.3489)
Binding PAD: H:\Programs\PCSX2\plugins\lilypad-r5864.dll
Binding SPU2: H:\Programs\PCSX2\plugins\SPU2-X-r5764.dll
Binding CDVD: H:\Programs\PCSX2\plugins\cdvdPeops.dll
Binding USB: H:\Programs\PCSX2\plugins\USBnull-r5764.dll
Binding FW: H:\Programs\PCSX2\plugins\FWnull-r5764.dll
Binding DEV9: H:\Programs\PCSX2\plugins\DEV9null-r5764.dll
Plugins loaded successfully.
(GameDB) 9653 games on record (loaded in 204ms)
this is the following code,I need to practise in my pc
HotKeySet("{ESC}","Solo_Switch")
If $CmdLine[0]==1 Then
$AlcoholDir=@ProgramFilesDir & "\Alcohol Soft\Alcohol 120"
$xbmcDir="H:\Programs\XBMC"
$Pcsx2Dir="H:\Programs\PCSX2"
$application="H:\Programs\Pcsx2\pcsx2-r5907.exe"
$ROM=$CmdLine[1]
ProcessClose("xbmc.exe")
RunWait(@ComSpec & ' /c axcmd 0: /m:' & '"' &$ROM& '"',$AlcoholDir,@SW_HIDE)
Run($application &" --nogui --fullboot --fullscreen --usecd")
While 1
Sleep(100)
WEnd
EndIf
Func Solo_Switch()
Run($Pcsx2Dir&"\pcsx2-killer.bat")
Run(@ComSpec & ' /c axcmd 0: /u',$AlcoholDir,@SW_HIDE)
Run($xbmcDir &"\XBMC.exe -p -f -d -1")
WinWaitActive("XBMC")
Send("{F2}")
Exit 0
EndFunc
----------------------------------------------------------------
(03-01-2014, 03:19 PM)rama Wrote: Please download the revisions 5904 to 5911 from this site and test all of them:
http://buildbot.orphis.net/pcsx2/
Tell us where it started crashing.
Thank you for your answer,the problem about "--nogui " options,when i execute this command from cmd as the following snap,the pcsx2-r5904 will work normally
[attachment=49285]
however,from the svn version of r5907,I execute the same command,it can not do anything or a error message what i know,as the following snap,the pcsx2-r5907 / r5908 / r5911 / r5918 has the same issue can not load ps2 cd or image with the comand line options "--nogui ",hope the pcsx2 code track it,Thanks
[attachment=49286]
---------------------------------------------------------------------------------------------------
hey, some issues for later svn version of pcsx2 r5911,that is the command line option "--nogui" could not be executed when i load game images without any pcsx2 GUI. for example,i execute the command line "pcsx2 --nogui --fullscreen --fullboot --usecd",the run command will work normally for pre version of pcsx2 r5904,however,for the later version of r5911,it could not do any thing,and proccess still exists in memory.
by the way:my computer infos
PCSX2 1.3.0.r5918 - compiled on Feb 28 2014
Savestate version: 0x9a0a0000
Host Machine Init:
Operating System = Microsoft Windows 7 (build 7600), 64-bit
Physical RAM = 4045 MB
CPU name = Intel® Core i5-3470 CPU @ 3.20GHz
Vendor/Model = GenuineIntel (stepping 09)
CPU speed = 3.208 ghz (4 logical threads)
x86PType = Standard OEM
x86Flags = bfebfbff 7fbae3ff
x86EFlags = 28100000
x86 Features Detected:
MMX.. SSE.. SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX
Reserving memory for recompilers...
Loading plugins...
Binding GS: H:\Programs\PCSX2\plugins\GSDX-Cutie-AVX-r5206m.dll
Windows 6.1.7600
NVIDIA GeForce GT 630 (9.18.13.3489)
Binding PAD: H:\Programs\PCSX2\plugins\lilypad-r5864.dll
Binding SPU2: H:\Programs\PCSX2\plugins\SPU2-X-r5764.dll
Binding CDVD: H:\Programs\PCSX2\plugins\cdvdPeops.dll
Binding USB: H:\Programs\PCSX2\plugins\USBnull-r5764.dll
Binding FW: H:\Programs\PCSX2\plugins\FWnull-r5764.dll
Binding DEV9: H:\Programs\PCSX2\plugins\DEV9null-r5764.dll
Plugins loaded successfully.
(GameDB) 9653 games on record (loaded in 204ms)