where is in source that tells the portable version to put the warzone config folder?
like if I want it to go to documents folder or the user/appdata/roaming folder
thankyou
config file location in code?
config file location in code?
Last edited by dskiller1 on 12 May 2018, 17:22, edited 1 time in total.
Re: config file location in code?
In the function 'initializeConfigDir()', located at './src/main.cpp:340'.dskiller1 wrote:where is in source that tells the portable version to put the warzone config folder? [...]
To determine its location, Warzone 2100 will first attempt to use the PhysFS function PHYSFS_getPrefDir().
Re: config file location in code?
ok thankyou