You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
After setting up the FAF client using the tutorial from Tatsu, I discovered that the documents folder where FAF puts it's downloaded files (maps, mods), is taken from the XDG config which is defined in ~/.config/user-dirs.dirs
What does this do? Well, if you store your personal documents in a different directory then where you store your Wine documents, you'll not be able to use any mods or downloaded maps. In my case, FAF stored the map in /mnt/userdata/documents and not in /home/documents
You could test this by changing the XDG reference on your machine. I used Ubuntu 18.04 when I discovered this issue.
workaround
I made a symlink from the /mnt/userdata folder to the /home/doocuments folder. Alternatively, you could also copy-paste all files, but that gets pretty labour intensive.
proposed fix
The most robust way, would be to ask WIne where the /My documents/ are. That way, it will put the files in the same bottle/prefix as where application is started from.
The text was updated successfully, but these errors were encountered:
Eonfge
changed the title
Linux /documents/ path listens to XDG_DOCUMENTS_DIR
Linux /My Documents/ path listens to XDG_DOCUMENTS_DIR
May 11, 2018
Thanks for the report! I'll look into it when I have time. Since this data is owned by the client, the best solution would probably be to tell the game where to look for the files, if possible.
It seems that the game determines where to look for the files by loading an init_*.lua file (depending on game type), and sadly the paths are hardcoded. The java client generates these files on its own, though I'd prefer to get them from the server and only generate the bare minimum necessary to configure things.
Issue
After setting up the FAF client using the tutorial from Tatsu, I discovered that the documents folder where FAF puts it's downloaded files (maps, mods), is taken from the XDG config which is defined in ~/.config/user-dirs.dirs
What does this do? Well, if you store your personal documents in a different directory then where you store your Wine documents, you'll not be able to use any mods or downloaded maps. In my case, FAF stored the map in /mnt/userdata/documents and not in /home/documents
You could test this by changing the XDG reference on your machine. I used Ubuntu 18.04 when I discovered this issue.
workaround
I made a symlink from the /mnt/userdata folder to the /home/doocuments folder. Alternatively, you could also copy-paste all files, but that gets pretty labour intensive.
proposed fix
The most robust way, would be to ask WIne where the /My documents/ are. That way, it will put the files in the same bottle/prefix as where application is started from.
The text was updated successfully, but these errors were encountered: