Checks for Regkey:
HKLM\SOFTWARE\MikeTheTech\VirtualDisplayDriver\VDDPATH which is a D-word containing the install path. (tested)
if not exist, fall back to install path = C:\\IddSampleDriver (tested)
Next looks in install path for xml, grabs data and starts. If xml is missing, look for options.txt and adapter.txt, if any txt file is missing sane defaults are added.
EDID has HDR data and 1600 nits, and newer names.
NOTE!!!
Any installer should replace %fullpath% with install path:
"reg add "HKLM\SOFTWARE\MikeTheTech\VirtualDisplayDriver" /v VDDPATH /t REG_SZ /d "%fullpath%" /f"
Here is the changes I did to AdapterOptions.xml and Driver.cpp, To read settings xml and insert it into AdapterOptions.H from xmlvalue.
if xml is not found, search for adapter.txt.
if wrong GPU name in either, autoselect the best one (vram based)
loadsettings is meant to replace loadoptions, but is missing alot of code since ths is the order you asked me to present it. So no fallbck for missing xml or options.tx in this pr