-
Notifications
You must be signed in to change notification settings - Fork 10
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
[ Linux ] Mods installed from vault create a secondary flattened directory structure #34
Comments
still happens for some maps. |
That's because \ is for windows and / is for unix i guess |
Can u pls check if that is the case in the version > v1.0.0 and in old versions, we indeed changed code between that versions |
oh this issue is damn old i thought it was new |
hmm maybe it's fixed. |
It seems this is actually not a bug of the client, but an issue with the zip files/ mods themselves. Upon inspection, https://content.faforever.com/mods/the_dairy_farm.v0005.zip which is downloaded when installing this mod, always contains these weird folders, regardless of the archive manager used on linux. This is not the case for other mods, such as https://content.faforever.com/mods/supreme_score_board.v0002.zip |
Really old mods were packed by the py client, but since a long time that is the job of the java client. So it might be that the time difference between the both make some mods linux compatible and others not. |
Also we could try to hack in that it works for both OSES but this then is a java-commons issue |
The directory split is / on windows on linux it is a valid directoy character so this might explain it. |
Hmm so the queston might also be what causes this mal packaged zips. Seems to be an issue that exists for a long time. Maybe u can find out if it happens especially for mods uploaded a long time ago or also newer mods |
if u let me guess it happens for mod uploaded by load ways |
When a mod is installed from the vault, that mod is put int the Mods directory as you would expect, but the entire directory structure of that mod will also be flattened into the Mods folder with the full path of the structure being the name of the folder. Creating a huge mess of empty folders.
This also causes the client to show that mods are corrupt for every one of these folders in the notifications.
Example:
The text was updated successfully, but these errors were encountered: