here is a better batch file to mount iso and play in mpc-hc. it takes file name as input parameter. if the file type is not .iso or .ISO it will pass the file to mpc-hc (for example .mkv). also, you can setup environment variables to configure virtual drive letter, path to mpc-hc and path to virtual clone drive. NOTE: This script could easily be modified to use different players or different mpc-hc settings for different types of files.
EDIT: note that i tried various tests and the only way to get the batch file to work was to compile it to exe. i doubt this has any performance benefit.
this batch file can be compiled to an exe file that will work as an external player with xbmc on windows using a tool such as the one here: http://www.bdargo.com/
if "%MPC_HC_ROM%"=="" SET MPC_HC_ROM=E
if "%MPC_HC_PATH%"=="" SET MPC_HC_PATH=C:\\mplayerc_homecinema
if "%VCD_PATH%"=="" SET VCD_PATH=C:\\Program Files\\Elaborate Bytes\\VirtualCloneDrive
call :GET_FILE_TYPE %SOURCE_D%
if "%FILE_TYPE%"==".ISO" goto PLAY_ISO
if "%FILE_TYPE%"==".iso" goto PLAY_ISO
"%MPC_HC_PATH%\\mpc-hc.exe" %SOURCE_D% /fullscreen /play /close
CALL :MOUNT %MPC_HC_ROM%
CALL :GET_FILE_NAME %SOURCE_D%
IF "%FILE_NAME:~-2%"=="]_" GOTO :PLAY_TRACK
"%MPC_HC_PATH%\\mpc-hc.exe" %MPC_HC_ROM%:\\ /dvd /fullscreen /play /close
"%MPC_HC_PATH%\\mpc-hc.exe" %MPC_HC_ROM%:\\ /dvd /dvdpos %FILE_NAME:~-6,2%#%FILE_NAME:~-4,2% /fullscreen /play /close
"%VCD_PATH%\\VCDMount.exe" /l=%1 %SOURCE_D%
timeout /t 6
if you put the compiled bat file in the folder with mpc-hc the advancedsettings.xml would look like this (note no args).
you can also specify title and chapter in the file name and the script will tell mpc-hc to bypass menus and go to the title/chapter specified. this lets you rip the whole disc as one iso file but still have the option to go straight to a particular episode.
the file name must end with ttcc]_ where tt is title number and cc is the chapter number.
for example, the following file names refrence a whole iso file or one of the 13 chapters in title 3 (title 3 is main title on this disc which has 13 episodes setup as 13 chapters in one title).
on my setup the first iso is a real file, the other 13 are symbolic links created with the mklink command. xbmc cannot tell the difference between a symbolic link and a real file.