Summed up, I have variants of a file that contextually need to get loaded by Persona Essentials, and I want to choose which variant is loaded based on user choice in the "Configure Mod" menu of my mod.
My naive attempts of simply copying the respective file to the appropriate location is causing Reloader-ii to crash. Seems like it read locks files. I can successfully create
new files in the mod directory, but File.Copy throws exceptions. Not sure if there's proper ways to use the API or swapping files at specific times where it's safe to do so.
Does anyone know of a sane way to do something like this? I'm guessing I will likely need an entirely different approach here, but wanted to check before going that route.
Thanks in advance.