Hi everyone,
Just a little question - hoping some of you know that game!
I’ve already searched for a solution, but what I found don’t solve anything.
I don’t see any maps folder, though I see the general one (usr/share/games/0ad). Hidden files check is enabled. No maps, apparently.
I really hate windows, but in these cases I admit I strongly prefer it. Just press search button, and everything’s found. Here is not. I even have to ask such question, because, otherwise, I cant’ succeed to solve it myself!
I don’t play 0 A.D. but here are some basic explanations of how files from softwares are handled on Linux. In the following, when i refer to ~, it’s a shortcut to the user’s homedir.
- Everything is split between the system (that only the admin can manage) and the personal dir of users.
- Data files for softwares can usually be put either at system level and available to all users (but you need to be admin to add them) or in the personal dir of users and will be available only to the user who owns them (but you don’t need to have specific permissions to manage them).
- Dirs are kind of mirrored between the system and the users: data files are usually put in /usr/share at system level and in ~/.local/share at user level. Config files are in /etc (system) or ~/.config (user). This is not an absolute rule, rather guidelines and you’ll see softwares put their personal config for users wherever they fancy (e.g. a hidden dir straight in your home dir rather than in ~/.local/share).
- When data exists in both places, user files have priority on system files.
According to the official site, the personal data for 0 A.D. are indeed ~/.local/share/0ad (data) and ~/.config/0ad (settings). Not sure about maps but maybe they have to be put in ~/.local/share/0ad/maps (create dir if it doesn’t exist)?
What he says is correct.
And on Ubuntu 18.04 LTS I can confirm that custom maps for example should be located in ~/.local/share/0ad/mods/modname/maps where modname is the directory name for the mod.