2015-06-15, 22:29
The files you are about to create/modify are read and launched via Kodi. Some user input is required. Navigate to C:\Users\YOUR NAME APPEARS HERE\AppData\Roaming\Kodi\userdata.
If you do not have an existing playercorefactory.xml, create one. Right click/NEW/Text Document and rename the entire text playercorefactory.xml and not playercorefactory.xml.txt. Right click your new or old playercorefactory.xml and select edit. Copy and paste the following and edit 'YOUR USER NAME GOES HERE' with your name (There are 2 lines to edit):
Create #1 .bat file as you did for the playercorefactory.xml. Name this PlayISO3D.bat and not PlayISO3D.bat.txt. Edit the following text into it and edit the drive letter you assigned to VCD. The example below shows A: presently. Here you can also edit the paths to .exe's if you use any different software. Remove this line of code if you don't use it. "C:\Program Files (x86)\SlySoft\AnyDVD\AnyDVD.exe"
Finally, create #2 .bat. Name it PlayISO2D.bat. Edit the following text into it and edit the drive letter you assigned to VCD. The example below shows A: presently. Here you can also edit the paths to .exe's if you use any different software. Remove these lines of code if you don't use it. "C:\Program Files (x86)\SlySoft\AnyDVD\AnyDVD.exe"
If you do not have an existing playercorefactory.xml, create one. Right click/NEW/Text Document and rename the entire text playercorefactory.xml and not playercorefactory.xml.txt. Right click your new or old playercorefactory.xml and select edit. Copy and paste the following and edit 'YOUR USER NAME GOES HERE' with your name (There are 2 lines to edit):
Code:
<playercorefactory>
<players>
<player name="3D" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\YOUR USER NAME GOES HERE\AppData\Roaming\Kodi\userdata\PlayISO3D.bat</filename>
<args>"{1}"</args>
<hidekodi>true</hidekodi>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="2D" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\YOUR USER NAME GOES HERE\AppData\Roaming\Kodi\userdata\PlayISO2D.bat</filename>
<args>"{1}"</args>
<hidekodi>true</hidekodi>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv|avi" player="VideoPlayer"/>
<rule filename=".*.3D.*|.*.3D.iso|3D.*" player="3D"/>
<rule filetypes="iso|bdmv|mpls|m2ts" player="2D"/>
</rules>
</playercorefactory>
Create #1 .bat file as you did for the playercorefactory.xml. Name this PlayISO3D.bat and not PlayISO3D.bat.txt. Edit the following text into it and edit the drive letter you assigned to VCD. The example below shows A: presently. Here you can also edit the paths to .exe's if you use any different software. Remove this line of code if you don't use it. "C:\Program Files (x86)\SlySoft\AnyDVD\AnyDVD.exe"
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)
:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)
:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
timeout /t 3
"C:\Program Files (x86)\CyberLink\PowerDVD15\PowerDVD.exe" A:
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end
:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" "%pth%" exit
GOTO end
:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" %pth% exit
GOTO end
:end
exit
Finally, create #2 .bat. Name it PlayISO2D.bat. Edit the following text into it and edit the drive letter you assigned to VCD. The example below shows A: presently. Here you can also edit the paths to .exe's if you use any different software. Remove these lines of code if you don't use it. "C:\Program Files (x86)\SlySoft\AnyDVD\AnyDVD.exe"
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)
:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)
:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD15\PowerDVD.exe" A:
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end
:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" "%pth%" exit
GOTO end
:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" %pth% exit
GOTO end
:end
exit