Thanks for making this launcher portable in #364!
However, https://theforceengine.github.io/Documentation.html states:
Note that TFE stores saves, set up info, screenshots, log files, and similar items under Documents/TheForceEngine/. A portable installation option, where all data is kept in the local directory, is planned for the future.
Yet that's not actually true, as:
- By default it also creates
%ProgramData%\TheForceEngine
- If one manually creates an empty
settings.ini inside the launcher's own folder, it stores everything in files and subfolders under the launcher's own folder.
For the former, I believe the culprit is TheForceEngine/TFE_FileSystem/paths.cpp which uses both CSIDL_MYDOCUMENTS and CSIDL_COMMON_APPDATA. It also checks for settings.ini via bool isPortableInstall().
But this is just a request to document that:
- By default it uses
ProgramData\TheForceEngine\ and not just Documents\TheForceEngine\.
- One can create a blank
settings.ini to avoid all that.
Thanks for making this launcher portable in #364!
However, https://theforceengine.github.io/Documentation.html states:
Yet that's not actually true, as:
%ProgramData%\TheForceEnginesettings.iniinside the launcher's own folder, it stores everything in files and subfolders under the launcher's own folder.For the former, I believe the culprit is TheForceEngine/TFE_FileSystem/paths.cpp which uses both
CSIDL_MYDOCUMENTSandCSIDL_COMMON_APPDATA. It also checks forsettings.iniviabool isPortableInstall().But this is just a request to document that:
ProgramData\TheForceEngine\and not justDocuments\TheForceEngine\.settings.inito avoid all that.