Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus
#3
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):


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
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13
Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus39