I'm currently updating an old project to 1.12, and love the new simplified structure using ApplicationContext. However, my previous project was using a custom config file, replacing resources.cfg and ogre.cfg. This was implemented at runtime by creating a new root with no file paths, and setting the config options on the render system and adding resource locations to the resource group manager manually.
I'm afraid I'm a little lost on how something like this should be achieved using the ApplicationContext, and I feel like I'm missing something. I realise it's not possible to create a new root after calling:
Code: Select all
I've been exploring the reconfigure function, but can't find any way to prevent it from trying to use the usual .cfg files.
After spending the day on this, I thought it's time to ask for help - apologies if I'm missing something obvious.
Thanks in advance!