Single-player/Locally hosted environments will always use mod storage
Auto migration from mod storage to profile storage
Auto detection of profile folder location (Windows+Linux)
Simplified function detection (using std::string and trim)
Simplified file manager (using std::filesystem)
Moved general methods to new utility unit
Wow, this was a ride. So the Arma3 Profile wiki page is completely inadequate and just wrong in most cases. Turns out Arma does so bad things with the command line input (incorrect unicode interpretation etc).
I don't expect anyone would have time for this haha. But it was fun emulating how Arma 3 deals with the -name and -profiles command line arguments on Linux and Windows.
It does require further testing (mainly on Windows - eg with different account names and omitting -name arg. Pretty sure Arma 3 just uses windows account name though I need to see if arma converts that name too as it does for names specified via the command line).
Gunna go out into the sun and find some grass for a while, I'll come back to t his later but I'll leave it here in case anyone is interested.
Changelist:
Wow, this was a ride. So the Arma3 Profile wiki page is completely inadequate and just wrong in most cases. Turns out Arma does so bad things with the command line input (incorrect unicode interpretation etc).
I don't expect anyone would have time for this haha. But it was fun emulating how Arma 3 deals with the -name and -profiles command line arguments on Linux and Windows.
It does require further testing (mainly on Windows - eg with different account names and omitting -name arg. Pretty sure Arma 3 just uses windows account name though I need to see if arma converts that name too as it does for names specified via the command line).
Gunna go out into the sun and find some grass for a while, I'll come back to t his later but I'll leave it here in case anyone is interested.