Loading NSB files from outside of working directory
Posted: 14 Apr 2016, 11:51
Hi,
As part of the modding system in UNION I compile XAML files into NSB files at runtime, allowing modders to easily change the game UIs.
With the Noesis build system I can save NSB files anywhere, but within the Noesis API I can only seem to add Resource paths (using GUI.AddResourceProvider()) which are within the current working directory.
As the game will most often be installed in the Program Files directory, which I will not have write access to, I need to be able to load NSB files from a location outside of the working directory (from Application Data for example).
How can I do this?
I'm using the C# API.
Thanks,
Mark
As part of the modding system in UNION I compile XAML files into NSB files at runtime, allowing modders to easily change the game UIs.
With the Noesis build system I can save NSB files anywhere, but within the Noesis API I can only seem to add Resource paths (using GUI.AddResourceProvider()) which are within the current working directory.
As the game will most often be installed in the Program Files directory, which I will not have write access to, I need to be able to load NSB files from a location outside of the working directory (from Application Data for example).
How can I do this?
I'm using the C# API.
Thanks,
Mark