Linux Flatpak: ModernGUI folder capitalization causes multiplayer compatibility failure
Environment
Both had 0 A.D. 0.28.0
I had Linux, Flatpak installation. The other player had Windows version. I have also tried 0ad AppImage and Lutris installation, so the problem is not related to Flatpak.
ModernGUI R28, alongside Community Mod and Community Maps 2
Problem
After downloading and enabling ModernGUI through the in-game mod manager, two directories appeared in the mods folder:
ModernGUI — contained the mod files (mod.json and mod.zip)
moderngui — empty
Both players had the same mods and versions, but the multiplayer lobby reported incompatible mods, despite the installed and required mod lists matching. The tooltip was saying we have identical mods, their versions, and their order.
The mod.json contains:
{
"name": "ModernGUI",
"version": "0.28.78",
"ignoreInCompatibilityChecks": true,
"dependencies": ["0ad=0.28.0"]
}
Workaround that fixed it
Since the other player in their in-game mod manager had ModernGUI entry look like "moderngui"(lowercase) in their folder column, I copied the contents of ModernGUI into moderngui, selected the lowercase moderngui entry in the in-game mod manager, and the multiplayer compatibility check passed. We were then able to play together.
Question
Why does the game create both uppercase and lowercase directories for this mod? Is this a ModernGUI packaging/installation issue or a 0 A.D. Linux/Flatpak mod-discovery issue? Could the folder-name mismatch cause the game to load or compare the wrong mod entry, despite ignoreInCompatibilityChecks: true?
I can provide further details if needed.