Had to kill mGalaxy with this version of the script.
Then "Deamon Tools" said "wrong command-line".
The version of the script without "scsi" is here :
If $CmdLine[0] == 1 Then
RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount 0,"' & $CmdLine[1] & '"')
RunWait('"F:\Jeux PC [Downloads]\Emulation\PC Engine CD\pce.exe"')
RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount 0')
EndIf
Exit 0
And the version that work on my PC is this one :
If $CmdLine[0] == 1 Then
RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount scsi, 0,"' & $CmdLine[1] & '"')
RunWait('"F:\Jeux PC [Downloads]\Emulation\PC Engine CD\pce.exe"')
RunWait('"C:\Program Files\DAEMON Tools Lite\DTLite.exe" -unmount scsi, 0')
EndIf
Exit 0
The only difference is that the "-mount, 0," is replaced with -mount scsi,0,".
The emulator is working fine with this script for now, but I have to manually load the CD in the emulator, that's why I'm trying to force the -cd option, to have the CD run at the emulator startup.
But unfortunately, just adding "-cd" like that, at the end of the command don't work :
RunWait('"F:\Jeux PC [Downloads]\Emulation\PC Engine CD\pce.exe -cd"')
And adding "-cd" directly in the command line in the "systems.xml" don't work either.
If you want to try and have this emulator, you don't even need a game to try. If you run it with "pce.exe -cd", it'll load the cd boot screen, which is enough to test.
Thanks for your help