Load CNF-Files from HDD
i have the newest OPL sources on my Ubunut machine and i can compile it without problem.
i would like to modify OPL so that it reads all it's configs from its HDD partition(in my case"PP.SLPM-12345.OPL.OPL").
but i lack proper c++ skills to make the needed changes myself.
i dont think changing the " static char configPath = "mc?:SYS-CONF/IPCONFIG.DAT"; " alone will work.
but anyway, thanks for anyone who can help me.
With the latest revision you can already do that (after tenth code modification ...).
We call it "alternate device mode". OPL can read all the configuration files from the "+OPL" partition directly.
The easiest way to setup it, is to manually move the conf_opl.cfg to your "hdd0:+OPL" partition using uLaunchElf for example.
You can let the MC plugged, but there must NOT BE any conf_opl.cfg on it and it must be one on the +OPL partition.
In that case, OPL will take the +OPL partition as reference for loading/saving every other configuration files.
I just fixed a bug related to this feature, so use the R607 binary I posted on the other thread ("R606 - need testing"), as I can't commit on bitbucket for the moment.
sounds pretty good, thanks!
but i would need a special compiled version, changing the "+OPL" partition to "PP.SLPM-12345.OPL.OPL", i need that for the HDD-OSD/BB-Navigator.
In src/hddsupport.c, change the base path to whatever you need:
const char *oplPart = "hdd0:+OPL";
const char *oplPart = "hdd0:PP.SLPM-12345.OPL.OPL";