Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!R (Storage) Moved storage from mod storage to profile storage #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uniflare
Copy link
Contributor

@uniflare uniflare commented Jun 7, 2022

Changelist:

  • 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.

 - 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant