gottyduke / SF_PluginTemplate

Plugin template for SFSE plugins. click "Use this template" to generate your project.
GNU General Public License v3.0
38 stars 9 forks source link

CONFIG_PATH and LOG_PATH don't work as expected in the ASI Loader version #7

Open igromanru opened 9 months ago

igromanru commented 9 months ago

I'm currently porting my mod for the ASI Loader.
I'm using the bink2w64.dll version of the ASI Loader and my mod goes into the (game root dir)/Plugins/ directory.

With both parameter set like in the template:

#define LOG_PATH "Plugins\\"
#define CONFIG_PATH "Plugins\\"

Following happens:

https://github.com/igromanru/SF-Zero-Weight/blob/d1cb5a577a3aa7a2ca52c9b3e840d63dad268ab7/Plugin/src/Settings.hpp#L3

I removed the LOG_PATH define, so the log files gets created in the right directory ( (game root)/Plugins/)