2016-10-10, 22:41
(2016-10-04, 20:04)brazen1 Wrote: As hardware, firmware, and software evolve, so has the setup for Nvidia.
This setup is 100% reliable and continues to perform perfectly imo and no reason anyone else's can't as well.
brazen1,
Before I begin to redo my setup and implement your instructions, I have 2 questions:
i. I do not have a 4K system for now. It's all 1080p. The HTPC (nVidia GTX 1080), Epson 5010 3D 1080p Projector, Yamaha RX-A2000 Receiver. That being the case, do I still need to implement the qres/refreshratechanger js implementations as defined in the following:
(2016-10-04, 20:04)brazen1 Wrote: 4k users will be using an additional JScript code to switch refresh rates appropriately. Here's how to do it:
google qres.exe or just get it from http://www.majorgeeks.com/files/details/qres.html
Create a folder in your User/Documents folder and name it RefreshRateChanger. Put QRes.exe inside it. Create .txt file and rename to switch.js in the same RefreshRateChanger folder. Edit in this code:
Code:(function() {
var refreshRate = 0;
// Get current refresh rate
var wmiService = GetObject('WinMgmts://./root/cimv2');
refreshRate = new Enumerator(
wmiService.ExecQuery('SELECT * FROM Win32_VideoController WHERE Availability <> 8')
).item(0).CurrentRefreshRate;
if (typeof refreshRate != 'number' || refreshRate === 0) {
WScript.Echo('Duh. Cannot determine current refresh rate.');
} else {
// Run QRes.exe to change refresh rate
var fs = new ActiveXObject('Scripting.FileSystemObject');
var shell = new ActiveXObject('WScript.Shell');
shell.Run(fs.GetAbsolutePathName(fs.BuildPath(
fs.GetParentFolderName(WScript.ScriptFullName), 'QRes.exe')
) + ' /x 3840 /y 2160 /r:' + (refreshRate >= 59 ? 24 : 60), 0, true);
}
})();
I also see references to the above in the PlayISO3D.bat ... would that be required on a non-4K system?
ii. As with my current setup, I'd like to play ALL ISO's, 2D or 3D, blu-ray or DVD, in PowerDVD, and everything ELSE, in KODI. I don't wish to segregate 2D/3D and other video formats in Kodi. I actually made some changes to your original scripts to accomplish this and it works fine for me, but since the refresh rate issue isn't -- I'm starting from scratch -- I just want some advice, what steps/scripts can I skip, considering I'm not segregating 2D/3D and other formats, if I want all ISO's to play in PowerDVD and everything else to play in KODI?
My current Playercorefactory.xml looks like this:
Code:
<playercorefactory>
<players>
<player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\l3viathan\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidekodi>true</hidekodi>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
</players>
<rules action="prepend">
<rule filetypes="iso|bdmv|mpls" player="PowerDVD"/>
</rules>
</playercorefactory>
And my PlayISO.bat looks like this:
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\PowerDVD16\PowerDVD.exe" J:
"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\PowerDVD16\PowerDVD.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\PowerDVD16\PowerDVD.exe" %pth% exit
GOTO end
:end
exit
As you can see, I have nothing in the above to do with Qres/JS/RefreshRateChanger, and I'm not segregating 2D/3D.
Appreciate your help.
Thanks!