2013-01-14, 18:49
(2013-01-14, 17:14)canachi Wrote: Thanks, unfortunately it doesn't work. Again, the movie is mounted and MPC-HC opens, but the movie doesn't start.
I think a delay between the iso being mounted and MPC-HC being launched may solve the problem. I tried using "00000.mpls" and it says that doesn't exist, but when I press "Retry" the movie starts.
Regards
You could add a ping delay before MPC-HC launch, or you can try this bat file, it should wait until the ISO is mounted before launching MPC-HC.
Let me know if it works, I'm assuming your Virtual Drive is D:
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)
:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
:unmounted
IF EXIST D:\BDMV\\. GOTO mounted
GOTO unmounted
:mounted
"C:\Program Files (x86)\MPC-HC\mpc-hc.exe" "D:\BDMV\index.bdmv"
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end
:next
"C:\Program Files (x86)\MPC-HC\mpc-hc.exe" %1 exit
GOTO end
:end
exit