Closed JonasDeipenbrock closed 3 years ago
Since it isn't guaranteed that someone will have a custom .set file in their project/solution directories, I don't think we'll add something like this to the python patch script. You have a couple options though:
std::ofstream YourFile(gameWrapper->GetBakkesModPath() / "plugins" / "settings" / "YourFile.set");
Since you're using git, option 2 might work better. For example, in my RotationTrainer plugin, I generate the settings file when the plugin loads. OnLoad: https://github.com/CinderBlocc/RotationTrainer/blob/main/RotationTrainer/Plugin/RotationTrainer.cpp#L51 Generator: https://github.com/CinderBlocc/RotationTrainer/blob/main/RotationTrainer/Plugin/SettingsFileGenerator.cpp
Would be a small time saver for all the people working with git, especially when working with multiple setting tabs.